# Get chat stream info GET /v1/a/adapters/llm/chat/stream/info/{id} Select code sample ``` const url = 'https://example.com/v1/a/adapters/llm/chat/stream/info/example'; const options = {method: 'GET', headers: {Authorization: 'Bearer '}}; 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/a/adapters/llm/chat/stream/info/example \ --header 'Authorization: Bearer ' ``` - /v1/a/adapters/llm/chat/stream/info/{id} ## Permission This operation needs the permission [`llm:chat:manage`](https://docs.aiva.apifonica.com/concepts/roles-and-permissions/#llm-chat-manage). ## Authorizations - **[bearerAuth](https://docs.aiva.apifonica.com/api/account/#bearerauth)** ## Parameters ### Path Parameters **id** required string Chat stream id. ## Responses ### 200 OK Media typeapplication/json object **id** required string **status** required string **error** string **finish\_reason** string **text** string **created** required string **engine** required string **commit** string **request** required object **model** required string **messages** required Array\ A chat message. Content is a string; multimodal content is not supported. object **role** required string **content** required string **name** string **function\_call** A model-emitted function call (deprecated single-function form). object **name** string **arguments** JSON-encoded argument string. string **tool\_calls** Array\ object **id** required string **type** required string **function** required The function name and JSON-encoded arguments carried by a tool call. object **name** string **arguments** string **tool\_call\_id** string **max\_tokens** integer **temperature** number format: float **top\_p** number format: float **reasoning\_effort** Reasoning budget for reasoning-capable models (GPT-5 and newer). Omit to keep the model default (medium). Lower values cut latency; ‘none’ disables reasoning entirely. Forwarded to OpenAI and Azure OpenAI backends only; ignored by the other providers. string Allowed values: none minimal low medium high **n** integer **stream** boolean **stop** Array\ **presence\_penalty** number format: float **frequency\_penalty** number format: float **logit\_bias** object ***key*** additional properties integer **logprobs** boolean **top\_logprobs** integer **user** string **seed** integer **response\_format** object ***key*** additional properties any **tools** Array\ object **type** required string **function** object **name** required string **description** string **parameters** required JSON-Schema parameter definition, kept deliberately loose. object ***key*** additional properties any **tool\_choice** Tool-selection control: “none”/“auto”/“required” or an object. **functions** Array\ object **name** required string **description** string **parameters** required JSON-Schema parameter definition, kept deliberately loose. object ***key*** additional properties any **function\_call** Function-selection control (deprecated): “none”/“auto” or an object. **parallel\_tool\_calls** Whether tool calls may run in parallel. **stream\_options** object ***key*** additional properties any **engine** string Allowed values: open\_ai azure **provider** string **backend** string **gdpr\_required** boolean **metadata** object **call\_sid** string **agent\_sid** The agent the call runs under. string **automation\_sid** The automation that placed the call. Empty when no automation placed it. string **scenario\_sid** string **node\_id** string **account\_sid** string **target** Entity|intent|fallback|streaming string **source** Hermes|bff|ss|ids string **is\_test** boolean **fallback\_model** string **rag** object **document** object **ids** Array\ **number** integer **threshold** number format: float **is\_limit\_with\_documents** boolean **function\_call** Deprecated: use tool\_calls instead. object **name** string **arguments** JSON-encoded argument string. string **tool\_calls** Array\ object **id** required string **type** required string **function** required The function name and JSON-encoded arguments carried by a tool call. object **name** string **arguments** string **usage** Array\ object **name** required string **usage** object **prompt\_tokens** required integer **completion\_tokens** required integer **total\_tokens** required integer **tiktokens** required integer **timeline** Array\ object **name** required string **seconds** required number format: float **details** Array\ object **name** required string **detail** required Arbitrary detail payload. **rag** object **document** object **ids** Array\ **number** integer **threshold** number format: float **is\_limit\_with\_documents** boolean ##### Example ``` { "request": { "reasoning_effort": "none", "engine": "open_ai" } } ``` ### 400 Invalid request body or parameters Media typeapplication/json 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 **name** required string **message** required string **code** required integer **status** required integer ##### Examplegenerated ``` { "name": "example", "message": "example", "code": 1, "status": 1 } ``` ### 401 Unauthorized ### 403 Forbidden ### 404 Resource does not exist Media typeapplication/json 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 **name** required string **message** required string **code** required integer **status** required integer ##### Examplegenerated ``` { "name": "example", "message": "example", "code": 1, "status": 1 } ``` ### 500 Internal server error Media typeapplication/json 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 **name** required string **message** required string **code** required integer **status** required integer ##### Examplegenerated ``` { "name": "example", "message": "example", "code": 1, "status": 1 } ``` ### 502 Bad gateway (upstream adapter error)