Get chat stream info
const url = 'https://example.com/v1/adapters/llm/chat/stream/info/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/adapters/llm/chat/stream/info/example \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Chat stream id.
Responses
Section titled “Responses”OK
object
object
A chat message. Content is a string; multimodal content is not supported.
object
A model-emitted function call (deprecated single-function form).
object
JSON-encoded argument string.
object
The function name and JSON-encoded arguments carried by a tool call.
object
object
object
object
object
JSON-Schema parameter definition, kept deliberately loose.
object
Tool-selection control: “none”/“auto”/“required” or an object.
object
JSON-Schema parameter definition, kept deliberately loose.
object
Function-selection control (deprecated): “none”/“auto” or an object.
Whether tool calls may run in parallel.
object
object
Entity|intent|fallback|streaming
Hermes|bff|ss|ids
object
object
Deprecated: use tool_calls instead.
object
JSON-encoded argument string.
object
The function name and JSON-encoded arguments carried by a tool call.
object
object
object
object
object
Arbitrary detail payload.
object
object
Example
{ "request": { "engine": "open_ai" }}Invalid request body or parameters
Canonical structured error emitted by the chat completion, chat stream and
embeddings handlers (the shared errorResponse helper). code is an
application error code (0 when unset); status mirrors the HTTP status.
object
Examplegenerated
{ "name": "example", "message": "example", "code": 1, "status": 1}Unauthorized
Forbidden
Resource does not exist
Canonical structured error emitted by the chat completion, chat stream and
embeddings handlers (the shared errorResponse helper). code is an
application error code (0 when unset); status mirrors the HTTP status.
object
Examplegenerated
{ "name": "example", "message": "example", "code": 1, "status": 1}Internal server error
Canonical structured error emitted by the chat completion, chat stream and
embeddings handlers (the shared errorResponse helper). code is an
application error code (0 when unset); status mirrors the HTTP status.
object
Examplegenerated
{ "name": "example", "message": "example", "code": 1, "status": 1}Bad gateway (upstream adapter error)