/v1/mediaList media
Images and videos in the workspace's media library, newest first. Use an item's id as media[].asset_id and its url in a creative. To show a file, use display_url: for stock photos that's Unsplash's own image URL, as its guidelines require. source says where a file came from (upload, ai for generated images, stock for stock photos); stock photos carry the photographer's credit in attribution, to show wherever you show the photo. Each time you use a stock photo that's already in the library, call POST /v1/stock-photos/{id}/add with its attribution.photo_id so the download is counted.
- limit
- integerPage size, 1–100 (default 25)
- cursor
- string
next_cursorfrom the previous page - type
- "image" | "video"
- folder
- stringFolder name
- search
- stringMatch on the file name
curl "https://sqa.coboost.ai/api/v1/media" \
-H "Authorization: Bearer $COBOOST_API_KEY"{
"object": "list",
"data": [
{
"id": "cmf0med001",
"object": "media",
"url": "https://coboost.ai/uploads/ws/serum.jpg",
"display_url": "https://coboost.ai/uploads/ws/serum.jpg",
"filename": "serum.jpg",
"type": "image",
"mime_type": "image/jpeg",
"size_bytes": 248120,
"width": 1080,
"height": 1350,
"duration_sec": null,
"folder": "Autumn launch",
"source": "upload",
"attribution": null,
"created_at": "2026-10-20T10:00:00.000Z"
}
],
"has_more": false,
"next_cursor": null
}