events

GET /events/sandboxes/{sandboxID}

Changed on

Get sandbox events

Request

  • Base URL
    https://api.e2b.app
  • URL
    https://api.e2b.app/events/sandboxes/{sandboxID}
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer and API key in header X-Team-ID
    • or API key in header X-Admin-Token and API key in header X-Team-ID
    • or HTTP bearer and API key in header X-Team-ID

Path parameters

sandboxIDstring required

Query parameters

offsetinteger
limitinteger
orderAscboolean
typesstring[]

Filter events to the provided event types

Response

Successfully returned the sandbox events

idstring uuid required

Event unique identifier

versionstring required

Event structure version

typestring required

Event name

eventCategorystring

Category of the event (e.g., 'lifecycle', 'process', etc.)

eventLabelstring

Label for the specific event type (e.g., 'sandbox_started', 'process_oom', etc.)

eventDataobject nullable

Optional JSON data associated with the event

timestampstring date-time required

Timestamp of the event

sandboxIdstring string required

Unique identifier for the sandbox

sandboxExecutionIdstring string required

Unique identifier for the sandbox execution

sandboxTemplateIdstring string required

Unique identifier for the sandbox template

sandboxBuildIdstring string required

Unique identifier for the sandbox build

sandboxTeamIdstring uuid required

Team identifier associated with the sandbox

Changes