Skip to content
Docs
GitHub

Create knowledge

Preview

Give agents persistent memory and versioned file collections. Manage sources, files and optional search indexes.

Public APIEverruns Cloud and self-hosted Platform

POST/v1/knowledge

See authentication for credentials and permissions.

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
Allowed values: off lexical hybrid
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