Lists normalized team assets, newest first (order=oldest reverses it). Filters combine: every parameter applies, and a comma-separated value matches any of its values (model=a,b). createdAfter/createdBefore bound the creation time, and metadata.= (up to 3) matches the metadata copied from the process that made the asset, e.g. metadata.order=A-17 for every output of that order. A team whose library has not moved to the new storage yet answers one type, at most one value of processType, source, model, tool, genType, or sessionId, and favorite; anything else returns unsupported_filter_combination for it (and a missing type returns invalid_request).
Authorization
bearerAuth assets:readIn: header
Scope: assets:read
Query Parameters
image, video, or audio; comma-separated for several. Omit for all three.
Only favorited assets.
Only items in this session.
Deprecated alias of sessionId.
Library folder ids (GET /library/folders), comma-separated; an asset in any of them matches. Workspaces not yet moved to the new library take one id and no other filter but favorite.
Comma-separated, any of: upload, provided, image-gen-process, video-generation-process, timeline-export.
Process types that made the asset, comma-separated (see POST /processes).
Model ids, comma-separated (see GET /models).
Tools, comma-separated.
Comma-separated, any of: video-sync, image-to-video, image-to-video-sync, text-to-video.
Member user ids, comma-separated; me is the key's member (see GET /members).
date-timedate-timeValue in
- "uploaded"
- "generated"
Only assets someone downloaded.
Only assets not viewed yet.
Words matched against asset titles and names (as prefixes) and their full text.
length <= 200By creation time. Pass the same order with cursor as the request that returned it.
"newest"Value in
- "newest"
- "oldest"
1 <= value <= 10020Opaque pagination cursor — pass the nextCursor from the previous page verbatim. nextCursor is null on the last page.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/assets"{ "data": [ { "id": "string", "type": "image", "name": "string", "url": "http://example.com", "thumbnailUrl": "http://example.com", "preview": { "url": "http://example.com", "width": 0, "height": 0, "mimeType": "string" }, "width": 0, "height": 0, "duration": 0, "mimeType": "string", "source": "string", "sourceProcessId": "string", "prompt": "string", "model": "string", "trainingId": "string", "draft": { "finishableUntil": "2019-08-24T14:15:22Z", "finishResolutions": [ 1080 ] }, "favorite": true, "sessionId": "string", "libraryFolderIds": [ "string" ], "createdBy": "string", "metadata": { "property1": "string", "property2": "string" }, "testMode": true, "webUrl": "http://example.com", "createdAt": "2019-08-24T14:15:22Z", "links": { "self": "string" } } ], "nextCursor": "string"}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}{ "error": { "code": "string", "message": "string", "requestId": "string" }}List the credit alerts that email you GET
Credit alerts that email the key's member, as an owner or admin it names or as the member (or key creator) it is about, and whether they muted each. Any member.
List voices for an audio model GET
Returns preset voices compatible with one audio-generation model. Voice ids are model/provider-specific; choose a model from GET /models first, then pass its id as modelId. Use the returned voice id in an audio-generation process input.