Skip to main content
GET

Overview

Returns the images and videos of your team’s media library, newest first, with the total count for paging. These are the ids every create endpoint takes in media (and in mediaId, startFrameMediaId, endFrameMediaId for Scenes). The list includes media that are still on their way in: an import being downloaded (PROCESSING), an upload waiting for its file (PENDING), and ones that failed. Only a COMPLETED media can go into a video; any other answers 400 on create.

Paging

total counts every media that matches the filters; you are done when offset + limit >= total. limit is 50 by default and at most 100. Use search to find a media by part of its name.

Errors

Import Media from URL

Add a file from a public URL

Upload Media

Upload a file from your machine

Authorizations

x-api-key
string
header
required

Query Parameters

type
enum<string>

Only image or only video. Both when left out. Any other value answers 400.

Available options:
image,
video

Only media whose name contains this text (case-insensitive).

limit
integer
default:50

Page size, 1 to 100. Larger values are capped at 100; missing or invalid values fall back to 50.

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

Media to skip. Missing or invalid values fall back to 0. You are done when offset + limit >= total.

Required range: x >= 0

Response

Media

success
boolean
message
string
data
object