Asosiy mazmunga oʻtish

Get a synthesis job

GEThttps://my.neuronai.uz/api/v1/tts/jobs/{id}

Returns a synthesis job and its status: queued, running, succeeded or failed.

A job that has succeeded carries its cost and audio_url; one that has failed carries an error. A failed job is never charged.

tts:read ruxsatli API kalit kerak.

Yoʻl parametrlari

  • idstringMajburiy

    The job id returned when the job was created.

Javob

200application/json

The job under data.

  • dataobjectMajburiy
  • request_idstringMajburiy

    Format: uuid

Sarlavhalar

  • X-Request-IdstringIxtiyoriy

    Identifies this request. A JSON body carries it as request_id too; quote it to support.

    Format: uuid

  • X-RateLimit-LimitintegerIxtiyoriy

    The requests a minute the rate limit on this endpoint allows. Sent once the limit has counted the request, so not when the key itself is refused.

  • X-RateLimit-RemainingintegerIxtiyoriy

    How many of them are left this minute.

Xatolar

  • 401

    The API key is missing or not recognized (invalid_api_key), revoked (api_key_revoked), disabled (api_key_disabled) or expired (api_key_expired).

  • 403

    The key lacks the permission this endpoint needs (insufficient_permissions), or the client IP is not in its allowlist (ip_not_allowed).

  • 404

    No such job in your organization: not_found.

  • 429

    A rate or concurrency limit was reached (rate_limit_exceeded, concurrency_limit_exceeded). Retry after Retry-After seconds.

  • default

    Any other error, in the same shape, such as server_error (500) or service_unavailable (503).