Sandbox envs

List recent K8s Events for a SandboxEnv and its member SandboxPools, newest first.

Returns the K8s Events emitted against the named SandboxEnv and every member SandboxPool the Env owns in the caller's namespace, merged and sorted descending by lastTimestamp. Used by the dashboard to render an activity timeline (scaling decisions, phase transitions, autoscaler actions). Reads come straight from the apiserver — no Prometheus round-trip — so the latest event is visible as soon as the controllers emit it.

GET
/envs/{name}/events

Returns the K8s Events emitted against the named SandboxEnv and every member SandboxPool the Env owns in the caller's namespace, merged and sorted descending by lastTimestamp. Used by the dashboard to render an activity timeline (scaling decisions, phase transitions, autoscaler actions). Reads come straight from the apiserver — no Prometheus round-trip — so the latest event is visible as soon as the controllers emit it.

Authorization

ApiKeyAuth
AGENTBOX-API-KEY<token>

In: header

Path Parameters

name*string

Query Parameters

limit?integer

Maximum number of events to return.

Default100
Range1 <= value <= 500

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://envs/string/events"
{  "items": [    {      "involvedKind": "string",      "involvedName": "string",      "reason": "string",      "action": "string",      "message": "string",      "type": "string",      "count": 0,      "firstTimestamp": "2019-08-24T14:15:22Z",      "lastTimestamp": "2019-08-24T14:15:22Z"    }  ],  "total": 0}
{  "error": "string",  "errorCode": "API_KEY_REQUIRED",  "detail": null}
{  "error": "string",  "errorCode": "API_KEY_REQUIRED",  "detail": null}
{  "error": "string",  "errorCode": "API_KEY_REQUIRED",  "detail": null}