Text-to-Speech Jobs
List async operations
Inworld TTS API reference: list the operations of your async speech synthesis jobs, for example to find a job again.
/lro/v1alpha/ttsAsyncJobs/{job}/operationsOptional. -done (or NOT done, or done=false) returns only running jobs; done (or done=true) only finished ones. Omit for all. Any other filter is rejected with INVALID_ARGUMENT.
Available options:done-doneNOT donedone=truedone=false
Upper bound on operations scanned per page, before expired or filtered-out entries are removed — so a returned page can be smaller. Defaults to 50, capped at 1000.
Operations on this page. May be absent when the page is empty — an empty page does not mean the listing is finished.
Show child attributes
Server-assigned operation resource name, in the format workspaces/{workspace}/ttsAsyncJobs/{job}/operations/{operation}. Pass it verbatim as the path of the Get operation endpoint to poll for completion.
Always null. An async job is a single unit of work and carries no progress metadata: done already says everything there is to know.
If false, the job is still running. If true, the job has finished and exactly one of error or response is set.
Show child attributes
The error code, as specified by gRPC status codes.
Set when the job succeeded: a SynthesizeSpeechAsyncResponse saying where the results are.
Show child attributes
Type of the serialized message, always type.googleapis.com/ai.inworld.tts.v1.SynthesizeSpeechAsyncResponse.
Pre-signed download URL for the synthesized audio, in the format requested via audioConfig.audioEncoding. Set when the results are packaged as FILES, the default for results Inworld hosts.
Pre-signed download URL for the timestamp alignment JSON. Only present when the request set timestampType or lipsyncConfig and the results are packaged as FILES. The file is a JSON array of timestamp objects on one timeline from the start of the audio; see Reading the timestamps document.
The zip archive holding the results, when they are packaged as ZIP. For results delivered to your storage, your outputConfig.resultsUri without its signature; for an archive Inworld hosts, a pre-signed download URL that expires at expireTime.
Path of the results document inside the archive at resultsUri. Read the name from here rather than assuming it.