Attach to an in-flight refine session
GET /v1/workflows/:id/refine/stream — SSE endpoint that replays the active refine session's event buffer in order, then tails live events until the session fi
GET /v1/workflows/:id/refine/stream
SSE endpoint that replays the active refine session's event buffer in order, then tails live events until the session finishes. Used by the web UI to resume the chat stream after a mid-stream refresh or navigation. Replays the SAME attempt-bounded event vocabulary the POST /refine endpoint streams. Discarded attempts from before the attach reach the client through the persisted chat history (chat_messages.metadata.events), not via this live attach. Returns 204 No Content when no session is active for this workflow.
| Method | GET |
| Path | /v1/workflows/:id/refine/stream |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | workflows |
Response body
text/event-stream — same envelope as POST /refine, OR HTTP 204 when no active session.