GET
/
files
curl --request GET \
  --url https://api.cloudglue.dev/v1/files \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "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.

Query Parameters

status
enum<string>

Filter files by processing status

Available options:
pending,
processing,
ready,
completed,
failed,
not_applicable
limit
integer
default:50

Limit the number of files to return

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

Number of files to skip

order
enum<string>
default:created_at

Order the files by a specific field

Available options:
created_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
object
enum<string>
required

Object type, always 'list'

Available options:
list
data
object[]
required

Array of 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