read translated audio preview
translation-previews_getRead a translated-audio preview job by ID to track status, languages, errors, recovery needs, and final audio URL or duration; optionally wait for completion before checking again.
Instructions
Read one translated-audio preview job by id: status (PENDING, PROCESSING, COMPLETING while the finished audio is attached, then COMPLETED or FAILED), source and target languages, error, recoveryRequired, and once COMPLETED outputMediaUrl and outputDurationSec. Use it to follow a translation-previews_create job; jobs_get and jobs_wait with kind translation_preview, when available, read the same job through the generic job tools. Pass wait: true to hold on the server for up to about 50 seconds until the job finishes or recoveryRequired is set; if it is still running, call again. Read-only: it never starts, retries or bills a translation. On FAILED, report error.message; another attempt is a new paid translation-previews_create the user must approve. recoveryRequired means provider acceptance is uncertain and only sync. can resolve it: do not create another job. Once COMPLETED, register outputMediaUrl with assets_create (type=AUDIO) or pass it as a clip audioUrl to lipsync_create-timeline for the separate lip-sync step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Translation preview id from translation-previews_create. | |
| wait | No | Wait on the server until the job finishes or about 50 seconds pass, then return its latest state. If it is still running, call again with wait: true instead of sleeping. | |
| projectId | Yes | The projectId passed to translation-previews_create for this job. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||