List sessions
/v2/live Your account's sessions, newest first, one page at a time.
Authentication: your API key in the x-gladia-key header (Authentication).
Example
curl https://eu1.api.gladia.io/v2/live \ -H "x-gladia-key: $GLADIA_API_KEY"import os
from gladiaio_sdk import GladiaClient
client = GladiaClient( api_key=os.environ["GLADIA_API_KEY"], api_url=os.environ.get("GLADIA_API_URL", "https://eu1.api.gladia.io"),)
page = client.live_v2().list({"limit": 20, "status": ["done"]})for session in page.items: print(session.id, session.created_at)import { GladiaClient } from "@gladiaio/sdk";
const client = new GladiaClient({ apiKey: process.env.GLADIA_API_KEY, apiUrl: process.env.GLADIA_API_URL ?? "https://eu1.api.gladia.io",});
const page = await client.liveV2().list({ limit: 20, status: ["done"] });for (const session of page.items) console.log(session.id, session.created_at);Try it
Parameters
-
limitinteger · querySessions per page, at most 100.
default:
20· 1 to 100 -
offsetinteger · querySessions to skip, at most 1000; past that, follow
next.default:
0· 0 to 1000 -
cursorstring · queryWhere the next page starts: set in
next, never by hand. -
datestring · queryOnly the sessions created that day (
2026-10-12). -
after_datestring · queryOnly the sessions created after that date (ISO 8601).
-
before_datestring · queryOnly the sessions created before that date (ISO 8601).
-
statusarray of string · queryOnly the sessions with these statuses (repeat it for several).
-
custom_metadatastring · queryOnly the sessions whose
custom_metadatahas these values: a JSON object ({"user": "john"}), orcustom_metadata[user]=john, which matches a value by its text (custom_metadata[n]=5finds5,custom_metadata[vip]=truefindstrue).
Responses
200 A page of sessions.
-
firststring requiredURL of the first page.
-
currentstring requiredURL of this page.
-
nextstring requiredURL of the next page (it carries a
cursor),nullon the last page. -
itemsarray of object requiredThe sessions, newest first.
15 fields
-
idstring requiredIdentifier of the session.
-
request_idstring requiredIdentifier to quote to support.
-
version2default:
2 -
statusstring requiredqueued: created, no WebSocket yet;processing: streaming (or dropped and still resumable);done: ended, the result is there;error: the session failed.one of:
queued,processing,done,error -
created_atstring requiredCreation date (ISO 8601, UTC).
-
completed_atstring requiredEnd date, once
doneorerror. -
custom_metadataobject requiredThe init body's
custom_metadata. -
error_codeinteger required500when the session failed, elsenull. -
kind"live"default:
"live" -
fileobject requiredThe session's audio, once it ended.
6 fields
-
idstring requiredIdentifier of the session.
-
filenamestring requiredName of the recording,
nullwhen the audio was not recorded. -
sourcestring requiredDownload URL of the recording (
GET /v2/live/{id}/file),nullwhen not recorded. -
audio_durationnumber requiredAudio received, in seconds.
-
number_of_channelsinteger required -
recordingobjectThe workspace records its audio: whether it was recorded, and why not.
default:
null2 fields
-
statusstring requiredrecorded: nothing lost;partial: some audio lost;dropped: none kept.one of:
recorded,partial,dropped -
reasonstring requiredThe first reason audio was lost,
nullwhen nothing was (no_spool: the platform has no audio spool to record it).
-
-
-
request_paramsobject requiredThe session's options, as validated.
-
modelsobjectThe model the session asked for and the models that served it.
nullfor a session created before this field existed (not known).default:
null4 fields
-
requestedstring requiredThe model the session asked for,
nullwhen it named none: the default model then ran. Gladia's SDK sendssolaria-1by default; where no solaria-1 serves the session, it counts as none. -
servedarray of object requiredEvery model that served the session, in order: a handoff onto another model, or a fallback, adds one. Empty until its WebSocket opens.
4 fields
-
modelstring requiredThe model that ran,
nullwhen not known. -
reasonstring requiredWhy this model ran:
requested, the model the session named;workspace_default/cluster_default, it named none and the workspace's or the platform's default model ran;any_model, it named none and no default could take it;language_route, the platform's language routing chose the model for the session's language (it named none, or named a model that does not transcribe that language);fallback, the model it named had no capacity and another model served it;pinned/runtime, internal test routes.one of:
requested,workspace_default,cluster_default,any_model,language_route,fallback,pinned,runtime -
started_atstring requiredWhen this model started serving the session (ISO 8601).
-
profilestringThe latency profile it ran with, present only when it is not the one the session asked for: no GPU running the asked profile was up, and the nearest profile served the session at once instead of making it wait for a GPU to start.
default:
null
-
-
sentstringThe
modelof the session's init body exactly as sent,nullwhen the body had none (request_params.modelthen shows the default,solaria-1). Tells asolaria-1you sent from one you left out, whichrequesteddoes not. Absent for a session recorded before it was kept.default:
null -
noticestringSet when the session sent
solaria-1, a former real-time model, and ran on another model: which one, and what to do. Absent otherwise.default:
null
-
-
finalizationobjectWith
finalization: true: the post-call pass of the call, a pre-recorded job over its recording (id,result_url:GET /v2/pre-recorded/{id}), orerror: why it was not submitted.nullwithout the option or before the session ends.default:
null4 fields
-
idstringThe pre-recorded job's id.
default:
null -
result_urlstringWhere its result is read:
GET /v2/pre-recorded/{id}.default:
null -
errorstringWhy no pass was submitted:
not_recorded(the workspace does not record its audio, or the call had none),interrupted(the connection dropped and the session was not resumed),refused(no pre-recorded host runs it, or the workspace's queue is full),invalid_options,no_public_addressorunavailable.default:
null -
statusintegerWith
refused: the HTTP status.default:
null
-
-
resultobject requiredThe transcript, once
done; whenerror, what was transcribed before the failure.6 fields
-
metadataobject required4 fields
-
audio_durationinteger requiredAudio received, rounded to the whole second. The exact duration is
file.audio_duration. -
billing_timeinteger requiredBilled duration, rounded to the whole second. The usage counters meter the exact seconds (
GET /admin/usage, the workspace's Usage page). -
number_of_distinct_channelsinteger requiredNumber of audio channels.
-
transcription_timenumber requiredHow long the session ran, in seconds.
-
-
transcriptionobject required3 fields
-
languagesarray of string requiredLanguages heard, in order of appearance.
-
utterancesarray of object requiredEvery final utterance, by start time.
14 fields
-
textstring requiredThe transcript. With PII redaction on, it carries its inline elements (
<pii:email id="1"/>); named entities are written inline (<ner:name id="1">…</ner:name>) only withinline_tags: true. -
startnumber requiredStart, in seconds from the start of the audio.
-
endnumber requiredEnd, in seconds from the start of the audio.
-
languagestring requiredLanguage spoken (ISO 639-1).
-
confidencenumber requiredConfidence, from 0 to 1.
-
channelinteger requiredAudio channel the utterance was heard on, from 0.
-
speakerintegerSpeaker number, with
diarization.default:
null -
committed_textstringOn a partial, with
messages_config.receive_committed_text: its first words, those the model will no longer change. It trailstextby about one decoding step.default:
null -
wordsarray of object requiredThe words with their timestamps.
-
text_rawstringThe transcript without inline elements (with named entity recognition; never with PII redaction).
default:
null -
entitiesarray of objectThe entities of the utterance, with named entity recognition or PII redaction.
default:
null -
language_supportedfalsefalsewhen the language heard is one the model does not transcribe (with the language detected): the text is then unreliable. Absent otherwise.default:
null -
forced"max_duration"Set when the utterance was closed by
maximum_duration_without_endpointingrather than by a pause.default:
null -
speculationobjectWith
end_of_turn.speculation, on the final that closes a turn: the verdict of the speculative LLM turn (thespeculationmessage holds the same).default:
null
-
-
full_transcriptstring requiredThe final utterances' text, joined.
-
-
translationobjectWith
realtime_processing.translation.default:
null5 fields
-
successboolean required -
is_emptyboolean requiredtruewhen nothing was translated. -
exec_timenumber required -
erroranydefault:
null -
resultsarray of object requiredOne result per target language.
6 fields
-
erroranyAlways
null.default:
null -
languagesarray of string requiredThe target language of this result.
-
full_transcriptstring requiredThe translated text, joined.
-
utterancesarray of object requiredThe translated utterances, one per final.
-
sentencesarray of any requiredAlways empty.
-
subtitlesarray of any requiredAlways empty.
-
-
-
summarizationobjectWith
post_processing.summarization.default:
null6 fields
-
successboolean requiredfalse: the LLM failed, refused or took over 30 s. -
is_emptyboolean requiredtruewhen nothing was summarized (or it failed). -
exec_timenumber requiredSeconds the summary took.
-
erroranyNull on success, else
{status_code, exception, message}.default:
null -
resultsstring requiredThe summary, null when empty or failed.
-
partialbooleantrue: the session moved to another connection (a reconnection, a GPU handoff) and the summary covers the transcript since that move only.default:
null
-
-
language_detectionobjectOn a session whose model follows the language spoken: the last
language_detectionthe engine sent.default:
null6 fields
-
languagestring requiredThe language spoken (ISO 639-1).
-
confidencenumber requiredHow sure the engine is.
0 to 1
-
speech_snumberThe seconds of speech it decided on.
default:
null -
low_confidencebooleantrue: too unsure to act on; the session keeps its model.default:
false -
modelstringThe detector that decided.
default:
null -
alternativesarray of objectThe runners-up, the likeliest first.
2 fields
-
languagestring requiredAnother language it may be (ISO 639-1).
-
confidencenumber required0 to 1
-
-
-
messagesarray of any requiredThe final transcript messages, as sent on the WebSocket.
-
-
feedbackobjectYour rating of the session (
POST /v2/live/{id}/feedback),nulluntil you rate it. Returned byGET /v2/live/{id}, not by the list.default:
null3 fields
-
ratingstring requiredgoodorbad.one of:
good,bad -
commentstring requiredWhy, as you wrote it; null without a comment.
-
rated_atstring requiredWhen it was rated (ISO 8601, UTC); a new rating replaces the previous one.
-
-
{ "first": "string", "current": "string", "next": "string", "items": [ { "id": "0199d7a2-5c3e-7b41-9f0a-3c2d1e4f5a6b", "request_id": "G-0199d7a2", "version": 2, "status": "queued", "created_at": "string", "completed_at": "string", "custom_metadata": {}, "error_code": 0, "kind": "live", "file": { "id": "string", "filename": "string", "source": "string", "audio_duration": 0.5, "number_of_channels": 0, "recording": { "status": "recorded", "reason": "no_spool" } }, "request_params": {}, "models": { "requested": "string", "served": [ { "model": "solaria-3", "reason": "requested", "started_at": "string", "profile": "medium" } ], "sent": "string", "notice": "string" }, "finalization": { "id": "string", "result_url": "string", "error": "string", "status": 0 }, "result": { "metadata": { "audio_duration": 0, "billing_time": 0, "number_of_distinct_channels": 0, "transcription_time": 0.5 }, "transcription": { "languages": [], "utterances": [], "full_transcript": "string" }, "translation": { "success": false, "is_empty": false, "exec_time": 0.5, "error": null, "results": [] }, "summarization": { "success": false, "is_empty": false, "exec_time": 0.5, "error": null, "results": "string", "partial": false }, "language_detection": { "language": "fr", "confidence": 0.93, "speech_s": 2.1, "low_confidence": false, "model": "language-id-v2", "alternatives": [] }, "messages": [ null ] }, "feedback": { "rating": "good", "comment": "string", "rated_at": "2026-10-12T09:04:17.210Z" } } ]} 400 The request is invalid: validation_errors lists why. On POST /v2/live, also a model this region does not run (model … is not available in region …), or a feature the model named does not run (translation is not available with model … in region eu: use solaria-3), or a language no endpoint of the model transcribes (language fr is not available with model solaria-2 in region eu: use solaria-3), or a translation target no endpoint of the model translates into (translation target pl is not available with model solaria-3 in region eu: use solaria-4).
{ "statusCode": 400, "timestamp": "2026-10-12T09:04:17.210Z", "path": "/v2/live", "message": "Invalid parameter(s). See validation_errors for more details.", "request_id": "G-1a2b3c4d", "validation_errors": [ "sample_rate Input should be 8000, 16000, 32000, 44100 or 48000" ], "error_code": "string"}401 No API key, or an unknown one.
{ "statusCode": 400, "timestamp": "2026-10-12T09:04:17.210Z", "path": "/v2/live", "message": "Invalid parameter(s). See validation_errors for more details.", "request_id": "G-1a2b3c4d", "validation_errors": [ "sample_rate Input should be 8000, 16000, 32000, 44100 or 48000" ], "error_code": "string"}403 The key may not do this (its scopes, or the addresses it may be used from).
{ "statusCode": 400, "timestamp": "2026-10-12T09:04:17.210Z", "path": "/v2/live", "message": "Invalid parameter(s). See validation_errors for more details.", "request_id": "G-1a2b3c4d", "validation_errors": [ "sample_rate Input should be 8000, 16000, 32000, 44100 or 48000" ], "error_code": "string"}503 The service cannot answer right now: try again.
{ "statusCode": 400, "timestamp": "2026-10-12T09:04:17.210Z", "path": "/v2/live", "message": "Invalid parameter(s). See validation_errors for more details.", "request_id": "G-1a2b3c4d", "validation_errors": [ "sample_rate Input should be 8000, 16000, 32000, 44100 or 48000" ], "error_code": "string"}