---
title: "GET /events/sandboxes/{sandboxID}"
method: GET
path: "/events/sandboxes/{sandboxID}"
tags: ["events"]
---

# GET /events/sandboxes/{sandboxID}

`GET /events/sandboxes/{sandboxID}`

## Request

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

Get sandbox events

## Path parameters

- `sandboxID` string, required

## Query parameters

- `offset` integer
- `limit` integer
- `orderAsc` boolean
- `types` string[]

## Response `200`

Successfully returned the sandbox events

- SandboxEvent[]
  - `id` string, uuid, required: Event unique identifier
  - `version` string, required: Event structure version
  - `type` string, required: Event name
  - `eventCategory` string: Category of the event (e.g., 'lifecycle', 'process', etc.)
  - `eventLabel` string: Label for the specific event type (e.g., 'sandbox_started', 'process_oom', etc.)
  - `eventData` object, nullable: Optional JSON data associated with the event
  - `timestamp` string, date-time, required: Timestamp of the event
  - `sandboxId` string, string, required: Unique identifier for the sandbox
  - `sandboxExecutionId` string, string, required: Unique identifier for the sandbox execution
  - `sandboxTemplateId` string, string, required: Unique identifier for the sandbox template
  - `sandboxBuildId` string, string, required: Unique identifier for the sandbox build
  - `sandboxTeamId` string, uuid, required: Team identifier associated with the sandbox

## Other responses

- `400`: Bad request
- `401`: Authentication error
- `404`: Not found
- `500`: Server error

## Changes

- **2026-09-18** `0fb774ca41bf`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/e2b-dev/apis/e2b-api/changes/events/sandboxes/:sandboxID/get.md)

---

[API](https://skmtc.dev/e2b-dev/apis/e2b-api.md) - [All operations](https://skmtc.dev/e2b-dev/apis/e2b-api/llms.txt) - [OpenAPI document](https://skmtc.dev/e2b-dev/apis/e2b-api/revisions/99fccbc60e6d?raw)
