GET
/
collections
/
{collection_id}
/
videos
curl --request GET \
  --url https://api.cloudglue.dev/v1/collections/{collection_id}/videos \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "collection_id": "<string>",
      "file_id": "<string>",
      "object": "collection_file",
      "added_at": 123,
      "status": "pending",
      "extract_status": "pending",
      "searchable_status": "pending",
      "file": {
        "id": "<string>",
        "status": "pending",
        "bytes": 123,
        "created_at": 123,
        "filename": "<string>",
        "uri": "<string>",
        "metadata": {},
        "video_info": {
          "duration_seconds": 123,
          "height": 123,
          "width": 123,
          "format": "<string>",
          "has_audio": true
        }
      }
    }
  ],
  "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.

Path Parameters

collection_id
string
required

The ID of the collection

Query Parameters

limit
integer
default:50

Maximum number of files to return

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

Number of files to skip

status
enum<string>

Filter by processing status

Available options:
pending,
processing,
completed,
failed,
not_applicable
added_before
string

Filter files added before a specific date (YYYY-MM-DD format), in UTC timezone

added_after
string

Filter files added after a specific date (YYYY-MM-DD format), in UTC timezone

order
enum<string>
default:added_at

Order the files by a specific field

Available options:
added_at,
filename
sort
enum<string>
default:desc

Sort the files in ascending or descending order

Available options:
asc,
desc

Response

200
application/json

A list of files in the collection

The response is of type object.