API Reference
Model APIs, routing, observability, and workspace administration.
Base URL
All model types, routing, and workspace operations use one API URL. The URL below omits /v1 because each operation path includes it. Keep each environment’s URL and credentials together.
AUDIOLAB_API_URL=https://api.tryaudiolab.ai
AUDIOLAB_API_KEY=YOUR_WORKSPACE_KEYUsing This Reference
Start with the quickstart to configure credentials and choose your first request. Each operation below defines its authentication, request fields, response types, and model-specific limitations. Reference examples illustrate request shapes; replace placeholders and select an enabled model before running them.
Workspace administration uses a signed-in user session. Inference uses a scoped API key. See Authentication for the distinction. Check Errors and Debugging before adding retries; idempotency support differs by endpoint.
Model APIs
Text
Images
Video
Text to Speech
Speech to Text
Realtime Audio
Embeddings
Batches
/v1/batches/v1/batches/{batch_id}/v1/batches/v1/batches/{batch_id}/cancel/v1/files/v1/files/v1/files/{file_id}/v1/files/{file_id}/content/v1/files/{file_id}Reranking
Routing and Discovery
Models and Providers
Named Routers
/v1/routers/catalog/v1/routers/v1/routers/v1/routers/{id}/v1/routers/{id}/v1/routers/{id}/validate/v1/routers/{id}/simulate/v1/routers/{id}/publish/v1/routers/{id}/revisions/v1/routers/{id}/revisions/{revision}/v1/routers/{id}/rollback/v1/routers/{id}/duplicate/v1/routers/{id}/archiveObservability
Requests and Logs
Trace Export
/v1/traces/destinations/v1/traces/destinations/v1/traces/destinations/{destination_id}/v1/traces/destinations/{destination_id}/v1/traces/destinations/{destination_id}/v1/traces/destinations/{destination_id}/test/v1/traces/destinations/{destination_id}/deliveriesWorkspace Administration
API Keys
/v1/keys/v1/keys/v1/keys/{key_id}/v1/key/v1/keys/{key_id}/v1/keys/{key_id}/v1/account/key-policy/v1/keys/default/claim/v1/keys/default/ackWorkspaces
Workspace Settings
/v1/settings/v1/settings/v1/workspaces/{workspace_id}/guardrails/v1/workspaces/{workspace_id}/guardrails/v1/settings/data-region/v1/settings/data-regionBilling and Credits
/v1/credits/v1/ledger/v1/billing/config/v1/billing/checkout/v1/billing/checkout/{transaction_id}/sync/v1/billing/auto-top-up/v1/billing/auto-top-up/v1/billing/auto-top-up/setup/v1/billing/auto-top-up/setup/{transaction_id}/sync