AimableDocs
DocsAPI Reference
POST/v1/spaces/{space_id}/collections

Create Space Collection

Create 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.

Path Parameters

NameTypeRequiredDescription
space_idstring (uuid)Required

Headers

NameTypeRequiredDescription
X-API-KeystringOptional

Request

curl -X POST '/api-proxy/v1/spaces/{space_id}/collections' \
  -H 'Authorization: Bearer <YOUR_TOKEN>'

Response

201

No response body documented

Error Responses