API ReferenceMedia
List media assets
Retrieve all media assets for your account.
Authorization
bearerAuth AuthorizationBearer <token>
API keys start with cue_sk_ prefix. Get your key from the Cue dashboard.
Example: cue_sk_abc123def456ghi789jkl012mno345pqr678stu901vwx234
In: header
Query Parameters
limit?integer
Maximum number of assets to return (1-100)
Default
50Range
1 <= value <= 100cursor?string
Pagination cursor
status?string
Filter by transcoding status
Default
"ready"Value in
"pending" | "processing" | "ready" | "failed"Response Body
application/json
application/json
curl -X GET "https://api.oncue.so/v1/media"{
"data": [
{
"id": "med_x9k4m2n7pqhj",
"userId": "usr_x9k4m2n7pqhj",
"r2Key": "media/usr_x9k4m2n7pqhj/med_x9k4m2n7pqhj/original",
"originalFilename": "product-photo.jpg",
"mimeType": "image/jpeg",
"sizeBytes": 1024000,
"width": 1920,
"height": 1080,
"transcodingStatus": "ready",
"createdAt": "2025-01-14T15:00:00Z",
"updatedAt": "2025-01-14T15:00:30Z"
}
],
"nextCursor": null
}{
"error": "Unauthorized"
}