GET
/
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
      },
      "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

Response

200
application/json

A list of collections

The response is of type object.