routing

Server-sent events for route lifecycle

Streams the route status object on every change instead of making you poll. Emits one event immediately so a late subscriber is caught up, then event: status on each change, and event: done on a terminal state (DONE/FAILED/REFUNDED) before closing. Heartbeat comments keep idle proxies open. Bounded to 15 minutes and 50 concurrent streams.

get/api/route/stream

Request

  • Base URL: https://api.anygas.xyz/svc
  • URL: https://api.anygas.xyz/svc/api/route/stream
  • Auth: none declared

Query parameters

idstring required

route id returned by /api/route/execute

Response

text/event-stream of status events

Changes

No recorded changes to this operation across all 1 revision of this API.