Knowledge
Manage the collections and documents that power retrieval (RAG).
A Collection groups embedded documents into a knowledge base. A Task wires a collection into its RAG configuration, and any agent using that task as a tool gets grounded answers from it. Documents are the individual files inside — created inline, uploaded, or synced from a datasource connector.
All endpoints are scoped to an organization and project and require a bearer token. See Authentication.
Two ways to add documents: an asynchronous create (returns a group_id; poll document status until ingestion completes) and a synchronous upload that returns the fully ingested documents. Collections cannot be deleted once created — remove their documents instead.