Route Serverless Request
Ask the serverless router for a ready worker to handle one request against a serverless endpoint group. Returns the worker URL (plus a signature the worker validates) or a backlog/scaling status when no worker is immediately available.
Authorizations
API key must be provided in the Authorization header
Body
Endpoint group id (supply this or endpoint).
Endpoint group name (supply this or endpoint_id).
Endpoint API key. May instead be supplied as a Bearer token in the Authorization header.
Estimated request cost in cost units (must be ≥ 0).
Average time a single worker takes to complete this request, in seconds.
Request index; 0 (or omitted) starts a new request, a prior value re-polls it.
Client-supplied request identifier.
Seconds after which an unanswered request may be replayed on another worker.
Response
Success