Aqua API reference

Aqua API creates Aqua dictations and voice edits, reads stored dictations, manages transcript customizations and supported app settings, and transcribes audio with Avalon.

The API has two route families. Product routes use Aqua object shapes, the ErrorEnvelope error format, and X-RateLimit-* response headers. Transcription routes are OpenAI-compatible: they keep OpenAI request, response, and error shapes so the official OpenAI SDKs work unchanged, which is why some field names (for example duration) and the free-form language string differ from the product routes.

Too many requests to product routes return 429 rate_limit_exceeded with Retry-After.

Base URLhttps://api.aquavoice.com/v1
AuthenticationAPI key as Bearer token on every route
SpecificationOpenAPI YAML

Authentication

Send your API key as a Bearer token on every route. Create keys in the API dashboard at https://app.aquavoice.com/api-dashboard. Legacy ava_ keys keep working. OAuth tokens carry only the read and write scopes. An OAuth token works on the product routes when it was issued for the resource https://api.aquavoice.com/v1, and on MCP when it was issued for https://api.aquavoice.com/mcp. One token can have both resources.

A key that belongs to an organization acts as one member on the product and dictation routes. Send the header Aqua-User: usr_<id> with the member's user id, the same id GET /me returns. A missing header returns 400 user_required. A user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header. A disabled account returns 403 account_disabled.

Aqua staff can set an API account to a platform account. A platform account is one company that puts Aqua dictation into its own product. Its end users are not Aqua users. A platform key does not act as an Aqua user, and it uses no stored settings or customizations. Each dictation uses only the personalization in the request. A platform key can call only POST /dictations. All other routes return 403 platform_not_supported: the other product routes, the transcription routes, /models, meetings, and MCP. A platform key that sends Aqua-User returns 400 user_not_allowed.

A key has full access, unless an account admin restricts it in the API dashboard. A restricted key has one or more of these scopes: read (the read routes and the MCP read tools), write (read, and the routes that make changes), dictation (POST /dictations), and transcription (the transcription routes and /models). The scope on each operation applies to API keys and to OAuth tokens. A key that calls a route outside its scopes gets 403 insufficient_scope. On the product routes and on dictation, details.required_scope gives the necessary scope. MCP refuses a tool outside the scopes with 403 insufficient_scope. GET /me works with every key. A change to the scopes can take up to 30 seconds to apply to dictation.

A key can have an expiry time, which an account admin sets in the API dashboard. After that time, the key returns 401 api_key_expired on every route, MCP included. Create a new key to continue.

An account admin can give a key its own limits in the API dashboard: a limit of requests per minute and a limit of concurrent requests. Each limit must be at or below the account limit. A key above its rate limit returns 429 key_rate_limit_exceeded with Retry-After. A key with too many requests in progress returns 429 key_concurrency_limit_exceeded. The rate limit applies to dictation, transcription, transcription jobs, and meetings. The concurrency limit applies to dictation and synchronous transcription. The X-RateLimit-* headers show the lower of the key limit and the account limit. Key limits do not apply to the other product routes or to MCP. A change to a key limit can take up to 30 seconds to apply to dictation.

An account admin can give a key an IP allowlist in the API dashboard: 1 to 20 IPv4 or IPv6 addresses or CIDR ranges. A request from an address that is not in the list returns 403 ip_not_allowed on every route that accepts the key. MCP refuses the request with 401 invalid_token. Aqua uses the address that connects to its load balancer, so a proxy or a NAT shows as its public address. The legacy host aqua-server.fly.dev sees the address of the Fly proxy, so a key with a list does not work there. A key with no list works from every address. A change to the list can take up to 30 seconds to apply to dictation.

Dictation

POST /dictations turns speech into finished text. Aqua removes hesitation sounds, adds punctuation, and writes numbers in the normal form of the language.

Send one speaker only. Aqua can drop other voices, so a meeting or an interview loses speech. For audio with more than one speaker, use transcription jobs.

Aqua supports 50 languages. Quality is best in Dutch, English, French, German, Italian, Japanese, Korean, Mandarin, Portuguese, Russian, Spanish, Turkish, and Ukrainian. For any other language, send its code. Do not use auto. Mandarin text uses Simplified characters.

Billing

Your account activates when you create your first key. The first $1.00 of usage is free. After that, add a payment method in the API dashboard. Usage bills per second at $0.49 per hour of dictation and $0.39 per hour of transcription, with a 10-second minimum. Stripe invoices monthly, or when usage reaches $200. Failed requests and idempotent replays are not billed.

Billing errors are 402 payment_method_required, 402 billing_past_due, and 403 subscription_required. Their bodies carry billing_url, which opens the API dashboard billing page.

Data handling

Aqua staff can set an API account to zero data retention (ZDR). Contact Aqua to set it. On a ZDR account, each dictation uses privacy mode and only ZDR providers. The settings of the user cannot change this. A platform account is always a ZDR account.

For a dictation on a ZDR account, Aqua does not keep the audio or the text. Aqua keeps only metadata: the audio duration, the models, the latency, and the billing record. When you send an Idempotency-Key, Aqua keeps the encrypted response for approximately 10 minutes after the request starts, so that a retry gets the same result. Then Aqua deletes it. For a dictation on a platform account, Aqua also keeps no session.

On a ZDR account, only these subprocessors can see the content of a dictation while Aqua processes it: Baseten for speech recognition and text formatting, and, as fallback providers, Groq, OpenRouter, Google, Speechmatics, and Aqua servers at RunPod.

Connect with MCP

Use Aqua sessions, transcript customizations, and settings from an AI assistant.

Set up your connection, review permissions, and browse the available tools in the MCP documentation. Read the MCP documentation

Account

Current user, credential, and history availability.

Get the current user

GET /me

This operation remains available when enterprise retention policy blocks stored dictation history; in that case history_available is false.

Parameters

Aqua-Userstring

Header. Required with an organization key on product and dictation routes: the member's user id, the same id GET /me returns. A missing header returns 400 user_required; a user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header.

Pattern: ^usr_[0-9a-f]{32}$

Shell
curl https://api.aquavoice.com/v1/me \
  -H "Authorization: Bearer <api-key>"
JSON
{
  "id": "usr_1daef426873f44baaf2096903dc7283e",
  "object": "user",
  "email": "maya@northstar.studio",
  "name": "Maya Chen",
  "created_at": "2026-08-11T17:03:00Z",
  "credential": {
    "id": "key_7d4d4d5ad69942fe9ceef628f5ba7bdd",
    "method": "api_key",
    "scopes": [
      "read"
    ]
  },
  "plan": "pro",
  "privacy_mode": false,
  "history_available": true
}

Sessions

Stored dictations, including transcripts.

List or search stored sessions

GET /sessions

Scope: read

Returns the user's visible stored dictations, newest first. Redacted and deleted sessions and history cleared by the user are excluded. Privacy mode stops future storage but does not hide earlier history. Enterprise zero-data-retention policy blocks product history. Search requires all meaningful query words to occur in one transcript. Results identify the matching source and include a centered snippet. Reads never start new AI work. One request reads a bounded part of the history, so a page can have fewer results than limit, or none, while has_more is true. Use next_cursor to read older sessions, or since and until to narrow a search. With expand=transcript, each session also has its complete transcript, so you can export the history one page at a time.

Parameters

Aqua-Userstring

Header. Required with an organization key on product and dictation routes: the member's user id, the same id GET /me returns. A missing header returns 400 user_required; a user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header.

Pattern: ^usr_[0-9a-f]{32}$

cursorstring

Query parameter. Opaque next_cursor from the previous page. Cursors expire after 30 days and are bound to the original filters. A changed or expired cursor returns invalid_cursor.

Length: 0–2048

limitinteger

Query parameter.

Default: 25 · Range: 1–100

querystring

Query parameter.

Length: 1–500

appstring

Query parameter. Only the sessions in the apps whose name or bundle ID has this text. Case does not matter.

Length: 1–200

sincestring

Query parameter.

untilstring

Query parameter.

expandstring

Query parameter. A comma-separated list of the parts to add to each session: transcript. Another value returns 400 invalid_expand.

Shell
curl https://api.aquavoice.com/v1/sessions \
  -H "Authorization: Bearer <api-key>"
JSON
{
  "object": "list",
  "data": [
    {
      "object": "session",
      "id": "ses_a1e2c85b1cbf43af9dc678a1a7423dcc",
      "created_at": "2026-08-11T17:03:00Z",
      "updated_at": "2026-08-11T17:03:00Z",
      "status": "stopped",
      "title": "The beta is stable enough to expand next week.",
      "app": "Zoom",
      "duration_seconds": 1842.7,
      "word_count": 4218,
      "preview": "The beta is stable enough to expand next week."
    }
  ],
  "has_more": false,
  "next_cursor": null
}

Get a stored session

GET /sessions/{session_id}

Scope: read

Parameters

session_idstring, required

Path parameter. A missing session and a session owned by another user both return 404 session_not_found.

Pattern: ^ses_[0-9a-f]{32}$

Aqua-Userstring

Header. Required with an organization key on product and dictation routes: the member's user id, the same id GET /me returns. A missing header returns 400 user_required; a user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header.

Pattern: ^usr_[0-9a-f]{32}$

Shell
curl https://api.aquavoice.com/v1/sessions/ses_a1e2c85b1cbf43af9dc678a1a7423dcc \
  -H "Authorization: Bearer <api-key>"
JSON
{
  "object": "session",
  "id": "ses_a1e2c85b1cbf43af9dc678a1a7423dcc",
  "created_at": "2026-08-11T17:03:00Z",
  "updated_at": "2026-08-11T17:03:00Z",
  "status": "stopped",
  "title": "The beta is stable enough to expand next week.",
  "app": "Zoom",
  "duration_seconds": 1842.7,
  "word_count": 4218,
  "preview": "The beta is stable enough to expand next week.",
  "screenshots": [
    {
      "id": "scr_7d2e1f0a9c8b4a6e8d5c3b1a0f9e8d7c",
      "captured_at": "2026-08-11T17:03:00Z",
      "width": 1440,
      "height": 900
    }
  ]
}

Get a stored session transcript

GET /sessions/{session_id}/transcript

Scope: read

Returns the complete final text and, when stored, the complete raw ASR text.

Parameters

session_idstring, required

Path parameter. A missing session and a session owned by another user both return 404 session_not_found.

Pattern: ^ses_[0-9a-f]{32}$

Aqua-Userstring

Header. Required with an organization key on product and dictation routes: the member's user id, the same id GET /me returns. A missing header returns 400 user_required; a user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header.

Pattern: ^usr_[0-9a-f]{32}$

Shell
curl https://api.aquavoice.com/v1/sessions/ses_a1e2c85b1cbf43af9dc678a1a7423dcc/transcript \
  -H "Authorization: Bearer <api-key>"
JSON
{
  "object": "transcript",
  "session_id": "ses_a1e2c85b1cbf43af9dc678a1a7423dcc",
  "final_text": "The beta is stable enough to expand next week.",
  "raw_text": "the beta is stable enough to expand next week"
}

Get a session screenshot

GET /sessions/{session_id}/screenshots/{screenshot_id}

Scope: read

The JPEG bytes of one pen screenshot of the session, with Cache-Control: no-store. The screenshot can show what other people wrote.

Parameters

session_idstring, required

Path parameter. A missing session and a session owned by another user both return 404 session_not_found.

Pattern: ^ses_[0-9a-f]{32}$

Aqua-Userstring

Header. Required with an organization key on product and dictation routes: the member's user id, the same id GET /me returns. A missing header returns 400 user_required; a user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header.

Pattern: ^usr_[0-9a-f]{32}$

screenshot_idstring, required

Path parameter. A screenshot that is not on this session returns 404 screenshot_not_found.

Pattern: ^scr_[0-9a-f]{32}$

Shell
curl https://api.aquavoice.com/v1/sessions/ses_a1e2c85b1cbf43af9dc678a1a7423dcc/screenshots/scr_7d2e1f0a9c8b4a6e8d5c3b1a0f9e8d7c \
  -H "Authorization: Bearer <api-key>"

Set session feedback

POST /sessions/{session_id}/feedback

Scope: write

Creates or replaces feedback for one owned session. corrected_text is the exact text the user wanted instead of Aqua's output.

Parameters

session_idstring, required

Path parameter. A missing session and a session owned by another user both return 404 session_not_found.

Pattern: ^ses_[0-9a-f]{32}$

Aqua-Userstring

Header. Required with an organization key on product and dictation routes: the member's user id, the same id GET /me returns. A missing header returns 400 user_required; a user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header.

Pattern: ^usr_[0-9a-f]{32}$

Body

feedback_typestring enum, required

One of: positive negative

messagestring

What Aqua got right or wrong.

Length: 0–5000

corrected_textstring

Exact corrected output.

Length: 0–40000

Shell
curl -X POST https://api.aquavoice.com/v1/sessions/ses_a1e2c85b1cbf43af9dc678a1a7423dcc/feedback \
  -H "Authorization: Bearer <api-key>" \
  -H "Content-Type: application/json" \
  -d '{"feedback_type":"positive","message":"...","corrected_text":"..."}'
JSON
{
  "object": "session_feedback",
  "session_id": "ses_a1e2c85b1cbf43af9dc678a1a7423dcc",
  "feedback_type": "positive",
  "message": "Keep the product name capitalized.",
  "corrected_text": "Send this from Aqua Voice.",
  "updated_at": "2026-08-11T17:03:00Z"
}

Clear session feedback

DELETE /sessions/{session_id}/feedback

Scope: write

Removes any feedback stored for the session.

Parameters

session_idstring, required

Path parameter. A missing session and a session owned by another user both return 404 session_not_found.

Pattern: ^ses_[0-9a-f]{32}$

Aqua-Userstring

Header. Required with an organization key on product and dictation routes: the member's user id, the same id GET /me returns. A missing header returns 400 user_required; a user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header.

Pattern: ^usr_[0-9a-f]{32}$

Shell
curl -X DELETE https://api.aquavoice.com/v1/sessions/ses_a1e2c85b1cbf43af9dc678a1a7423dcc/feedback \
  -H "Authorization: Bearer <api-key>"

Dictation

Aqua dictation and voice editing with the user's preferences and customizations.

Dictate or edit text

POST /dictations

Scope: dictation

Turns speech into finished text; see Dictation. The request stays open while Aqua transcribes and formats the audio, for up to 210 seconds.

An upload that does not finish in 30 seconds returns 408 upload_timeout.

Send an Idempotency-Key and retry the same request with the same key if the connection closes. A terminal result replays the same response for 24 hours without another charge. On a zero-data-retention account, it replays for 10 minutes. After Aqua dispatches the audio, an uncertain upstream failure is terminal for that key so a retry cannot create a second dictation. If Aqua cannot send the audio for processing, the error is retryable and has a Retry-After header. A retry with the same key runs the dictation again.

Aqua applies the user's language setting, dictionary, replacements, custom instructions, and casual messaging preference. A request language overrides the saved language for this dictation. The returned session_id identifies the session stored in Aqua history. Privacy and zero-data-retention settings still apply: the text is returned to the caller but is not stored when retention is off. A zero-data-retention account always applies them; see Data handling.

An organization key acts as one member: send Aqua-User with the member's user id. The dictation is billed to the account that owns the key.

A platform key uses no stored personalization. Send dictionary, replacements, instructions, and casual_messaging with each dictation; Aqua uses them for that dictation only and does not store them. Aqua keeps no session for the dictation, so session_id is null. Send Aqua-End-User to identify your end user. One end user can have 2 dictations in progress at the same time; more return 429 end_user_concurrency_limit_exceeded. Other accounts that send these fields or this header get 400 platform_only_parameter.

Use operation=edit with selected_text to run Edit Mode. The optional text and app fields give Aqua the same surrounding context it uses when dictating into an app.

Dictate and Edit Mode bill at the same rate; see Billing.

Every response, a success or an error, has an X-Request-Id header. Give this ID to Aqua support to find the request. A replayed response has the ID of the original request.

Parameters

Idempotency-Keystring

Header. Optional idempotency value. Use the same value of 1–255 printable ASCII characters for retries of one logical request. Terminal results replay for 24 hours, or 10 minutes for a dictation on a zero-data-retention account; different request content returns 409 idempotency_conflict.

Length: 1–255

Aqua-Userstring

Header. Required with an organization key on product and dictation routes: the member's user id, the same id GET /me returns. A missing header returns 400 user_required; a user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header.

Pattern: ^usr_[0-9a-f]{32}$

Aqua-End-Userstring

Header. Platform keys only. An opaque value that identifies your end user, for example a hashed user id. Aqua uses it only to limit each end user to 2 dictations in progress and does not store it.

Length: 1–256

Body (multipart/form-data)

audiofile, required

A FLAC, WAV, MP3, M4A, Ogg Opus, or WebM file. Use 16 kHz mono FLAC if you can: it uses less bandwidth than WAV and loses no audio. The 10-minute limit and billing use the decoded duration. The maximum size of an Opus file is 19.2 MB. Use an Opus bitrate of more than 48 kbps, because short clips at lower bitrates can give empty text.

operationstring enum

Use edit to apply the spoken instruction to selected_text.

One of: dictate edit

Default: dictate

selected_textstring

Required when operation is edit.

Length: 0–6000

languageLanguageCode | "zh"

Send it when you know the language. See Dictation for auto and the languages with the best quality.

appstring

Name of the app where the text will be used.

Length: 0–255

app_bundle_idstring

Bundle ID or package name for the app.

Length: 0–255

text_beforestring

Text immediately before the insertion or selection. Send all of it. Aqua reads the text nearest the cursor to spell names and terms. Do not put instructions here.

Length: 0–100000

text_afterstring

Text immediately after the insertion or selection. Send all of it. Aqua reads the text nearest the cursor to spell names and terms. Do not put instructions here.

Length: 0–100000

focused_element_descriptionstring

Accessible description of the target text field.

Length: 0–1000

dictionarystring

Platform keys only. A JSON array of up to 1,000 terms to spell correctly, such as names and products. Each term has 1–100 characters. The whole value can be up to 32 KiB.

replacementsstring

Platform keys only. A JSON array of up to 200 {"from", "to"} pairs. Aqua replaces each from phrase with its to text in a dictation. Each value has 1–100 characters. The whole value can be up to 32 KiB.

instructionsstring

Platform keys only. How to format the text, such as "No final period" or "Use lowercase".

Length: 0–32768

casual_messagingstring enum

Platform keys only. Writes short messages in a casual style, as the casual messaging setting does in the Aqua app.

One of: true false

Shell
curl -X POST https://api.aquavoice.com/v1/dictations \
  -H "Authorization: Bearer <api-key>" \
  -F "audio=@audio.wav" \
  -F "operation=dictate" \
  -F "language=auto"
JSON
{
  "object": "dictation",
  "session_id": "ses_a1e2c85b1cbf43af9dc678a1a7423dcc",
  "operation": "dictate",
  "raw_text": "hello aqua can you send the update",
  "text": "Hello, Aqua! Can you send the update?",
  "language": null,
  "duration_seconds": 2.84,
  "edit_unclear": false,
  "edit_deleted": false
}

Customizations

Dictionary terms, text replacements, and custom transcript instructions.

Get transcript customizations

GET /customizations

Scope: read

Parameters

Aqua-Userstring

Header. Required with an organization key on product and dictation routes: the member's user id, the same id GET /me returns. A missing header returns 400 user_required; a user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header.

Pattern: ^usr_[0-9a-f]{32}$

Shell
curl https://api.aquavoice.com/v1/customizations \
  -H "Authorization: Bearer <api-key>"
JSON
{
  "object": "customizations",
  "revision": 12,
  "updated_at": "2026-08-11T17:03:00Z",
  "dictionary": [
    "Aquaphone"
  ],
  "replacements": [
    {
      "from": "AV",
      "to": "Aqua Voice"
    }
  ],
  "custom_instructions": "Keep issue keys such as AQUA-142 in uppercase."
}

Apply transcript customization operations

PATCH /customizations

Scope: write

Applies all operations atomically against the latest state. Each operation says what to want, not what to change, so no read is needed first. Send expected_revision to refuse a write over a newer change (409 transcript_customizations_conflict). Send dry_run: true to get the would-be state and results without saving.

Customizations that are too large return 413 transcript_customizations_too_large.

Parameters

Aqua-Userstring

Header. Required with an organization key on product and dictation routes: the member's user id, the same id GET /me returns. A missing header returns 400 user_required; a user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header.

Pattern: ^usr_[0-9a-f]{32}$

Body

expected_revisioninteger

Optional. When present, the write fails with 409 unless this is the current revision.

Range: 0–…

dry_runboolean

Validate and compute the response without saving.

Default: false

operationsarray of CustomizationOperation, required

Items: 1–100

Shell
curl -X PATCH https://api.aquavoice.com/v1/customizations \
  -H "Authorization: Bearer <api-key>" \
  -H "Content-Type: application/json" \
  -d '{"expected_revision":42,"dry_run":true,"operations":[{"type":"dictionary_add","word":"..."}]}'
JSON
null

Settings

Aqua app preferences supported by the public API.

Get app settings

GET /settings

Scope: read

Parameters

Aqua-Userstring

Header. Required with an organization key on product and dictation routes: the member's user id, the same id GET /me returns. A missing header returns 400 user_required; a user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header.

Pattern: ^usr_[0-9a-f]{32}$

Shell
curl https://api.aquavoice.com/v1/settings \
  -H "Authorization: Bearer <api-key>"
JSON
{
  "object": "settings",
  "language": "auto",
  "casual_messaging": true
}

Update app settings

PATCH /settings

Scope: write

Only fields present in the request change. Null values and unknown fields are rejected.

Parameters

Aqua-Userstring

Header. Required with an organization key on product and dictation routes: the member's user id, the same id GET /me returns. A missing header returns 400 user_required; a user who is not an active member returns 403 user_not_member. Transcription routes and personal keys ignore the header.

Pattern: ^usr_[0-9a-f]{32}$

Body

languageLanguageCode

One of: auto ar be bn bg yue ca hr cs da nl en et fi fr gl de el he hi hu id ga it ja ko lv lt ms mt cmn mr mn no fa pl pt ro ru sl es sw sv ta th tr uk ur vi cy yi

casual_messagingboolean
Shell
curl -X PATCH https://api.aquavoice.com/v1/settings \
  -H "Authorization: Bearer <api-key>" \
  -H "Content-Type: application/json" \
  -d '{"language":"auto","casual_messaging":true}'
JSON
{
  "object": "settings",
  "language": "auto",
  "casual_messaging": true
}

Transcription (Avalon)

Avalon batch speech-to-text. OpenAI-compatible.

CompatibilityUse the official OpenAI Python or JavaScript SDK with the base URL https://api.aquavoice.com/v1 and model avalon-2.
TimeoutsSynchronous requests wait up to 210 seconds. If a stored job returns 504 request_timeout, its body carries error.job_id; poll that job to follow its status.
RetriesSend a 1–255-character Idempotency-Key with retries. Matching results replay the same response for 24 hours without another charge. Different request content with the same key returns 409.
LimitsResponses include x-should-retry and, when applicable, Retry-After and x-ratelimit-* headers. Rates are listed under Billing .

Transcribe audio synchronously

POST /audio/transcriptions

Scope: transcription

Uses a 210-second overall deadline. If the wait times out after the job is stored, processing continues and the 504 request_timeout error body carries error.job_id; poll that job to follow its status. The x-request-id response header carries the same value.

Takes 90 minutes of audio at most, because the connection waits for the transcript. Longer audio gets 400 audio_too_long_for_sync; send it to POST /v1/audio/transcription-jobs.

An upload that stops or is too slow returns 408 upload_timeout.

Parameters

Idempotency-Keystring

Header. Optional idempotency value. Use the same value of 1–255 printable ASCII characters for retries of one logical request. Terminal results replay for 24 hours, or 10 minutes for a dictation on a zero-data-retention account; different request content returns 409 idempotency_conflict.

Length: 1–255

X-Client-Request-Idstring

Header. Optional printable ASCII correlation value of up to 512 characters. It does not provide idempotency.

Length: 0–512

Body (multipart/form-data)

filefile, required

Audio in flac, mp3, mp4, mpeg, mpga, m4a, ogg, opus, wav, or webm format. Maximum 256 MiB and four hours of decoded audio.

modelstring enum, required

The model. avalon-v1.5 is a deprecated name for avalon-2.

One of: avalon-2 avalon-v1.5

languagestring

ISO 639-1 language code. Omit it or use auto to detect the language.

promptstring

Text that helps Aqua transcribe the audio, such as names and terms that it contains.

response_formatstring enum

Response format. Defaults to json, or to diarized_json when diarize is true. A diarized transcription supports only diarized_json, srt, and vtt.

One of: json text srt vtt verbose_json diarized_json

Default: json

diarizeboolean

Labels who speaks each word. The result has speaker turns with word timings. Speaker IDs (spk_0, spk_1, ...) are in order of first speech. A transcription has a maximum of 8 speakers.

Default: false

max_speakersinteger

The maximum number of speaker labels. Only with diarize. The speakers with the most detected speech keep their labels; words of other speakers go to the closest kept speaker. It does not change how many speakers the model detects.

Range: 1–8

temperaturenumber enum

Compatibility no-op. Nonzero values are unsupported.

One of: 0

streamboolean enum

Avalon is batch-only, so only false is accepted.

One of: false

Default: false

timestamp_granularitiesarray of string enum

Only segment is supported, and only with verbose_json.

Shell
curl -X POST https://api.aquavoice.com/v1/audio/transcriptions \
  -H "Authorization: Bearer <api-key>" \
  -F "file=@audio.mp3" \
  -F "model=avalon-2" \
  -F "language=auto"
JSON
{
  "text": "The beta is stable enough to expand next week.",
  "usage": {
    "type": "duration",
    "seconds": 17.8
  }
}

Start an asynchronous transcription

POST /audio/transcription-jobs

Scope: transcription

Returns after the audio is validated and the job is stored. Poll the returned job ID or fetch its result when result_url is present.

A retry with the same Idempotency-Key returns the same job.

An account with too many unfinished jobs gets 429 outstanding_job_limit_exceeded with Retry-After.

An upload that stops or is too slow returns 408 upload_timeout.

Parameters

Idempotency-Keystring

Header. Optional idempotency value. Use the same value of 1–255 printable ASCII characters for retries of one logical request. Terminal results replay for 24 hours, or 10 minutes for a dictation on a zero-data-retention account; different request content returns 409 idempotency_conflict.

Length: 1–255

X-Client-Request-Idstring

Header. Optional printable ASCII correlation value of up to 512 characters. It does not provide idempotency.

Length: 0–512

Body (multipart/form-data)

filefile, required

Audio in flac, mp3, mp4, mpeg, mpga, m4a, ogg, opus, wav, or webm format. Maximum 256 MiB and four hours of decoded audio.

modelstring enum, required

The model. avalon-v1.5 is a deprecated name for avalon-2.

One of: avalon-2 avalon-v1.5

languagestring

ISO 639-1 language code. Omit it or use auto to detect the language.

promptstring

Text that helps Aqua transcribe the audio, such as names and terms that it contains.

response_formatstring enum

Response format. Defaults to json, or to diarized_json when diarize is true. A diarized transcription supports only diarized_json, srt, and vtt.

One of: json text srt vtt verbose_json diarized_json

Default: json

diarizeboolean

Labels who speaks each word. The result has speaker turns with word timings. Speaker IDs (spk_0, spk_1, ...) are in order of first speech. A transcription has a maximum of 8 speakers.

Default: false

max_speakersinteger

The maximum number of speaker labels. Only with diarize. The speakers with the most detected speech keep their labels; words of other speakers go to the closest kept speaker. It does not change how many speakers the model detects.

Range: 1–8

temperaturenumber enum

Compatibility no-op. Nonzero values are unsupported.

One of: 0

streamboolean enum

Avalon is batch-only, so only false is accepted.

One of: false

Default: false

timestamp_granularitiesarray of string enum

Only segment is supported, and only with verbose_json.

Shell
curl -X POST https://api.aquavoice.com/v1/audio/transcription-jobs \
  -H "Authorization: Bearer <api-key>" \
  -F "file=@audio.mp3" \
  -F "model=avalon-2" \
  -F "language=auto"
JSON
{
  "id": "req_01k2j4wr1ns8h4f7s2ckm6h1p9",
  "object": "transcription.job",
  "status": "queued",
  "created_at": "2026-08-11T17:03:00Z",
  "completed_at": null,
  "audio_duration_seconds": 17.8,
  "error_code": null,
  "result_url": null
}

Get an asynchronous transcription job

GET /audio/transcription-jobs/{job_id}

Scope: transcription

Parameters

job_idstring, required

Path parameter.

Shell
curl https://api.aquavoice.com/v1/audio/transcription-jobs/... \
  -H "Authorization: Bearer <api-key>"
JSON
{
  "id": "req_01k2j4wr1ns8h4f7s2ckm6h1p9",
  "object": "transcription.job",
  "status": "queued",
  "created_at": "2026-08-11T17:03:00Z",
  "completed_at": null,
  "audio_duration_seconds": 17.8,
  "error_code": null,
  "result_url": null
}

Get a completed transcription result

GET /audio/transcription-jobs/{job_id}/result

Scope: transcription

Returns 409 job_not_complete while the job is queued. The error is retryable and includes the standard retry headers.

An expired result returns 410 job_result_expired.

Parameters

job_idstring, required

Path parameter.

Shell
curl https://api.aquavoice.com/v1/audio/transcription-jobs/.../result \
  -H "Authorization: Bearer <api-key>"
JSON
{
  "text": "The beta is stable enough to expand next week.",
  "usage": {
    "type": "duration",
    "seconds": 17.8
  }
}

List transcription models

GET /models

Scope: transcription

Shell
curl https://api.aquavoice.com/v1/models \
  -H "Authorization: Bearer <api-key>"
JSON
{
  "object": "list",
  "data": [
    {
      "id": "avalon-v1.5",
      "object": "model",
      "created": 1754870400,
      "owned_by": "aqua"
    }
  ]
}

Get a transcription model

GET /models/{model}

Scope: transcription

Parameters

modelstring, required

Path parameter.

Shell
curl https://api.aquavoice.com/v1/models/avalon-2 \
  -H "Authorization: Bearer <api-key>"
JSON
{
  "id": "avalon-v1.5",
  "object": "model",
  "created": 1754870400,
  "owned_by": "aqua"
}

Objects

Request and response objects. Treat enum values as open sets.

Principal

idstring, required

Pattern: ^usr_[0-9a-f]{32}$

object"user", required
emailstring, required
namestring, required
created_atstring, nullable, required
credentialCredential, required
planstring enum, required

One of: free pro max team enterprise

privacy_modeboolean, required
history_availableboolean, required

True when enterprise policy permits stored dictation history.

JSON
{
  "id": "usr_1daef426873f44baaf2096903dc7283e",
  "object": "user",
  "email": "maya@northstar.studio",
  "name": "Maya Chen",
  "created_at": "2026-08-11T17:03:00Z",
  "credential": {
    "id": "key_7d4d4d5ad69942fe9ceef628f5ba7bdd",
    "method": "api_key",
    "scopes": [
      "read"
    ]
  },
  "plan": "pro",
  "privacy_mode": false,
  "history_available": true
}

SessionSummary

object"session", required
idstring, required

Pattern: ^ses_[0-9a-f]{32}$

created_atstring, required
updated_atstring, required

The last change to the session or its text.

statusstring, required
titlestring, required
appstring, nullable, required
duration_secondsnumber, nullable, required
word_countinteger, required
previewstring, required
matchSessionSearchMatch
transcriptSessionTranscript
JSON
{
  "object": "session",
  "id": "ses_a1e2c85b1cbf43af9dc678a1a7423dcc",
  "created_at": "2026-08-11T17:03:00Z",
  "updated_at": "2026-08-11T17:03:00Z",
  "status": "stopped",
  "title": "The beta is stable enough to expand next week.",
  "app": "Zoom",
  "duration_seconds": 1842.7,
  "word_count": 4218,
  "preview": "The beta is stable enough to expand next week.",
  "match": {
    "source": "final_text",
    "snippet": "The team approved a wider beta for Tuesday."
  },
  "transcript": {
    "object": "transcript",
    "session_id": "ses_a1e2c85b1cbf43af9dc678a1a7423dcc",
    "final_text": "The beta is stable enough to expand next week.",
    "raw_text": "the beta is stable enough to expand next week"
  }
}

SessionDetail

object"session", required
idstring, required

Pattern: ^ses_[0-9a-f]{32}$

created_atstring, required
updated_atstring, required

The last change to the session or its text.

statusstring, required
titlestring, required
appstring, nullable, required
duration_secondsnumber, nullable, required
word_countinteger, required
previewstring, required
screenshotsarray of SessionScreenshot, required

The pen screenshots that the user took with this dictation, oldest first.

JSON
{
  "object": "session",
  "id": "ses_a1e2c85b1cbf43af9dc678a1a7423dcc",
  "created_at": "2026-08-11T17:03:00Z",
  "updated_at": "2026-08-11T17:03:00Z",
  "status": "stopped",
  "title": "The beta is stable enough to expand next week.",
  "app": "Zoom",
  "duration_seconds": 1842.7,
  "word_count": 4218,
  "preview": "The beta is stable enough to expand next week.",
  "screenshots": [
    {
      "id": "scr_7d2e1f0a9c8b4a6e8d5c3b1a0f9e8d7c",
      "captured_at": "2026-08-11T17:03:00Z",
      "width": 1440,
      "height": 900
    }
  ]
}

SessionTranscript

object"transcript", required
session_idstring, required

Pattern: ^ses_[0-9a-f]{32}$

final_textstring, required
raw_textstring, nullable, required
JSON
{
  "object": "transcript",
  "session_id": "ses_a1e2c85b1cbf43af9dc678a1a7423dcc",
  "final_text": "The beta is stable enough to expand next week.",
  "raw_text": "the beta is stable enough to expand next week"
}

DictationResult

object"dictation", required
session_idstring, nullable, required

The session in Aqua history. With retention off, the session has no text and is not in history. It is null for a platform account, because Aqua keeps no session for its dictations.

Pattern: ^ses_[0-9a-f]{32}$

operationstring enum, required

One of: dictate edit

raw_textstring, nullable, required

Speech recognition output before Aqua formatting. It can be null, because not every dictation has a separate transcript.

textstring, required

Final Aqua text, ready to insert or use as the edit replacement.

languageobject, required

The detected language when one was reported. Otherwise it is the requested language, which can be auto.

duration_secondsnumber, required

Range: 0–…

edit_unclearboolean, required

True when Edit Mode could not determine the requested change.

edit_deletedboolean, required

True when Edit Mode intentionally removed the selected text.

JSON
{
  "object": "dictation",
  "session_id": "ses_a1e2c85b1cbf43af9dc678a1a7423dcc",
  "operation": "dictate",
  "raw_text": "hello aqua can you send the update",
  "text": "Hello, Aqua! Can you send the update?",
  "language": null,
  "duration_seconds": 2.84,
  "edit_unclear": false,
  "edit_deleted": false
}

SessionFeedback

object"session_feedback", required
session_idstring, required

Pattern: ^ses_[0-9a-f]{32}$

feedback_typestring enum, required

One of: positive negative

messagestring, nullable, required
corrected_textstring, nullable, required
updated_atstring, required
JSON
{
  "object": "session_feedback",
  "session_id": "ses_a1e2c85b1cbf43af9dc678a1a7423dcc",
  "feedback_type": "positive",
  "message": "Keep the product name capitalized.",
  "corrected_text": "Send this from Aqua Voice.",
  "updated_at": "2026-08-11T17:03:00Z"
}

Customizations

object"customizations", required
revisioninteger, required

Range: 0–…

updated_atstring, required
dictionaryarray of string, required
replacementsarray of Replacement, required
custom_instructionsstring, required
warningstring

Only in an update result. Present when the dictionary is longer than speech recognition reads.

JSON
{
  "object": "customizations",
  "revision": 12,
  "updated_at": "2026-08-11T17:03:00Z",
  "dictionary": [
    "Aquaphone"
  ],
  "replacements": [
    {
      "from": "AV",
      "to": "Aqua Voice",
      "preserve_case": true,
      "never_add_punctuation": true
    }
  ],
  "custom_instructions": "Keep issue keys such as AQUA-142 in uppercase.",
  "warning": "..."
}

Settings

object"settings", required
languageLanguageCode | null, required
casual_messagingboolean, nullable, required
JSON
{
  "object": "settings",
  "language": "auto",
  "casual_messaging": true
}

ErrorEnvelope

errorErrorDetail, required
JSON
{
  "error": {
    "code": "payment_method_required",
    "message": "Add a payment method to continue",
    "details": {},
    "docs_url": "https://aquavoice.com/docs/api#billing",
    "billing_url": "https://app.aquavoice.com/api-dashboard?tab=billing"
  }
}

Transcription

task"transcribe"
textstring, required
languagestring

The language of the transcript, as an ISO 639-1 code. In auto, the language of most of its words.

durationnumber
segmentsarray of object
usageobject, required
JSON
{
  "task": "transcribe",
  "text": "The beta is stable enough to expand next week.",
  "language": "en",
  "duration": 17.8,
  "segments": [
    {
      "start": 0,
      "end": 4.2,
      "text": "The beta is stable enough to expand next week."
    }
  ],
  "usage": {
    "type": "duration",
    "seconds": 17.8
  }
}

TranscriptionJob

idstring, required
object"transcription.job", required
statusstring enum, required

One of: queued succeeded failed abandoned

created_atstring, required
completed_atstring, nullable, required
audio_duration_secondsnumber, nullable, required
error_codestring, nullable, required
result_urlstring, nullable, required
JSON
{
  "id": "req_01k2j4wr1ns8h4f7s2ckm6h1p9",
  "object": "transcription.job",
  "status": "queued",
  "created_at": "2026-08-11T17:03:00Z",
  "completed_at": null,
  "audio_duration_seconds": 17.8,
  "error_code": null,
  "result_url": null
}

Model

idstring, required
object"model", required
createdinteger, required
owned_by"aqua", required
JSON
{
  "id": "avalon-v1.5",
  "object": "model",
  "created": 1754870400,
  "owned_by": "aqua"
}

AvalonError

errorobject, required
JSON
{
  "error": {
    "message": "The uploaded file exceeds the size limit.",
    "type": "invalid_request_error",
    "param": "file",
    "code": "audio_too_large",
    "job_id": "req_01k2j4wr1ns8h4f7s2ckm6h1p9",
    "docs_url": "...",
    "billing_url": "..."
  }
}