Skip to content

Generation records

Understand saved generation history and troubleshooting retention.

API audio

Save streamed API audio in your application. Use the saved-recording endpoints below to retrieve recordings that were successfully stored. Keep X-Request-Id for operation status and support; operation inspection does not return audio.

Completed authenticated generations can be saved on a best-effort basis when recording capture is enabled. Available recordings appear in the connected account's history and MCP results. Busy or unavailable storage may leave a completed, charged request without a saved recording. This feature does not replace capturing the API stream in your application, and missing audio is never regenerated automatically.

Saved-recording API

Use your ordinary customer API key to retrieve your saved recordings. Dashboard-created keys include access; a restricted key needs voiceovers:read. These reads require a verified account. OAuth tokens, dashboard leases, demo tokens and service credentials are not accepted by these routes.

RequestResult
GET /v1/history?limit=20Your saved recording metadata, newest first. limit accepts 1–100.
GET /v1/history/{id}Metadata, the full saved text when available, and an authenticated audio_url when an audio reference exists.
GET /v1/history/{id}/audioThe saved WAV file. Send your API key in the Authorization header.
curl --fail-with-body 'https://api.sawtakarabi.ai/v1/history?limit=20' \
  -H "Authorization: Bearer $SAWTAK_API_KEY"

The list returns data, has_more and next_cursor. Pass next_cursor unchanged as the next request's cursor query parameter. Metadata includes id, text_preview, voice_id, voice_name, seconds and created_at. Detail reads return text: null when the full saved script is unavailable; the preview is not a replacement for it.

audio_url requires the same API key and is not a share link. A missing recording or audio file returns 404; temporarily unavailable storage can return 503. A connection failure during a download leaves an incomplete file: discard it and retry the read. Reads never regenerate speech or create a speech charge. For a renderer that cannot send your API key, the Hosted MCP supplies renewable download links for available recordings.

Only recordings that were successfully saved can be retrieved. Current best-effort capture uses the speech operation ID as the recording ID; retained recordings remain readable after the short-lived operation record expires. History is not a permanent per-request billing ledger. Use operation inspection while the receipt is available; an expired or unavailable receipt does not mean the recording was free.

Dashboard history

Saved recordings have no scheduled expiry or count-based deletion. History shows 20 recordings per page; load older pages to retrieve more. It defaults to your current local day. Choose All recordings or Custom dates to find earlier takes. Search matches saved script openings and recorded voice names across your saved history, not just the loaded page.

Delete an individual recording from History, or delete your account to remove access to all recordings. These actions schedule the saved text and audio for deletion. Recordings removed under the previous retention policy cannot be restored.

Open Text to Speech → History and use a saved recording's link button to return directly to it after signing in. That link requires the owning account; it is not a public audio-sharing link. Selecting a recording does not play it or replace your editor draft.

Troubleshooting records

Captured request details, input text, and processed text are retained for 90 days and available to authorized administrators for troubleshooting. Capture is best-effort and may be incomplete. Archive records appear after scheduled processing, which can be delayed.

Daily usage totals remain available for 24 months. Financial records follow a separate policy; see Privacy.