curl --request POST \
--url https://pria.praxislxp.com/api/ai/rtProxy/voiceTurn \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"input": "What is on my schedule today?",
"message": "<string>",
"messages": [
{
"content": "<string>"
}
],
"requestArgs": {},
"token": "<string>"
}
'{
"text": "<string>"
}Stream a provider-neutral avatar voice turn (Anam + future providers)
Provider-neutral alias for the per-turn voice bridge. Reuses the same
streamVoiceTurn NDJSON handler as /api/ai/rtProxy/lemonslice/chat.
Used by the Anam Pria-direct Custom LLM (CUSTOMER_CLIENT_V1) frontend to
fetch each assistant turn and stream the text into the Anam talk stream.
Pria remains the LLM/tools/RAG/IP Vault authority for every turn.
Response is application/x-ndjson with segment lines followed by one
terminal end line (identical contract to the LemonSlice bridge).
curl --request POST \
--url https://pria.praxislxp.com/api/ai/rtProxy/voiceTurn \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"input": "What is on my schedule today?",
"message": "<string>",
"messages": [
{
"content": "<string>"
}
],
"requestArgs": {},
"token": "<string>"
}
'{
"text": "<string>"
}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
JWT token passed in x-access-token header
Body
Final user utterance for this turn. Either input or message is required.
"What is on my schedule today?"
Alias for input (legacy). One of the two must be a non-empty string.
Optional OpenAI-style conversation history for the turn. When omitted the server constructs [{role:'user', content: input}].
Show child attributes
Show child attributes
Optional realtime context (selectedCourse, assistantId, userISODate, userTimezone, etc.). Merged into the user object before context build.
Optional auth JWT (alternative to Authorization / x-access-token headers). Used by streaming clients that cannot easily set custom headers.
Response
NDJSON stream of segment lines terminated by one end line.
Was this page helpful?