Assets
Asset lifecycle, ingest, upload, transcode, package, thumbnails, tracks, tags, delivery.
GET /api/v1/assets/
List workspace assets.
Parameters
| Name | In | Type | Required | Description |
|---|
limit | query | integer | optional | |
offset | query | integer | optional | |
status | query | string (uploading, processing, ready, failed, archived) | optional | |
parentId | query | string | optional | |
from | query | string | optional | Inclusive lower bound on the asset creation timestamp (createdAt). Accepts a calendar date (YYYY-MM-DD, interpreted as the first instant of that UTC day) or a full ISO 8601 date-time. Applied across the whole result set, not just the returned page. |
to | query | string | optional | Inclusive upper bound on the asset creation timestamp (createdAt). Accepts a calendar date (YYYY-MM-DD, interpreted as the LAST instant of that UTC day, so the named day is included) or a full ISO 8601 date-time. Applied across the whole result set, not just the returned page. |
Response
Response 200 (application/json)
{
"items": [
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": null,
"from": null,
"to": null,
"reason": null
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": null,
"renditions": null,
"packaged": null,
"subtitles": null,
"thumbnails": null
},
"rehydrating": []
},
"parentId": "string"
}
],
"limit": 0,
"offset": 0,
"total": 0
}
POST /api/v1/assets/
Create an asset record.
Request
Request body (application/json)
{
"name": "string",
"slug": "string",
"description": "string",
"parentId": "string",
"objectKey": "string",
"metadata": {},
"tags": [
"string"
]
}
Response
Response 201 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
GET /api/v1/assets/by-external-id/{namespace}/{id}
Resolve an asset by an upstream external identifier
Resolve a single asset by the { namespace, id } external identifier correlated to it (ADR-019). namespace labels the upstream system of record; id is the opaque foreign key in that system. Returns the asset when exactly one carries the pair, or 404 when none does.
Parameters
| Name | In | Type | Required | Description |
|---|
namespace | path | string | required | Upstream system-of-record label the external id belongs to (e.g. ingest-mam, rights-registry). Required, non-empty. |
id | path | string | required | Opaque foreign-key value in that system (UUID / numeric id / slug). Required, non-empty. |
Response
Response 200 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
GET /api/v1/assets/by-tams-address
Look up an asset by its TAMS flow/timerange address.
Parameters
| Name | In | Type | Required | Description |
|---|
tamsFlowId | query | string | required | TAMS flow id (UUID) to resolve. Addressing mode (1): supplying only tamsFlowId resolves the ready asset carrying this flow. Required. |
tamsTimerange | query | string | optional | TAMS TAI timerange (ADR-008 grammar, e.g. [0:0_10:0)). Addressing mode (2): supplying tamsFlowId + tamsTimerange additionally requires an exact stored-timerange match. Optional. |
Response
Response 200 (application/json)
{
"items": [
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": null,
"from": null,
"to": null,
"reason": null
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": null,
"renditions": null,
"packaged": null,
"subtitles": null,
"thumbnails": null
},
"rehydrating": []
},
"parentId": "string"
}
],
"limit": 0,
"offset": 0,
"total": 0
}
POST /api/v1/assets/ingest-url
Ingest a video from a public URL into a new asset.
Request
Request body (application/json)
{
"sourceUrl": "string",
"name": "string",
"description": "string",
"title": "string",
"tags": [
"string"
],
"sourceBackend": "string"
}
Field notesname — Legacy alias for title (issue #347). The editorial title of the asset. title and name are two input spellings of the SAME canonical field: both persist to descriptive.title and are read back as the name property on GET /assets/:id, list, and search responses. Prefer title; title wins when both are supplied.title — The editorial title of the asset (issue #347). This is the canonical write path for title: it persists to descriptive.title and is read back as the name property on GET /assets/:id, list, and search responses (there is NO separate top-level title field on responses). Accepted as an alias of name; title wins when both are supplied.sourceBackend — Reference (id or name) to a registered external storage backend (issue #548, ADR-017) to source the asset bytes from, instead of the OSC-managed default storage. The backend must be registered (POST /storage/backends) and serve the source (or both) role. When set, sourceUrl addresses the object WITHIN that backend as s3://<bucket>/<key> (bucket may be omitted to use the registered backend's bucket, i.e. s3:///<key> or a bare <key>). No external credentials are ever supplied inline: the registered endpoint + credentials are reused server-side. Omit for the default source.
Response
Response 202 (application/json)
{
"assetId": "string",
"jobId": "string"
}
GET /api/v1/assets/search
Deprecated legacy free-text-only search alias. Use the canonical Search endpoint instead.
Deprecated free-text alias. Use the canonical GET /api/v1/search/?q=<term> endpoint instead, which serves the same free-text results plus tag, mimeType, metadata, and TAMS filters with total/page pagination. This alias only accepts q and returns { items }; it is retained for backward compatibility and will be removed in a future major version.
Parameters
| Name | In | Type | Required | Description |
|---|
q | query | string | required | Case-insensitive free-text query matched against the asset title (the canonical name field, persisted at descriptive.title) and description — regardless of whether the client set the title through the ingest title field or the legacy name alias (issue #347). |
Response
Response 200 (application/json)
{
"items": [
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": null,
"from": null,
"to": null,
"reason": null
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": null,
"renditions": null,
"packaged": null,
"subtitles": null,
"thumbnails": null
},
"rehydrating": []
},
"parentId": "string"
}
]
}
GET /api/v1/assets/{id}
Get a single asset.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
PATCH /api/v1/assets/{id}
Update asset fields.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"name": "string",
"description": "string",
"objectKey": "string",
"status": "uploading",
"metadata": {},
"tags": [
"string"
]
}
Response
Response 200 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
DELETE /api/v1/assets/{id}
Delete an asset.
Parameters
| Name | In | Type | Required |
|---|
force | query | boolean | optional |
id | path | string | required |
Response
Response 204 (application/json)
"null"
POST /api/v1/assets/{id}/audio-tracks
Add an audio track to an asset.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"language": "string",
"codec": "string",
"channels": 0,
"label": "string",
"default": true
}
Response
Response 201 (application/json)
{
"audioTracks": [
{
"id": "string",
"language": "string",
"codec": "string",
"channels": 0,
"label": "string",
"default": true
}
]
}
DELETE /api/v1/assets/{id}/audio-tracks/{trackId}
Remove an audio track.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
trackId | path | string | required |
Response
Response 204 (application/json)
"null"
POST /api/v1/assets/{id}/clip
Clip a time segment of the asset into a new child asset.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"startSeconds": 0,
"endSeconds": 0,
"outputName": "string",
"asVersion": true
}
Response
Response 201 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
POST /api/v1/assets/{id}/deliver
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"destination": "string"
}
Response
Response 200 (application/json)
{
"assetId": "string",
"status": "delivered",
"destination": {
"id": "string",
"name": "string",
"role": "packaged"
},
"bucket": "string",
"objectKey": "string",
"bytes": 0,
"etag": "string",
"deliveredAt": "string"
}
GET /api/v1/assets/{id}/delivery
Get playback URLs for an asset (HLS/DASH manifests and/or presigned source download).
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"assetId": "string",
"status": "ready",
"urls": {
"hls": "string",
"dash": "string",
"source": "string"
},
"expiresAt": "string",
"resolution": {
"packagedBucket": "string",
"packagedPrefix": "string",
"masterHlsKey": "string",
"masterDashKey": "string",
"missingConfiguration": [
"string"
],
"reason": "string"
}
}
POST /api/v1/assets/{id}/execute
Run a multi-step pipeline execution (e.g. transcode + package) against the asset.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"pipeline": "transcode",
"profile": "string",
"profileParams": {},
"destinationBucket": "string",
"destination": "string",
"externalBackend": "string"
}
Field notescustomProfile — REMOVED (issue #1022). Supplying this field is rejected with a 400. An encoding ladder cannot be submitted inline: the transcoding service resolves a profile by NAME against its own profile index, so an inline outputs array could never reach the encoder — it used to be validated and then discarded. Register the ladder as a profile (POST /api/v1/profiles) and pass its name as profile.
Response
Response 202 (application/json)
{
"id": "string",
"assetId": "string",
"pipelineName": "string",
"status": "running",
"steps": [
{
"name": "extract-metadata",
"status": "pending",
"jobId": "string",
"encoreJobId": "string",
"error": "string",
"errorDetail": {
"code": "source_read_failed",
"message": "string",
"storageError": "string",
"httpStatus": 0,
"source": {
"url": null,
"bucket": null,
"key": null
},
"encoreJobId": "string",
"assetId": "string"
},
"skipReason": "string",
"startedAt": "string",
"completedAt": "string",
"progress": 0
}
],
"createdAt": "string",
"updatedAt": "string",
"destinationBucket": "string"
}
GET /api/v1/assets/{id}/executions
List pipeline executions for an asset.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
[
{
"id": "string",
"assetId": "string",
"pipelineName": "string",
"status": "running",
"steps": [
{
"name": "extract-metadata",
"status": "pending",
"jobId": "string",
"encoreJobId": "string",
"error": "string",
"errorDetail": {
"code": null,
"message": null,
"storageError": null,
"httpStatus": null,
"source": null,
"encoreJobId": null,
"assetId": null
},
"skipReason": "string",
"startedAt": "string",
"completedAt": "string",
"progress": 0
}
],
"createdAt": "string",
"updatedAt": "string",
"destinationBucket": "string"
}
]
GET /api/v1/assets/{id}/executions/{execId}
Get a single pipeline execution.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
execId | path | string | required |
Response
Response 200 (application/json)
{
"id": "string",
"assetId": "string",
"pipelineName": "string",
"status": "running",
"steps": [
{
"name": "extract-metadata",
"status": "pending",
"jobId": "string",
"encoreJobId": "string",
"error": "string",
"errorDetail": {
"code": "source_read_failed",
"message": "string",
"storageError": "string",
"httpStatus": 0,
"source": {
"url": null,
"bucket": null,
"key": null
},
"encoreJobId": "string",
"assetId": "string"
},
"skipReason": "string",
"startedAt": "string",
"completedAt": "string",
"progress": 0
}
],
"createdAt": "string",
"updatedAt": "string",
"destinationBucket": "string"
}
POST /api/v1/assets/{id}/export
Re-wrap the asset into a different container format without re-encoding.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"targetFormat": "mp4",
"outputName": "string",
"asVersion": true
}
Response
Response 201 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
GET /api/v1/assets/{id}/external-ids
List an asset's upstream external identifiers
List the { namespace, id } external identifiers attached to the asset (ADR-019), exactly as stored. namespace labels the upstream system of record; id is the opaque foreign key in that system. Returns an empty array when the asset carries none, and 404 when the asset id is unknown.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
External identifiers attached to the asset, in persisted order. Empty when none are attached.
Response 200 (application/json)
[
{
"namespace": "string",
"id": "string"
}
]
POST /api/v1/assets/{id}/external-ids
Attach an upstream external identifier to an asset
Attach (or change) an upstream { namespace, id } external identifier on the asset (ADR-019). When per-namespace uniqueness enforcement is enabled by the operator (EXTERNAL_ID_UNIQUENESS=enforced) and the pair already resolves to a different asset, the request is rejected with a 409 external_id_conflict naming the conflicting asset id. Attaching a pair the asset already carries is a no-op.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"namespace": "string",
"id": "string"
}
Field notesnamespace — Upstream system-of-record label the external id belongs to (e.g. ingest-mam, rights-registry). Required, non-empty.id — Opaque foreign-key value in that system (UUID / numeric id / slug). Required, non-empty.
Response
Response 200 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
DELETE /api/v1/assets/{id}/external-ids/{namespace}/{externalId}
Detach an upstream external identifier from an asset
Remove the { namespace, id } external identifier from the asset (ADR-019) — the inverse of POST /assets/{id}/external-ids, for correcting a mistyped or stale correlation. Idempotent: returns 204 whether or not the asset carried the pair, so a repeated call is never an error. 404 is returned only when the asset itself does not exist.
Parameters
| Name | In | Type | Required | Description |
|---|
id | path | string | required | Asset id. |
namespace | path | string | required | Upstream system-of-record label the external id belongs to (e.g. ingest-mam, rights-registry). Required, non-empty. |
externalId | path | string | required | Opaque foreign-key value in that system (UUID / numeric id / slug). Required, non-empty. |
Response
Response 204 (application/json)
"null"
GET /api/v1/assets/{id}/files
List the source and derived media files stored for an asset.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"files": [
{
"id": "string",
"type": "source",
"name": "string",
"format": "string",
"objectKey": "string",
"url": "string",
"sizeBytes": 0,
"label": "string",
"width": 0,
"height": 0,
"bitrateBps": 0,
"codec": "string"
}
],
"fileGroups": [
{
"id": "string",
"type": "hls-package",
"name": "string",
"manifestUrl": "string",
"objectKeyPrefix": "string",
"segmentCount": 0
}
]
}
PUT /api/v1/assets/{id}/lock
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"reason": "string",
"lockedBy": "string"
}
Response
Response 200 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
DELETE /api/v1/assets/{id}/lock
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
PUT /api/v1/assets/{id}/metadata
Replace an asset's free-form metadata.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{}
Response
Response 200 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
POST /api/v1/assets/{id}/multipart/initiate
Initiate a multipart upload for large source media.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"uploadId": "string",
"objectKey": "string",
"expiresInSeconds": 0
}
DELETE /api/v1/assets/{id}/multipart/{uploadId}
Abort a multipart upload.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
uploadId | path | string | required |
Response
Response 204 (application/json)
"null"
POST /api/v1/assets/{id}/multipart/{uploadId}/complete
Complete a multipart upload.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
uploadId | path | string | required |
Request
Request body (application/json)
{
"parts": [
{
"partNumber": 0,
"etag": "string"
}
]
}
Response
Response 200 (application/json)
{
"id": "string",
"status": "string"
}
GET /api/v1/assets/{id}/multipart/{uploadId}/part-url
Get a presigned URL for one multipart upload part.
Parameters
| Name | In | Type | Required |
|---|
partNumber | query | integer | required |
id | path | string | required |
uploadId | path | string | required |
Response
Response 200 (application/json)
{
"url": "string",
"partNumber": 0,
"expiresInSeconds": 0
}
POST /api/v1/assets/{id}/package
Submit an HLS/DASH packaging job for the asset's transcoded renditions.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"encoreJobId": "string",
"destinationBucket": "string",
"destination": "string"
}
Response
Response 202 (application/json)
{
"ok": true,
"jobId": "string",
"pipelineMode": true
}
GET /api/v1/assets/{id}/pipelines
List pipeline definitions available to run against the asset.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
[
{
"id": "string",
"assetId": "string",
"pipelineName": "string",
"status": "running",
"steps": [
{
"name": "extract-metadata",
"status": "pending",
"jobId": "string",
"encoreJobId": "string",
"error": "string",
"errorDetail": {
"code": null,
"message": null,
"storageError": null,
"httpStatus": null,
"source": null,
"encoreJobId": null,
"assetId": null
},
"skipReason": "string",
"startedAt": "string",
"completedAt": "string",
"progress": 0
}
],
"createdAt": "string",
"updatedAt": "string",
"destinationBucket": "string"
}
]
POST /api/v1/assets/{id}/restore
Restore a soft-deleted asset within its retention window.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
GET /api/v1/assets/{id}/review-state
Get an asset's editorial review state and the transitions that are legal from it.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"reviewState": "draft",
"allowedTransitions": [
"draft"
]
}
Field notesreviewState — The current editorial review state. draft for assets that have never been submitted (including ones stored before the field existed). INDEPENDENT of the lifecycle status.allowedTransitions — The review states this asset may move to next, from its current reviewState. Every value listed here is accepted by POST /assets/{id}/review-state; every state NOT listed (other than reviewState itself) is refused with 422. The current state is never listed — re-sending it succeeds as an idempotent no-op but is not a move. May be empty, which means the state is terminal.
POST /api/v1/assets/{id}/review-state
Transition an asset's editorial review state (draft / in-review / approved / rejected).
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"reviewState": "draft"
}
Response
Response 200 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
GET /api/v1/assets/{id}/storage-usage
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"assetId": "string",
"totalBytes": 0,
"complete": true,
"renditions": {
"count": 0,
"countedCount": 0,
"bytes": 0,
"items": [
{
"id": "string",
"objectKey": "string",
"sizeBytes": 0,
"counted": true,
"label": "string",
"bucket": "string"
}
]
},
"packagedOutput": {
"bucket": "string",
"prefix": "string",
"objectCount": 0,
"bytes": 0
}
}
GET /api/v1/assets/{id}/stream/{*}
Proxy-stream a packaged HLS/DASH manifest or media segment.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
* | path | string | required |
Response
POST /api/v1/assets/{id}/subtitle-tracks
Add a subtitle track to an asset.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"language": "string",
"format": "vtt",
"label": "string",
"default": true
}
Response
Response 201 (application/json)
{
"track": {
"id": "string",
"language": "string",
"format": "vtt",
"objectKey": "string",
"label": "string",
"default": true
},
"uploadUrl": "string"
}
DELETE /api/v1/assets/{id}/subtitle-tracks/{trackId}
Remove a subtitle track.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
trackId | path | string | required |
Response
Response 204 (application/json)
"null"
POST /api/v1/assets/{id}/tags
Add a tag to an asset.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"tags": [
"string"
]
}
Response
Response 200 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
DELETE /api/v1/assets/{id}/tags/{tag}
Remove a tag from an asset.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
tag | path | string | required |
Response
Response 200 (application/json)
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": "string",
"from": "uploading",
"to": "uploading",
"reason": "string"
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": "hot",
"renditions": "hot",
"packaged": "hot",
"subtitles": "hot",
"thumbnails": "hot"
},
"rehydrating": [
{
"byteClass": "source",
"startedAt": "string"
}
]
},
"parentId": "string"
}
Field notesname — Canonical editorial title of the asset. Set on ingest via title (or the legacy name alias) and persisted to descriptive.title; this is the single documented location for title across GET, list, and search responses. There is no separate top-level title field.sourceSizeBytes — Byte length of the stored source object, as recorded when ingest completed. Omitted — never 0 — when no length was ever recorded for the current object key, e.g. an asset ingested through a finalize path that could not learn the size. A present value always describes the current objectKey.retention — Retention window for an archived asset (issue #1034). Present only while status is archived; absent on every other asset.
GET /api/v1/assets/{id}/thumbnails
List extracted thumbnails.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"assetId": "string",
"thumbnails": [
"string"
]
}
POST /api/v1/assets/{id}/thumbnails
Extract poster frame thumbnails at one or more timecodes.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"timecodes": [
0
]
}
Response
Response 200 (application/json)
{
"assetId": "string",
"thumbnails": [
"string"
]
}
GET /api/v1/assets/{id}/thumbnails/{index}
Get a single extracted thumbnail.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
index | path | string | required |
Response
GET /api/v1/assets/{id}/thumbnails/{index}/url
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
index | path | string | required |
Response
Response 200 (application/json)
{
"assetId": "string",
"index": 0,
"objectKey": "string",
"url": "string",
"expiresAt": "string",
"expiresInSeconds": 0
}
GET /api/v1/assets/{id}/tracks
List an asset's audio and subtitle tracks.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"videoTracks": [
{
"codec": "string",
"width": 0,
"height": 0,
"index": 0,
"bitrateBps": 0,
"frameRate": 0,
"startTimecode": "string"
}
],
"audioTracks": [
{
"id": "string",
"language": "string",
"codec": "string",
"channels": 0,
"label": "string",
"default": true
}
],
"subtitleTracks": [
{
"id": "string",
"language": "string",
"format": "vtt",
"objectKey": "string",
"label": "string",
"default": true
}
]
}
POST /api/v1/assets/{id}/transcode
Submit an ABR transcoding job for the asset.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Request
Request body (application/json)
{
"profile": "string",
"profileParams": {},
"burnIn": {
"source": null,
"forceStyle": "string"
}
}
Field notesprofile — Name of a profile registered on this deployment (list them with GET /api/v1/profiles). The encoding ladder lives in the profile; the transcoding service resolves this name against the profile index it loads. A name this deployment does not hold is rejected with a 400 unknown_profile at submit time rather than failing later as a dropped job (issue #1022). Omitted: the deployment default profile is used, and the job record reports whichever profile was actually submitted.customProfile — REMOVED (issue #1022). Supplying this field is rejected with a 400. An encoding ladder cannot be submitted inline: the transcoding service resolves a profile by NAME against its own profile index, so an inline outputs array could never reach the encoder — it used to be validated and then discarded. Register the ladder as a profile (POST /api/v1/profiles) and pass its name as profile.
Response
Response 202 (application/json)
{
"jobId": "string",
"encoreJobId": "string",
"warning": {
"code": "profile_params_unvalidated",
"message": "string",
"profile": "string",
"unvalidatedKeys": [
"string"
]
}
}
Field noteswarning — Present only when profileParams validation could not be performed because the profile YAML was unresolvable (the profile store was unreachable, or no profile was named and the default profile is not in the store). A caller-named profile that a reachable store does not hold is rejected with a 400 instead. The request was still accepted and the keys were forwarded to Encore unchecked.
PUT /api/v1/assets/{id}/upload
Direct upload of source media for an asset.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"id": "string",
"status": "string"
}
POST /api/v1/assets/{id}/upload-complete
Finalize a completed direct or presigned upload.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"id": "string",
"status": "string"
}
POST /api/v1/assets/{id}/upload-url
Get a presigned single-part upload URL for an asset's source media.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"url": "string",
"objectKey": "string",
"method": "string",
"expiresInSeconds": 0
}
GET /api/v1/assets/{id}/versions
List an asset's version history.
Parameters
| Name | In | Type | Required |
|---|
id | path | string | required |
Response
Response 200 (application/json)
{
"assetId": "string",
"currentVersionId": "string",
"versions": [
{
"id": "string",
"name": "string",
"status": "uploading",
"statusHistory": [
{
"at": null,
"from": null,
"to": null,
"reason": null
}
],
"createdAt": "string",
"updatedAt": "string",
"slug": "string",
"description": "string",
"reviewState": "draft",
"deleteLock": {
"locked": true,
"lockedAt": "string",
"reason": "string",
"lockedBy": "string"
},
"storageTiering": {
"tiers": {
"source": null,
"renditions": null,
"packaged": null,
"subtitles": null,
"thumbnails": null
},
"rehydrating": []
},
"parentId": "string"
}
],
"versionGroupId": "string"
}