List the media library
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
searchstring
query
kindstring
query
cursorstring
query
limitinteger
query
folderIdstring
query
labelIdstring
query
starredboolean
query
usedboolean
query
clientIdstring
query
submittedboolean
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
idstring
required
organizationIdstring
required
namestring
required
mimestring
required
sizenumber
required
altstring
required
widthnumber
required
heightnumber
required
durationMsnumber
required
framesnumber
required
clientIdstring
required
createdAtstring
required
urlstring
required
thumbnailUrlstring
required
Updated