List the media library

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-media-list"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/b8fc3300-4dec-4608-8398-9cac8668b5d5/social-card.svg?v=3e7ae33eec8b" alt="List the media library" width="600" height="315"></a>
GET http://localhost:4000/api/v1/media

Newest first, each with a short-lived download url. Page with cursor (the id of the last file of the previous page).

Parameters

search
string
query
kind
string
query
image | video | audio | document
cursor
string
query
limit
integer
query
folderId
string
query
labelId
string
query
starred
boolean
query
used
boolean
query
clientId
string
query
submitted
boolean
query

Code samples

cURL
curl -X GET "http://localhost:4000/api/v1/media" \
  -H "Authorization: Bearer $API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
[
  {
    "id": "string",
    "organizationId": "string",
    "name": "string",
    "mime": "string",
    "size": 0,
    "alt": "string",
    "width": 0,
    "height": 0,
    "durationMs": 0,
    "frames": 0,
    "clientId": "string",
    "createdAt": "2024-01-01T00:00:00Z",
    "url": "string",
    "thumbnailUrl": "string"
  }
]
Schema
id
string
required
organizationId
string
required
name
string
required
mime
string
required
size
number
required
alt
string
required
width
number
required
height
number
required
durationMs
number
required
frames
number
required
clientId
string
required
createdAt
string
required
url
string
required
thumbnailUrl
string
required
Updated