List media

View .md

List the current user's uploaded and imported media assets.


List the current user's uploaded/imported assets.

GET/v1/media
API key (dra_…) or dashboard JWT

List uploaded/imported media assets for the current user.

Body & query parameters

limitintquery

1 to 100 (default 50).

const response = await fetch("https://api.dravo.dev/v1/media", {  method: "GET",  headers: {  "Authorization": "Bearer " + process.env.DRAVO_API_KEY,}});const data = await response.json();console.log(data);
{  "items": [    {      "id": "media_8f2c1d",      "public_url": "https://cdn.dravo.dev/u/abc/2f1c....jpg",      "kind": "image",      "content_type": "image/jpeg",      "size_bytes": 84211,      "status": "ready",      "created_at": "2026-06-27T10:00:00Z"    }  ],  "total": 1}