Skip to main content
POST
Stream LLM Response (v2)

Path Parameters

session_id
string
required

Body

messages
any[]
required

OpenAI-format chat message array (each with role and content).

tools
any[]

Optional list of OpenAI-style tool definitions the model may call.

Response

The response is of type string.