Skip to main content
GET
Get speech task
Look up the task_id returned by Synthesize Speech in the same authorized Space.
The task status is processing, succeeded, or failed. Successful tasks include the generated audio url, duration_seconds, and subtitle_url when available. Failed tasks include error_message. This lookup does not start another synthesis. Keep the original task ID when checking results after a timeout.

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain your key from the JoggAI dashboard.

Path Parameters

task_id
string
required

Task ID returned by speech synthesis.

Example:

"tts_123"

Response

200 - application/json

Speech task status. Check the business code before reading data.

code
integer
required

Business status code:

  • 0 - Success
  • 10104 - Record not found
  • 10105 - Invalid API key
  • 18020 - Insufficient credit
  • 18025 - No permission to call APIs
  • 40000 - Parameter error
  • 50000 - System error
Example:

0

msg
string
required

Response message

Example:

"Success"

data
object