Skip to main content
GET
Get ASR session

Authorizations

chariotai-api-key
string
header
required

Your Chariot API key, generated from the dashboard. Send it in the chariotai-api-key header on every request.

Path Parameters

session_id
string<uuid>
required

The session_id from session.started.

Response

The session.

One streaming session.

session_id
string<uuid>

The session_id from session.started.

created_at
string<date-time>

When the session was saved to history.

model_type
string
Example:

"chariot-1-asr-realtime"

mode
enum<string>
Available options:
balanced,
high_accuracy
style
enum<string>
Available options:
codemix,
native
language
string | null

The language hint, or null for automatic language detection.

Example:

"en"

audio_format
string
Example:

"pcm_16000"

sample_rate
integer

Sample rate of the audio sent, in Hz.

Example:

16000

audio_seconds
number

Seconds of audio sent.

credits
integer

Credits charged for the session.

transcript
string | null

The final transcript, or the text recognized before the session ended. Can be empty or null if no text was recognized.

close_code
integer | null

The WebSocket close code the session ended with, for example 1000 for a normal finish.

started_at
string<date-time>

When the session started.

ended_at
string<date-time>

When the session ended.