Create knowledge
PreviewGive agents persistent memory and versioned file collections. Manage sources, files and optional search indexes.
POST
/v1/knowledgeSee authentication for credentials and permissions.
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
A file collection with optional indexing, provider selection and path exclusions.
object
description
Human-readable purpose of the collection, available during progressive disclosure.
string
embedding_model_id
Organization embedding model; required when hybrid indexing is enabled.
string | null
indexer_id
Optional organization search account. Omit to use the local index backend.
string | null format: uuid
indexing
Whether files remain unindexed, use keyword search, or also use embedding retrieval.
string
name
required
Collection name; everruns-docs is reserved for the predefined documentation snapshot.
string
rules
Path-glob arrays named ingest_exclude, index_exclude and read_exclude.
Responses
200Created collection
Created collection
Media typeapplication/json
Example generated
example