Stream agent chat
AI Agent
Stream agent chat
Streams a survey AI agent response as server-sent events. Use the X-Thread-Id response header to continue an auto-created thread on later requests.
POST
Stream agent chat
Documentation Index
Fetch the complete documentation index at: https://docs.questra.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Path Parameters
Unique ID or slug of the survey
Query Parameters
Agent mode. preview uses preview-focused tools; omitted defaults to code mode.
Available options:
preview Body
application/json
Response
SSE stream of agent UI message events.
The response is of type string.