livqenoDocs

API ReferenceAI

AI API

Live transcription, transcripts and AI voice agents.

Your backend calls these endpoints with the project API key to put a transcriber or a voice agent into an RTC room, steer it, and read the transcript afterwards. The captions and agent states themselves reach your users' apps over the RTC connection, not over REST.

More: Live Transcription and AI Voice Agents.

Endpoints

MethodPathCredential
DELETE/v1/agents/{id}Project API key
GET/v1/agents/{id}Project API key
PATCH/v1/agents/{id}Project API key
POST/v1/agents/{id}/interruptProject API key
POST/v1/agents/{id}/sayProject API key
GET/v1/rooms/{roomId}/agentsProject API key
POST/v1/rooms/{roomId}/agentsProject API key
DELETE/v1/rooms/{roomId}/transcriptionProject API key
GET/v1/rooms/{roomId}/transcriptionProject API key
POST/v1/rooms/{roomId}/transcriptionProject API key
GET/v1/transcripts/{id}Project API key
GET/v1/transcripts/{id}.txtProject API key
GET/v1/transcripts/{id}.vttProject API key
DELETE/v1/transcripts/participants/{identity}Project API key

DELETE/v1/agents/{id}

Remove the agent from its room

Credential Project API key

ParameterInTypeRequiredNotes
idpathstringYes

GET/v1/agents/{id}

An agent, with status and usage so far

Credential Project API key

ParameterInTypeRequiredNotes
idpathstringYes

PATCH/v1/agents/{id}

Change instructions, listenTo or interruptible, live

Credential Project API key

ParameterInTypeRequiredNotes
idpathstringYes
instructionsbodystringNo1–20 chars
listenTobodystring[]No0–128 chars, pattern-checked, array
interruptiblebodybooleanNo

POST/v1/agents/{id}/interrupt

Stop the current utterance

Credential Project API key

ParameterInTypeRequiredNotes
idpathstringYes

POST/v1/agents/{id}/say

Speak this text now (queued after the current utterance)

Credential Project API key

ParameterInTypeRequiredNotes
idpathstringYes
textbodystringYes1–2000 chars

GET/v1/rooms/{roomId}/agents

The room's agents, most recent first, with status and usage

Credential Project API key

ParameterInTypeRequiredNotes
roomIdpathstringYes

POST/v1/rooms/{roomId}/agents

Add an AI voice agent to a room

Credential Project API key · Rate limit 30 per window (details)

ParameterInTypeRequiredNotes
roomIdpathstringYes
namebodystringYes1–128 chars
instructionsbodystringYes1–20 chars
greetingbodystringNo0–2000 chars
llmbodyAgentLlmDtoNo
sttbodyAgentSttDtoNo
ttsbodyAgentTtsDtoNo
listenTobodystring[]No0–128 chars, pattern-checked, array — Default: every human audio publisher.
turnDetectionbodyAgentTurnDetectionDtoNo
interruptiblebodybooleanNo
maxDurationSecondsbodynumberNo30–21_000
toolsbodyAgentToolDto[]Noarray
providerKeysbodyRecord<string, string>No

DELETE/v1/rooms/{roomId}/transcription

Stop the transcription and finalise the transcript

Credential Project API key

ParameterInTypeRequiredNotes
roomIdpathstringYes

GET/v1/rooms/{roomId}/transcription

The room's active transcription

Credential Project API key

ParameterInTypeRequiredNotes
roomIdpathstringYes

POST/v1/rooms/{roomId}/transcription

Start live transcription in a room (one per room)

Credential Project API key · Rate limit 30 per window (details)

ParameterInTypeRequiredNotes
roomIdpathstringYes
languagebodystringNopattern-checked
providerbodystringNo
modelbodystring | nullNo0–128 chars — Provider model id; null = the provider's default.
participantsbodystring[]No1–128 chars, pattern-checked, array — Only these participant identities. Default: every audio publisher.
interimResultsbodybooleanNo
profanityFilterbodybooleanNo
persistbodybooleanNoStore final segments as a transcript.
providerKeysbodyRecord<string, string>No

GET/v1/transcripts/{id}

A transcript: the transcription and its final segments, paginated

Credential Project API key

ParameterInTypeRequiredNotes
idpathstringYes

GET/v1/transcripts/{id}.txt

The transcript as plain text

Credential Project API key

ParameterInTypeRequiredNotes
idpathstringYes

GET/v1/transcripts/{id}.vtt

The transcript as WebVTT

Credential Project API key

ParameterInTypeRequiredNotes
idpathstringYes

DELETE/v1/transcripts/participants/{identity}

GDPR: delete every stored segment a participant identity spoke, in this project's environment

Credential Project API key

ParameterInTypeRequiredNotes
identitypathstringYes

Nested objects

AgentLlmDto

FieldTypeRequiredNotes
providerstringNo
modelstringNo0–128 chars
temperaturenumberNo0–2
maxTokensnumberNo1–8192

AgentSttDto

FieldTypeRequiredNotes
providerstringNo
languagestringNopattern-checked

AgentTtsDto

FieldTypeRequiredNotes
providerstringNo
voicestringNo0–256 chars — Provider voice id; omitted = the provider's default voice.

AgentTurnDetectionDto

FieldTypeRequiredNotes
silenceMsnumberNo100–5000

Next steps