Text-to-Speech Jobs
List batch operations
Inworld TTS API reference: list the operations of your batch speech synthesis jobs, for example to find a job again.
/lro/v1alpha/ttsBatchJobs/{batch}/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}/ttsBatchJobs/{batch}/operations/{operation}. Pass it verbatim as the path of the Get operation endpoint to poll for completion.
SynthesizeSpeechBatchMetadata counting the items finished so far, present from the moment the batch is accepted through to the terminal response.
Show child attributes
Number of items in the batch. Fixed when the batch is accepted, so it is readable before any work starts.
Items synthesized successfully so far. A zero counter is spelled out as 0 on the submit response but omitted from the poll response, so read it with a default rather than testing whether the key is present.
Items that finished with an error so far. Item errors do not fail the batch — it still completes, and every item keeps its own entry in the results file. Omitted from the poll response while zero.
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 batch succeeded: a SynthesizeSpeechBatchResponse naming the results file.
Show child attributes
Type of the serialized message, always type.googleapis.com/ai.inworld.tts.v1.SynthesizeSpeechBatchResponse.
Where the results live. Packaged as FILES, the default for results Inworld hosts: a pre-signed download URL for the results file. Packaged as ZIP: a URL for the archive holding that file at resultsPath. For results delivered to your storage, the archive URL is your outputConfig.resultsUri without its signature. For archives Inworld hosts, it is a pre-signed download URL.
Path of the results file inside the archive at resultsUri. Absent when the results are packaged as FILES, where resultsUri is the results file itself.