everruns knowledge-indexes
Applies toFramework (not available)Self-hostedEverruns Cloud
Searchable indexes synced from external sources.
| Command | What it does |
|---|---|
knowledge-indexes create | Create a knowledge index in the current organization. |
knowledge-indexes delete | Archive a knowledge index. |
knowledge-indexes get | Get a knowledge index by ID. |
knowledge-indexes list | List knowledge indexes in the current organization. |
knowledge-indexes sync | Enqueue a manual sync of a knowledge index. |
knowledge-indexes update | Update a knowledge index. |
knowledge-indexes documents list | List documents inside a knowledge index. |
knowledge-indexes create
Section titled “knowledge-indexes create”Create a knowledge index in the current organization.
everruns knowledge-indexes create [OPTIONS] --embedding-model-id <embedding_model_id> --name <name>| Flag | Description |
|---|---|
--description <DESCRIPTION> | Human-readable description. |
--embedding-model-id <EMBEDDING_MODEL_ID> | Required. Embedding model used to embed chunks. |
--name <NAME> | Required. Human-readable name. |
--source-config <SOURCE_CONFIG> | Non-secret source coordinates. |
--source-type <SOURCE_TYPE> | External source type. |
Example:
# Index a GitHub repository so agents can search its docseverruns knowledge-indexes create --name product-docs --embedding-model-id model_01h9 --source-type github --source-config '{"provider":"github","repository":"acme/docs"}' --reason 'Give support agents the product docs'knowledge-indexes delete
Section titled “knowledge-indexes delete”Archive a knowledge index.
everruns knowledge-indexes delete [OPTIONS] --index-id <index_id>| Flag | Description |
|---|---|
--index-id <INDEX_ID> | Required. Knowledge index’s prefixed public identifier. |
Example:
# Archive a knowledge index that agents no longer needeverruns knowledge-indexes delete --index-id kidx_01h9 --reason 'Docs moved to a new index'knowledge-indexes get
Section titled “knowledge-indexes get”Get a knowledge index by ID.
everruns knowledge-indexes get [OPTIONS] [INDEX_ID]| Flag | Description |
|---|---|
--index-id <INDEX_ID> | Knowledge index’s prefixed public identifier. |
Example:
# Check a knowledge index's source and sync stateeverruns knowledge-indexes get kidx_01h9knowledge-indexes list
Section titled “knowledge-indexes list”List knowledge indexes in the current organization.
everruns knowledge-indexes list [OPTIONS]| Flag | Description |
|---|---|
--include-archived | Also return archived items. |
--search <SEARCH> | Case-insensitive substring match on name or description. |
Example:
# Find a knowledge index by name when you do not know the ideverruns knowledge-indexes list --search docsknowledge-indexes sync
Section titled “knowledge-indexes sync”Enqueue a manual sync of a knowledge index.
everruns knowledge-indexes sync [OPTIONS] [INDEX_ID]| Flag | Description |
|---|---|
--index-id <INDEX_ID> | Knowledge index’s prefixed public identifier. |
Example:
# Re-index now after the source repository changedeverruns knowledge-indexes sync kidx_01h9 --reason 'Docs updated upstream'knowledge-indexes update
Section titled “knowledge-indexes update”Update a knowledge index.
everruns knowledge-indexes update [OPTIONS] --index-id <index_id>| Flag | Description |
|---|---|
--description <DESCRIPTION> | Human-readable description. |
--embedding-model-id <EMBEDDING_MODEL_ID> | Embedding model used to embed chunks. |
--index-id <INDEX_ID> | Required. Knowledge index’s prefixed public identifier. |
--name <NAME> | Human-readable name. |
--source-config <SOURCE_CONFIG> | Non-secret source coordinates. |
Example:
# Point an index at a different branch or foldereverruns knowledge-indexes update --index-id kidx_01h9 --source-config '{"provider":"github","repository":"acme/docs","branch":"main"}' --reason 'Track main instead of the release branch'knowledge-indexes documents list
Section titled “knowledge-indexes documents list”List documents inside a knowledge index.
everruns knowledge-indexes documents list [OPTIONS] [INDEX_ID]| Flag | Description |
|---|---|
--index-id <INDEX_ID> | Knowledge index’s prefixed public identifier. |
Example:
# See which documents a sync has indexedeverruns knowledge-indexes documents list kidx_01h9