transcribe_asset
Update the transcript content for an existing transcript on an asset.
transcribe_asset
Update the transcript content for an existing transcript on an asset.
Safety class: C · API type: portal · Min version: —
Confinement
Class C: writes transcript content on a confined asset; reference only assets under your run-root. Non-prod only.
Signatures
def transcribe_asset(sdk, asset_id, transcript_id, transcript=None):
"""Update an existing transcript's content; return the result dict or None."""
return sdk.transcribe_asset(asset_id, transcript_id, transcript)
export async function transcribeAsset(sdk, assetId, transcriptId, transcript = null) {
// Update an existing transcript's content on a confined asset.
return await sdk.transcribeAsset(assetId, transcriptId, transcript);
}
Parameters
| Parameter (Python) | Parameter (JS) | Type | Required | Notes |
|---|---|---|---|---|
sdk | sdk | Nomad_SDK | yes | |
asset_id | assetId | str | yes | e.g. <asset-uuid> |
transcript_id | transcriptId | str | yes | e.g. <transcript-uuid> |
transcript | transcript | list[dict] | None | no | [{"startTimeCode": "00:00:05", "content": "..."}] |
Returns
dict | None — updated transcript; None on failure.
Errors
- 401 unauthenticated
- InvalidAPITypeException on a non-portal session
- 404 asset/transcript not found
See also: Python ↔ JS naming map · Return shapes.
