Skip to Content
Vatis TechAPI docs

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

MethodPathDoesRead
POST/v1/speech-to-textTranscribe a file, or the file at an address: answered at once, the transcript read when done.Batch transcription
GET/v1/transcriptsList 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}/exportA completed transcript as a file: plain text, SRT or WebVTT subtitles.Exports

Real-time

MethodPathDoesRead
WS/v1/speech-to-text/realtimeA live session: audio in, partial and final text out.Real-time transcription

Webhooks

MethodPathDoesRead
GET/v1/webhooksAdmin key. The workspace's webhooks, without their secrets.Webhooks
POST/v1/webhooksAdmin 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

MethodPathDoesRead
POST/v1/tokensA single-use token for a web page: one live session, or one file, within 15 minutes.Tokens for web pages
GET/v1/meThe key this request carries: its id, name and role.Authentication and API keys
GET/v1/keysAdmin key. The workspace's API keys, without the keys themselves.Authentication and API keys
POST/v1/keysAdmin 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

MethodPathDoesRead
GET/v1/vocabulariesThe workspace's saved vocabularies, without their entries.Vocabularies
POST/v1/vocabulariesAdmin 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

MethodPathDoesRead
GET/v1/usageThe audio transcribed, by day or month and by key (a Member key: its own).Usage
GET/v1/activityEvery batch job and live session, open ones first, with a summary (a Member key: its own).Usage

Models and status

MethodPathDoesRead
GET/v1/modelsThe models your workspace can use.Introduction
GET/pingWhether 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/ping

On-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).

On this page