All endpoints
Every request the API takes, with its method and path, and where it is described.
Every path below is on one address: https://api.eu.vatis.tech for REST, wss://api.eu.vatis.tech for the WebSocket path. Every request carries your API key, Authorization: Bearer $VATIS_KEY, except /ping (Authentication and API keys).
Admin key marks what only an Admin key may do: a Member key gets 403 admin_only. Unknown paths answer 404 not_found, and a wrong method 405 invalid_request (Errors).
Batch and transcripts
| Method | Path | Does | Read |
|---|---|---|---|
| POST | /v1/speech-to-text | Transcribe a file, or the file at an address: answered at once, the transcript read when done. | Batch transcription |
| GET | /v1/transcripts | List transcripts, newest first, without their words (a Member key: its own). | Manage transcripts |
| GET | /v1/transcripts/{id} | A transcript, in any status. | The transcript object |
| DELETE | /v1/transcripts/{id} | Delete a transcript and its audio. A job still running is stopped. | Manage transcripts |
| GET | /v1/transcripts/{id}/export | A completed transcript as a file: plain text, SRT or WebVTT subtitles. | Exports |
Real-time
| Method | Path | Does | Read |
|---|---|---|---|
| WS | /v1/speech-to-text/realtime | A live session: audio in, partial and final text out. | Real-time transcription |
Webhooks
| Method | Path | Does | Read |
|---|---|---|---|
| GET | /v1/webhooks | Admin key. The workspace's webhooks, without their secrets. | Webhooks |
| POST | /v1/webhooks | Admin key. Create a webhook. Its secret is shown only in this answer. | Webhooks |
| PATCH | /v1/webhooks/{id} | Admin key. Change its url, name, enabled, retry or headers. | Webhooks |
| DELETE | /v1/webhooks/{id} | Admin key. Delete a webhook. | Webhooks |
Tokens and keys
| Method | Path | Does | Read |
|---|---|---|---|
| POST | /v1/tokens | A single-use token for a web page: one live session, or one file, within 15 minutes. | Tokens for web pages |
| GET | /v1/me | The key this request carries: its id, name and role. | Authentication and API keys |
| GET | /v1/keys | Admin key. The workspace's API keys, without the keys themselves. | Authentication and API keys |
| POST | /v1/keys | Admin key. Create a key. The key is shown only in this answer. | Authentication and API keys |
| PATCH | /v1/keys/{id} | Admin key. Change a key's role. | Authentication and API keys |
| DELETE | /v1/keys/{id} | Admin key. Revoke a key, and its open tokens. | Authentication and API keys |
Vocabularies
| Method | Path | Does | Read |
|---|---|---|---|
| GET | /v1/vocabularies | The workspace's saved vocabularies, without their entries. | Vocabularies |
| POST | /v1/vocabularies | Admin key. Save a list of names and terms for live sessions and files. | Vocabularies |
| GET | /v1/vocabularies/{id} | A saved vocabulary, with its entries. | Vocabularies |
| PATCH | /v1/vocabularies/{id} | Admin key. Add entries, remove some, replace them all, or change its name. | Vocabularies |
| DELETE | /v1/vocabularies/{id} | Admin key. Delete a saved vocabulary. Open sessions keep its entries. | Vocabularies |
Usage and activity
| Method | Path | Does | Read |
|---|---|---|---|
| GET | /v1/usage | The audio transcribed, by day or month and by key (a Member key: its own). | Usage |
| GET | /v1/activity | Every batch job and live session, open ones first, with a summary (a Member key: its own). | Usage |
Models and status
| Method | Path | Does | Read |
|---|---|---|---|
| GET | /v1/models | The models your workspace can use. | Introduction |
| GET | /ping | Whether the service runs, for your monitoring. No key needed. | Health checks |
Health checks
GET /ping answers 200 {"status": "ok"} while the service runs, with no key: point your monitoring at it. It shows no address, no secret and nothing about your workspace.
curl -sS https://api.eu.vatis.tech/pingOn-premise only
The on-premise Speech Gateway, the same API on a customer's own server, also has a license (/v1/license and its request, preview and install) and a usage report for Vatis Tech (/v1/usage/report). The cloud has neither: those paths are 404 not_found, as any unknown path. GET /v1/usage and the console's Usage page have your usage.
In GET /v1/models, licensed is always null for the same reason. What your workspace may do is set by its credit and its limits instead (Limits and free credit).