Skip to main content
GET
List media in the workspace
Media uploaded in the web app is not addressable. When to use: to find a ready media item to reuse. Side effects: None. Cost: Free. Idempotency: safe and pure (never writes); retry freely. Pagination: limit (default 20, max 100) and cursor; follow next_cursor until has_more is false. Required scopes: media:read

Authorizations

Authorization
string
header
required

API key from Settings -> API keys, sent as Authorization: Bearer <key> (SDK environment variable RASK_API_KEY). Bound to one workspace and one acting user. Operations list the scopes they need (OpenAPI 3.1 scopes on a bearer scheme).

Scopes

media:read

Query Parameters

purpose
enum<string>

Only this purpose. What a media item is for.

  • project_source: the source of a project (default)
  • voice_sample: a sample for createVoiceClone (audio, or video whose audio is extracted to MP3 on import)
Available options:
project_source,
voice_sample
limit
integer<int32>
default:20

Page size.

Required range: 1 <= x <= 100
cursor
string

Opaque cursor from next_cursor; keep the same filters on every page.

Maximum string length: 2048

Response

OK: MediaList.

A page of Media (the list envelope shared by every list).

object
enum<string>
required

Always list.

Available options:
list
data
object[]
required

Items of this page.

next_cursor
string | null
required

Pass as cursor for the next page; null on the last page.

has_more
boolean
required

More items exist (a page may hold fewer than limit items while has_more is true).