/v1/spaces/{space_id}/collectionsCreate a curated, space-visible collection with a server-generated UUID. The generated collection_id is used consistently as: - The DB primary key for collection.id - The filesystem folder name under knowledge_uploads/{collection_id} - The logical collection identifier in the vector store.
| Name | Type | Required | Description |
|---|---|---|---|
space_id | string (uuid) | Required |
| Name | Type | Required | Description |
|---|---|---|---|
X-API-Key | string | Optional |
bodyobjectRequiredX-API-Key: ak.<key_id>.<secret>Authentication & errors →curl -X POST '/api/v1/spaces/{space_id}/collections' \
-H 'X-API-Key: ak.<key_id>.<secret>' \
-H 'Content-Type: application/json' \
-d '{}'No response body documented
X-API-Key: ak.<key_id>.<secret>Authentication & errors →curl -X POST '/api/v1/spaces/{space_id}/collections' \
-H 'X-API-Key: ak.<key_id>.<secret>' \
-H 'Content-Type: application/json' \
-d '{}'No response body documented