Create Collection
Create a new collection for organizing document embeddings.
Collections serve as knowledge bases for RAG-enabled features:
- Group related documents together
- Enable contextual AI responses
- Support multiple embedding instances
- Organize information by topic or use case
You can add documents to the collection after creation.
Authentication
AuthorizationBearer
API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.
OR
AuthorizationBearer
API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.
Path parameters
org_id
The unique identifier of the organization.
project_id
The unique identifier of the project.
Request
This endpoint expects an object.
title
document_embedding_instance_ids
Response
Collection created successfully
title
project_id
id
created
modified
summary
embedding_instances
task_ids
Errors
400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error