# GET /sandboxes/{}/logs is deprecated

E2B API deprecated GET /sandboxes/{id}/logs without giving a shutdown date yet.

E2B API deprecated the GET /sandboxes/{id}/logs endpoint without a shutdown date. This deprecation affects all requests calling GET /sandboxes/{id}/logs to retrieve sandbox logs. Once removed, requests sent to this endpoint fail.

## What to use instead

Read logs with GET /v2/sandboxes/{sandboxID}/logs instead.

- API: E2B API (api.e2b.app)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /sandboxes/{id}/logs`
- Source: [Announcement](https://docs.e2b.dev/api-reference/sandboxes/get-sandbox-logs.md)
- Verified: November 6, 2026, against E2B API's own pages
- Page: https://www.okapi.bot/providers/e2b-api/breaking-changes/get-sandboxes-logs-is-deprecated/

## E2B API's words

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

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
