Skip to content
Everruns Cloud is open in early access. Run agents without operating the platform.

Searchable indexes synced from external sources.

CommandWhat it does
knowledge-indexes createCreate a knowledge index in the current organization.
knowledge-indexes deleteArchive a knowledge index.
knowledge-indexes getGet a knowledge index by ID.
knowledge-indexes listList knowledge indexes in the current organization.
knowledge-indexes syncEnqueue a manual sync of a knowledge index.
knowledge-indexes updateUpdate a knowledge index.
knowledge-indexes documents listList documents inside a knowledge index.

Create a knowledge index in the current organization.

Terminal window
everruns knowledge-indexes create [OPTIONS] --embedding-model-id <embedding_model_id> --name <name>
FlagDescription
--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:

Terminal window
# Index a GitHub repository so agents can search its docs
everruns 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'

Archive a knowledge index.

Terminal window
everruns knowledge-indexes delete [OPTIONS] --index-id <index_id>
FlagDescription
--index-id <INDEX_ID>Required. Knowledge index’s prefixed public identifier.

Example:

Terminal window
# Archive a knowledge index that agents no longer need
everruns knowledge-indexes delete --index-id kidx_01h9 --reason 'Docs moved to a new index'

Get a knowledge index by ID.

Terminal window
everruns knowledge-indexes get [OPTIONS] [INDEX_ID]
FlagDescription
--index-id <INDEX_ID>Knowledge index’s prefixed public identifier.

Example:

Terminal window
# Check a knowledge index's source and sync state
everruns knowledge-indexes get kidx_01h9

List knowledge indexes in the current organization.

Terminal window
everruns knowledge-indexes list [OPTIONS]
FlagDescription
--include-archivedAlso return archived items.
--search <SEARCH>Case-insensitive substring match on name or description.

Example:

Terminal window
# Find a knowledge index by name when you do not know the id
everruns knowledge-indexes list --search docs

Enqueue a manual sync of a knowledge index.

Terminal window
everruns knowledge-indexes sync [OPTIONS] [INDEX_ID]
FlagDescription
--index-id <INDEX_ID>Knowledge index’s prefixed public identifier.

Example:

Terminal window
# Re-index now after the source repository changed
everruns knowledge-indexes sync kidx_01h9 --reason 'Docs updated upstream'

Update a knowledge index.

Terminal window
everruns knowledge-indexes update [OPTIONS] --index-id <index_id>
FlagDescription
--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:

Terminal window
# Point an index at a different branch or folder
everruns knowledge-indexes update --index-id kidx_01h9 --source-config '{"provider":"github","repository":"acme/docs","branch":"main"}' --reason 'Track main instead of the release branch'

List documents inside a knowledge index.

Terminal window
everruns knowledge-indexes documents list [OPTIONS] [INDEX_ID]
FlagDescription
--index-id <INDEX_ID>Knowledge index’s prefixed public identifier.

Example:

Terminal window
# See which documents a sync has indexed
everruns knowledge-indexes documents list kidx_01h9