post
https://api.superwise.ai/v1/app-worker//v1/ask/stream
Stream AI response for the given input.
This endpoint accepts a conversational input and streams the AI-generated
response in chunks as they become available.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Takes a conversational input and streams the agent's answer in chunks as they become available.
When to use it
Use it when your application shows the answer while it is generated, such as a chat interface. For one complete response, use Ask an agent.
Required parameters
id(path): the application worker ID of the agent.
When the agent has authentication enabled, pass its API token in the x-api-token header.
Response
A successful call returns 200 OK and streams the answer. The stream format is not documented.
Related: Ask an agent, Send feedback on an agent answer, Stream a playground answer
400Bad Request
500Internal Server Error