List Versions
GET/api/v1/assets/:asset_id/versions
List an asset's versions: the live version first, then a version waiting for release, previous versions newest first, and rejected versions (kept as a record; their files are deleted).
can_activate (and can_reject) say whether the caller may make a version live, restore one or reject one: edit access to the asset and, while release approval is on, a role in release_roles. can_edit says whether they may change labels. thumbnail_url is present when a version has a thumbnail; fetch it with Get Version Thumbnail.
Response JSON
{
"status": "OK",
"data": {
"asset_id": "a211ab5f351f4b398426efb59b0c72a3",
"can_activate": true,
"can_reject": true,
"can_edit": true,
"max_previous_versions": 2,
"settings": {"keep_history": true, "require_approval": true, "release_roles": ["ADMIN", "MANAGER"]},
"versions": [
{"version_no": 4, "state": "live", "name": "hero.jpg", "file_size": 132676,
"content_type": "image/jpeg", "width": 1280, "height": 720, "duration": 0,
"checksum": "89fa851b5fe92a483bbfb5a3ff537d24", "submitted_by": 12,
"submitted_at": "2026-10-22T17:52:13Z", "activated_at": "2026-10-22T17:52:13Z",
"version_data": {"label": "Spring campaign"}},
{"version_no": 5, "state": "pending", "processing_status": "ready", "source": "upload",
"name": "hero-v2.jpg", "file_size": 60892, "content_type": "image/jpeg",
"width": 312, "height": 312, "duration": 0, "checksum": "cd1b78e4686ae1a3cfb461a1085545f0",
"submitted_by": 31, "submitted_at": "2026-10-22T18:36:16Z",
"reviewed_by": null, "reviewed_at": null, "review_note": null,
"needed_by": "2026-11-02T00:00:00Z", "activated_at": null, "superseded_at": null, "version_data": {},
"has_pending_metadata": false, "thumbnail_available": true,
"thumbnail_url": "/api/v1/assets/a211ab5f351f4b398426efb59b0c72a3/versions/5/thumbnail"}
]
}
}
| Key | Description |
|---|---|
state | live, pending (waiting for release), superseded (previous version) or rejected |
processing_status | Non-live versions: uploading, ready or error. Only a ready version can be made live |
source | How the version was created: upload, cloud_picker, ai_edit, … |
version_data | The version's label, note and any other keys you set with Update Version Label |
has_pending_metadata | Metadata was sent with the replace; it is applied to the asset when the version goes live |
needed_by | Waiting versions: when the submitter needs it live (UTC), or null |
Request
Responses
- 200
- 401
- 403
- 404
The asset's versions
Unauthorized
Forbidden - no access to the asset
Asset not found