Server-sent events for one intent until it is terminal and final, or 120 000 ms elapsed.
GET/v1/relay/:id/events
Event name intent, data = Intent. id: is the per-intent sequence. The server closes the
stream after the first event with final: true, after a terminal DEAD/REJECTED, or after
120 000 ms (the client then falls back to polling GET /v1/relay/{id}).
Request
Responses
- 200
- 404
- 429
Event stream.
NOT_FOUND.
RATE_LIMITED, GAS_BUDGET_EXCEEDED, HOURLY_BURN_EXCEEDED, TOO_MANY_IN_FLIGHT, QUOTA_EXHAUSTED (the latter without Retry-After; details.reason = CAP_REACHED_PAYG_OFF | PAYG_ESCROW_EMPTY).
Response Headers
Retry-After
Seconds (HTTP standard). Millisecond precision is in details.retryAfterMs of the problem body.
RateLimit-Limit
Requests (or RU on the relay path) allowed in the current window.
RateLimit-Remaining
Remaining units in the current window.
RateLimit-Reset
Seconds until the window resets (IETF RateLimit header fields).