Docs
Contact Dashboard

DocsAPI reference

API reference

Endpoints, authentication and errors.

The API base URL is https://api.p99lab.com (streaming: wss://api.p99lab.com). Your key is in the console.

Endpoints

EndpointWhat it does
POST/v1/transcribeTranscribe a recording and return the transcript in one response.
WSS/v1/streamStream live audio and receive partial and final text.
GET/healthzCheck that the endpoint is up and which model it serves.

Authentication

Authorization: Bearer YOUR_API_KEY on every request. File requests also accept X-API-Key; streams also accept the key in the key field of the configuration message. /healthz needs no key. See authentication.

Errors

HTTP errors carry a status code and a JSON body with detail: a string, or for account and billing refusals an object with code and message. Stream errors arrive as one message with "type": "error", after which the socket closes. Every status and message is in errors and limits.

Model version

File responses and /healthz name the model in model, for example audrey-0.7.

↑↓ to move↵ to open