GET
/
collections
List all collections
curl --request GET \
  --url https://api.cloudglue.dev/v1/collections \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "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
      },
      "default_segmentation_config": {
        "strategy": "uniform",
        "uniform_config": {
          "window_seconds": 31,
          "hop_seconds": 30.5
        },
        "shot_detector_config": {
          "threshold": 1,
          "min_seconds": 31,
          "max_seconds": 31,
          "detector": "adaptive"
        },
        "start_time_seconds": 1,
        "end_time_seconds": 1
      },
      "created_at": 123,
      "file_count": 123
    }
  ],
  "total": 123,
  "limit": 123,
  "offset": 123
}

Authorizations

Authorization
string
header
required

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

Query Parameters

limit
integer
default:50

Maximum number of collections to return

Required range: x <= 100
offset
integer
default:0

Number of collections to skip

order
enum<string>
default:created_at

Order the collections by a specific field

Available options:
name,
created_at
sort
enum<string>
default:desc

Sort the collections in ascending or descending order

Available options:
asc,
desc
collection_type
enum<string>

Filter collections by type

Available options:
entities,
rich-transcripts,
media-descriptions

Response

200
application/json

A list of collections

The response is of type object.