Skip to content

AI & LLM

ElevenLabs mock API

ElevenLabs API: voices, history, pronunciation dictionaries, conversational agents, conversations and workspace webhooks with signed post_call_transcription deliveries; audio and inference endpoints answer deterministic samples.

At a glance

Operations
547
Stateful operations
32
Stateful resources
6
Webhook events
1
Vendor API version
v1 (spec info.version 1.0)
Verification
Spec-verified

How it works

Use ElevenLabs without calling ElevenLabs Inc.

xi-api-key: sk_MockElevenLabsKey0123456789

State

Resources that remember

Writes persist per caller, so a create followed by a read returns what you created.

ResourceOperations
Voices7
History3
Pronunciation dictionaries7
Conversational agents6
Conversations4
Workspace webhooks5

Webhooks

Events your handlers can receive

Deliveries are signed with the hmac scheme, so your verification code runs unchanged.

Coverage

547 operations

32 of them are stateful. The largest groups:

GroupOperations
Other operations515
Pronunciation dictionaries7
Voices7
Conversational agents6
Workspace webhooks5
Conversations4

Verification

Spec-verified

Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.

12 operations cannot be checked against the specification.

Source and limits

License, source and limits

Each collection holds up to 1 MiB of objects per API key; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Stateful: voices (3 seeded premade voices that cannot be edited or deleted, one seeded cloned voice; POST /v1/voices/add reads the form fields only, the uploaded sample bytes are not stored and uploads above 1 MiB are rejected by the runtime with 413, VS_MAX_BODY_BYTES), voice settings, speech history (3 seeded items; text-to-speech calls are not logged), pronunciation dictionaries (add-rules, remove-rules and set-rules each issue a new version_id; add-from-file is a stateless sample), conversational agents (create, get, patch, duplicate, delete, cursor list), conversations (created as processing, derived done after 1.5 s, an unknown agent id is accepted; transcript and analysis are fixed samples) and workspace webhooks. Webhooks are delivered to every enabled workspace webhook of the key: post_call_transcription 1.5 s after a conversation is created and the webhook_type named by POST /v1/workspace/webhooks/{id}/test, signed as ElevenLabs-Signature: t=<unix seconds>,v0=<hex HMAC-SHA256 of '<t>.<raw body>'> with the secret returned at creation (wsec_...); the ElevenLabs-Webhook-Delivery-Id header carries a generated id and no automatic retries, auto-disabling or other event types are produced. The seeded webhook is disabled. Audio, speech-to-text, dubbing, voice-changer and every other operation answer deterministic schema-valid samples with no real synthesis. Not-found errors use {detail:{status:'<resource>_not_found',message}} (voice_not_found is the documented one). 7 operations whose vendor response schema is internally inconsistent are not verified. A fresh key owns 4 voices, 3 history items, 1 pronunciation dictionary, 1 agent, 1 conversation and 1 webhook.

MaxoPerf is not affiliated with, endorsed by, or sponsored by ElevenLabs Inc. ElevenLabs is a trademark of its owner.