Documentation menu
Voice
GET/v1/voice/bank
Access and price
| Auth | An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Not metered: it draws no quota and no credit. Needs a full key; a browser (maps) key is refused. |
|---|---|
| Price | Not metered: no quota, no credit. |
What it does
List the clips this deployment already has, so the app can bundle the closed-grammar bank at build time.
An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Not metered: it draws no quota and no credit.
Call it
bash
curl -fsS -X GET "https://api.mapmap.ai/v1/voice/bank?format=…" \
-H "Authorization: Bearer $MAPMAP_KEY"Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| voice | query | string | no | Registry voice id to list (en-gb-f, amelia, fr-fr-1). Absent
is the en-GB default (en-gb-f; it was amelia until 5 Oct 2026),
so a bundler of Amelia's clips names her. |
| format | query | string | yes | Container: opus or m4a. |
| limit | query | integer | no | Page size, 1–1000 (default 1000). Limits: at least 0. |
| after | query | string | no | Resume after this hash: the next_after of the previous page. |
Responses
200Cached clips for one voice and format, paged by hash
| Field | Type | Required | Description |
|---|---|---|---|
| clips | BankClip[] | yes | Clips cached for this voice and format, ordered by hash. |
| format | string | yes | The container these clips are in. |
| next_after | string | no | Pass as after for the next page; absent on the last page. |
| total | integer | yes | Clips cached in total for this voice and format, across all pages. |
| voice | VoiceDescriptor | yes | The voice, provider and model these clips were rendered with. |
Example: A response assembled from this schema's own field examples, enums, defaults and types; not a recorded call
json
{
"clips": [
{
"bytes": 0,
"created_at": "string",
"hash": "string",
"rate": 0,
"text": "string",
"url": "string",
"voice": "string"
}
],
"format": "string",
"total": 0,
"voice": {
"gender": "female",
"id": "string",
"model": "string",
"provider": "string"
}
}400Invalid query, or
unknown_voiceapplication/problem+json · Problem
401Missing or invalid API key. Also: No key, or a missing, malformed, unknown, revoked or expired one (
unauthorized)application/problem+json · Problem
403Not an operator key: the bank listing is for build-time bundling by the operator. Also: A browser (
maps-scoped) key on a route that needs a full-scope key (scope-insufficient)application/problem+json · Problem
501Voice clips are not enabled
application/problem+json · Problem
504The request did not finish within the gateway's request deadline (
request-timeout)application/problem+json · Problem
Error bodies follow the shared problem model documented on API conventions.
Also under Voice
Generated from https://api.mapmap.ai/openapi.json on 2026-11-12 · operationId get_bank