admin

List recent scaling errors of a rig

Changed on

List recent scaling errors on the rig's scaling group (e.g. failed instance creations due to resource exhaustion), newest first.

get/clusters/{clusterID}/rigs/{rigID}/errors

Request

  • Base URL
    https://api.e2b.app
  • URL
    https://api.e2b.app/clusters/{clusterID}/rigs/{rigID}/errors
  • Auth
    • API key in header X-Admin-Token
    • or HTTP bearer

Path parameters

clusterIDstring uuid required

Identifier of the cluster

rigIDstring required

Rig identifier (e.g. "default")

Query parameters

limitinteger

Maximum number of errors to return

Response

Successfully returned the scaling errors of the rig

timestampstring date-time required

When the error occurred

codestring required

Provider-specific error code (e.g. ZONE_RESOURCE_POOL_EXHAUSTED, Failed)

messagestring required

Human-readable error message

instancestring

Instance the error relates to, if any

actionstring

Action being performed when the error occurred (e.g. CREATING)

Changes