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",
      "describe_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,
ready,
completed,
failed,
not_applicable
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
object
enum<string>
required

Object type, always 'list'

Available options:
list
data
object[]
required

Array of collection file objects

total
integer
required

Total number of files matching the query

limit
integer
required

Number of items returned in this response

offset
integer
required

Offset from the start of the list