Sources

Get all sources

Retrieve a list of all sources with optional filtering and pagination. Supports filtering by various media properties like duration, dimensions, codecs, etc.

GET
/api/sources

Authorization

Authorization
header
string
required

Enter the project access token with the Bearer prefix, e.g. "Bearer project_access_token"

Query Parameters

id
string

Filter by source ID

offset
default: 0
integer

Pagination offset

Required range: x >= 0
limit
default: 100
integer

Pagination limit (max 100)

Required range: 1 <= x <= 100
duration.eq
number

Filter by exact duration

Required range: x >= 0
duration.gte
number

Filter by duration greater than or equal

Required range: x >= 0
duration.gt
number

Filter by duration greater than

Required range: x >= 0
duration.lte
number

Filter by duration less than or equal

Required range: x >= 0
duration.lt
number

Filter by duration less than

Required range: x >= 0
created.gte
integer
epoch

Filter by creation date greater than or equal (UNIX epoch time)

Required range: x >= 0
Examples:
1764238404
created.lte
integer
epoch

Filter by creation date less than or equal (UNIX epoch time)

Required range: x >= 0
Examples:
1764238404
width.eq
integer

Filter by exact width

Required range: 0 <= x <= 8192
width.gte
integer

Filter by width greater than or equal

Required range: 0 <= x <= 8192
width.gt
integer

Filter by width greater than

Required range: 0 <= x <= 8192
width.lte
integer

Filter by width less than or equal

Required range: 0 <= x <= 8192
width.lt
integer

Filter by width less than

Required range: 0 <= x <= 8192
height.eq
integer

Filter by exact height

Required range: 0 <= x <= 8192
height.gte
integer

Filter by height greater than or equal

Required range: 0 <= x <= 8192
height.gt
integer

Filter by height greater than

Required range: 0 <= x <= 8192
height.lte
integer

Filter by height less than or equal

Required range: 0 <= x <= 8192
height.lt
integer

Filter by height less than

Required range: 0 <= x <= 8192
size.eq
integer

Filter by exact file size

Required range: x >= 0
size.gte
integer

Filter by file size greater than or equal

Required range: x >= 0
size.gt
integer

Filter by file size greater than

Required range: x >= 0
size.lte
integer

Filter by file size less than or equal

Required range: x >= 0
size.lt
integer

Filter by file size less than

Required range: x >= 0
audio_codec
string

Filter by audio codec

video_codec
string

Filter by video codec

device
string

Filter by device (apple/android)

Available options:
appleandroidunknown
created.sort
default: "asc"
string

Sort by creation date (asc/desc)

Available options:
ascdesc
metadata
array[]

Filter by metadata

Responses

application/json
data
object[]
required

Data contains the paginated source items

limit
integer
required

Limit indicates the maximum number of items in the current response

offset
integer
required

Offset indicates the offset of the first item in the current response

status
"success"
string
required

Status indicates the response status "success"

total
integer
required

Total indicates the total number of items

OK