POST
/
collections
curl --request POST \
  --url https://api.cloudglue.dev/v1/collections \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "collection_type": "entities",
  "name": "<string>",
  "description": "<string>",
  "extract_config": {
    "prompt": "<string>",
    "schema": {},
    "enable_video_level_entities": false,
    "enable_segment_level_entities": true
  },
  "transcribe_config": {
    "enable_summary": true,
    "enable_speech": true,
    "enable_scene_text": false,
    "enable_visual_scene_description": false
  }
}'
{
  "id": "<string>",
  "object": "collection",
  "name": "<string>",
  "description": "<string>",
  "collection_type": "entities",
  "extract_config": {
    "prompt": "<string>",
    "schema": {},
    "enable_video_level_entities": false,
    "enable_segment_level_entities": true
  },
  "transcribe_config": {
    "enable_summary": true,
    "enable_speech": true,
    "enable_scene_text": false,
    "enable_visual_scene_description": false
  },
  "created_at": 123,
  "file_count": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Collection creation parameters

The body is of type object.

Response

200
application/json

Successful collection creation

The response is of type object.