cURL
curl --request GET \ --url https://api.production.hyperoru.com/api/ai-stream/{task_id} \ --header 'Authorization: Bearer <token>'
{ "chunks": [ { "index": 1, "kind": "<string>", "metadata": {}, "content": "<string>" } ], "is_done": true, "next_cursor": 1, "status": "<string>", "task_id": "<string>" }
Returns { task_id, status, chunks, done, error, next } where next is the index the client should pass back as ?since= on the next poll.
{ task_id, status, chunks, done, error, next }
next
?since=
Session token issued by POST /api/users/login, transported as Authorization: Bearer <token>.
POST /api/users/login
Authorization: Bearer <token>
Task ID
Stream task chunks (poll-style fallback for SSE)
GET /api/ai-stream/{task_id}/chunks response.
GET /api/ai-stream/{task_id}/chunks
Show child attributes
x >= 0
Was this page helpful?