Resume an in-flight chat stream
GET
/api/agent/chat/{chatId}/stream
const url = 'http://localhost:8080/api/agent/chat/example/stream';const options = {method: 'GET', headers: {cookie: 'auth_session=<auth_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/api/agent/chat/example/stream \ --cookie auth_session=<auth_session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”chatId
required
string
Responses
Section titled “Responses”Streaming response (AI SDK UI message stream / SSE).
Media typetext/event-stream
string
Invalid request
Media typeapplication/json
object
success
boolean
error
string
Example
{ "error": "Error message"}Internal server error
Media typeapplication/json
object
success
boolean
error
string
Example
{ "error": "Error message"}