Runs

GET /api/v1/runs/{runId}

Poll a run until it reaches a terminal status.

GET /api/v1/runs/{runId}

Poll a run until it reaches a terminal status.

While the run is unfinished the response carries Retry-After: 15. Once terminal the body is immutable and cached, so a poller that keeps polling costs nothing.

Requires a key with read scope or higher.

Returns 200 on success.

Parameters

NameInTypeRequiredDescription
runIdpathstringyesThe run id returned by POST /api/v1/runs.

Example

curl -X GET "https://bidandscale.com/api/v1/runs/{runId}" \
  -H "Authorization: Bearer $BIDANDSCALE_API_KEY"

On this page