Skip to content
Docs
Get early access

List assets (newest first, keyset paginated)

GET
/v1/assets
curl --request GET \
--url 'https://api.wirevod.online/v1/assets?status=pending&limit=50' \
--header 'Authorization: Bearer <token>'
status
string
Allowed values: pending uploaded processing ready failed
limit
integer
default: 50 >= 1 <= 100

Page size, 1..100 (default 50).

cursor
string

Opaque next_cursor from the previous page.

A page of assets.

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string
title
required
string
status
required
string
Allowed values: pending uploaded processing ready failed
failure_code
required
string | null
source_width
required
integer | null
source_height
required
integer | null
source_fps
required
number | null
source_codec
required
string | null
source_duration_ms
required
integer | null
source_bitrate_kbps
required
integer | null
origin_size_bytes
required
integer | null
checksum_sha256
required
string | null
drm_enabled
required
boolean
visibility
required
string
published_at
required
integer | null
created_at
required
integer
next_cursor
required

Opaque cursor for the next page; null when exhausted.

string | null
Example
{
"data": [
{
"id": "ast_01J9Z",
"title": "Launch keynote",
"status": "ready",
"failure_code": null,
"source_width": 1920,
"source_height": 1080,
"source_fps": 30,
"source_codec": "h264",
"source_duration_ms": 120000,
"source_bitrate_kbps": 8000,
"origin_size_bytes": 120000000,
"checksum_sha256": "9f2c",
"drm_enabled": false,
"visibility": "private",
"published_at": 1760003000000,
"created_at": 1760000000000
}
],
"next_cursor": "MTc2MDAwMDAwMDAwMC5hc3RfMDFKOVo"
}

The request was malformed or failed validation.

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "invalid_request",
"code": "invalid_request",
"message": "asset_id is required"
}

Missing or invalid credentials.

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "unauthorized",
"code": "unauthorized",
"message": "Authentication required"
}

Too many requests in the current window.

Media typeapplication/json
object
error
required
string
code
required
string
message
required
string
details
Example
{
"error": "rate_limited",
"code": "rate_limited",
"message": "Too many requests",
"details": {
"retry_after": 60
}
}
Retry-After
integer

Seconds to wait before retrying.