Text to Speech

List batches

List your project's most recent text-to-speech batches, newest first.

GET/v1/batches

Returns a summary of your project's recent batches, newest first. Read-only keys can call it.

from wistfareai import WistfareAI

client = WistfareAI()  # reads WISTFARE_API_KEY

for batch in client.text_to_speech.batches.list(limit=20):
    print(batch.id, batch.status, batch.item_count)

Query parameters

ParameterTypeDefaultDescription
limitinteger20How many batches to return, 1 to 100.

Response

200 OK:

{
  "batches": [
    { "id": "batch_4d81f7", "status": "completed", "item_count": 2, "created_at": "2026-10-11T08:15:00Z" }
  ]
}

Errors

StatusCodeMeaning
401unauthorizedMissing, invalid or revoked API key.
422validation_errorlimit is outside 1–100.

On this page