Create Collection
Create a new collection (idempotent). Returns 201 if created, 200 if already exists.
Headers:
- Authorization: Bearer {api_key} - Captain API key for authentication
- X-Organization-ID: Organization UUID
Returns:
- CollectionResponse with collection details
Path parameters
collection_name
Name of the collection to create
Headers
Authorization
Captain API key for authentication
X-Organization-ID
Organization UUID
Request
This endpoint expects an object.
description
Response
Collection Already Exists
collection_name
collection_id
status
message