Skip to main content
POST
/
api
/
user
/
transcribe
Transient speech-to-text
curl --request POST \
  --url https://pria.praxislxp.com/api/user/transcribe \
  --header 'Content-Type: multipart/form-data' \
  --header 'x-access-token: <api-key>' \
  --form audio='@example-file' \
  --form 'language=<string>'
{
  "success": true,
  "transcript": "<string>",
  "provider": "<string>",
  "durationMs": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Body

multipart/form-data
audio
file
required

The audio blob to transcribe.

language
string

Optional BCP-47 hint passed through to the provider (e.g. en, fr). Some providers ignore it.

Response

Transcript returned.

success
boolean
Example:

true

transcript
string

The recognised text. Empty string on silent input.

provider
string

Resolved STT provider id (one of mistral_cli, openai_cli, bedrock_cli, anthropic_cli, google_genai_cli, xai_cli).

durationMs
integer | null

Audio duration in milliseconds when the provider returns it (openai). Null when not reported (mistral).