SDKs
Official TypeScript and Python clients generated from the same contract as the API.
Status: In development. The clients exist in our repository and are tested against a mocked server. They are not yet published to npm or PyPI, so the install commands below apply once they are released. In development
What is provided
Official clients for TypeScript and Python cover every public endpoint, with typed inputs. They are generated from the OpenAPI contract, so a new endpoint appears in the clients when the contract changes. In development
Behaviour you do not have to write
- Typed errors with a status, a stable code, a plain-language message and the number of seconds to wait when rate limited.
- Safe retries for rate limits, server errors and network failures, only on reads and on writes that carry an idempotency key. Job-creating calls add a key for you. In development
- Webhook verification against the raw body, with a time tolerance. In development
TypeScript
import { EdgeClient } from '@mredgeengine/sdk'
const edge = new EdgeClient({ apiKey: process.env.EDGE_API_KEY })
const audio = await edge.speak({ text: 'Welcome.', language: 'hau', format: 'mp3' })Python
The Python package follows the same structure and method names. See the SDKs page for installation and examples.
Keys
An API key manages speech and jobs only. Creating keys and reading the wallet need a console session, by design.
Statements and their status
Each labelled statement in this article, with what it rests on.
- In development TypeScript and Python SDKs exist in the repository but are not yet published to npm or PyPI. Evidence: source documentation, checked 2026-12-01.
- In development Signed webhooks (HMAC-SHA256) announce job.succeeded, job.failed and job.cancelled; one test webhook exists in production. Evidence: a production metric, checked 2026-12-01.