Create Collection

Create a new collection (idempotent). Returns 201 if created, 200 if already exists.

Path parameters

collection_namestringRequired
Name of the collection to create

Headers

AuthorizationstringRequired
Captain API key for authentication
X-Organization-IDstringRequired
Organization UUID

Request

This endpoint expects an object.
descriptionstringOptional

Response

Collection Already Exists
collection_namestring
collection_idstring
statusstring
messagestring