---
title: "Sandbox logs"
method: GET
path: "/sandboxes/{sandboxID}/logs"
tags: ["sandboxes"]
deprecated: true
---

# Sandbox logs

`GET /sandboxes/{sandboxID}/logs`

> **Deprecated.**

Get sandbox logs. Use /v2/sandboxes/{sandboxID}/logs instead.

## Path parameters

- `sandboxID` string, required

## Query parameters

- `start` integer
- `limit` integer

## Response `200`

Successfully returned the sandbox logs

- SandboxLogs
  - `logs` SandboxLog[], required — Logs of the sandbox
    - `timestamp` string, date-time, required — Timestamp of the log entry
    - `line` string, required — Log line content
  - `logEntries` SandboxLogEntry[], required — Structured logs of the sandbox
    - `timestamp` string, date-time, required — Timestamp of the log entry
    - `message` string, required — Log message content
    - `level` 'debug' | 'info' | 'warn' | 'error', required — State of the sandbox
    - `fields` object, required

## Other responses

- `401` — Authentication error
- `404` — Not found
- `500` — Server error

## Changes

> 53 revisions in range; 23 could not be searched.

- **2026-07-24** `93ed246a4c10` — 2 info
  - the endpoint scheme security `AdminApiKeyAuth AND AdminTeamAuth` was added to the API
  - the endpoint scheme security `Supabase1TokenAuth AND Supabase2TeamAuth` was removed from the API
- **2026-05-27** `e13ef89d456c` — 1 info
  - the endpoint scheme security `AuthProviderBearerAuth AND AuthProviderTeamAuth` was added to the API
- **2024-05-31** `7ae937d719fd` — 2 breaking, 2 warning
  - for the `query` request parameter `limit`, the type/format was changed from `integer`/`` to `integer`/`int32`
  - for the `query` request parameter `start`, the type/format was changed from `integer`/`` to `integer`/`int64`
  - for the `query` request parameter `limit`, the min was set to `0.00`
  - for the `query` request parameter `start`, the min was set to `0.00`
- **2024-04-04** `e9dcbe58a02b` — 3 breaking
  - the `logs/items/` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the required property `envID` from the response with the `200` status
  - removed the required property `sandboxID` from the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/e2b-dev/apis/e2b-api/changes/sandboxes/:sandboxID/logs/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-service-production.skmtc.workers.dev/v1/apis/e2b-dev/e2b-api/revisions/e01b3f5506fe/schema)
