---
title: "Get Audio Generation Status"
method: GET
path: "/media/generate-audio/{task_id}"
tags: ["media"]
---

# Get Audio Generation Status

`GET /media/generate-audio/{task_id}`

## Request

- Base URL: `https://api.moda.app/v1`
- URL: `https://api.moda.app/v1/media/generate-audio/{task_id}`
- Auth: HTTP bearer

Poll a managed-voice generation started by ``POST /v1/media/generate-audio``.

Returns the ``audio_generation`` task envelope. While it is ``queued`` or ``running``,
poll again no sooner than its ``retry_after_ms`` (a ``429`` here is a delay, never a
failure). ``succeeded`` carries ``results`` (the audio ``file_`` id, and for text to speech
the alignment sidecar); ``failed`` carries a typed ``error`` whose ``details.spend`` says
whether provider spend may have occurred. Moda is never charged twice and never charges a
failed or canceled task.

This route never calls the voice provider and is never plan-gated: it observes work an
entitled call already admitted, and re-drives any that stalled. Only the key's own user
sees a task; anything else is an identical 404.

## Path parameters

- `task_id` string, required

## Headers

- `Moda-Version` '2026-04-12' | '2026-05-01'

## Response `200`

Successful Response

- object

## Other responses

- `401`: Authentication required.
- `402`: Insufficient credits for a metered operation.
- `403`: Permission denied for this scope.
- `404`: Resource not found.
- `409`: Conflict (idempotency / resource state).
- `422`: Request validation failed.
- `429`: Rate limit exceeded.
- `500`: Internal error.

## Changes

- **2026-11-03** `9ac6a3abc0f8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/moda/apis/moda-public-api/changes/media/generate-audio/:task_id/get.md)

---

[API](https://skmtc.dev/moda/apis/moda-public-api.md) - [All operations](https://skmtc.dev/moda/apis/moda-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/moda/apis/moda-public-api/revisions/9ac6a3abc0f8?raw)
