collections
Create Collection
Create a new collection in your organization.
Collections are containers for organizing and searching across data from multiple sources. After creation, add source connections to begin syncing data.
The collection will be assigned a unique readable_id based on the name you provide, which is used in URLs and API calls. You can optionally configure:
- Sync schedule: How frequently to automatically sync data from all sources
- Custom readable_id: Provide your own identifier (must be unique and URL-safe)
post/collections
Request body
Example request
{
"name": "Finance Data",
"readable_id": "finance-data-reports"
}Response
Created collection
Example response
{
"created_at": "2024-01-15T09:30:00Z",
"created_by_email": "admin@company.com",
"embedding_model_name": "text-embedding-3-large",
"id": "550e8400-e29b-41d4-a716-446655440000",
"modified_at": "2024-01-15T14:22:15Z",
"modified_by_email": "finance@company.com",
"name": "Finance Data",
"organization_id": "org12345-6789-abcd-ef01-234567890abc",
"readable_id": "finance-data-ab123",
"source_connection_summaries": [
{
"name": "Slack",
"short_name": "slack"
},
{
"name": "GitHub",
"short_name": "github"
}
],
"status": "ACTIVE",
"vector_size": 3072
}