# GET /sandboxes/{}/logs is deprecated

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

- 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/{}/logs`
- Source: [Announcement](https://docs.e2b.dev/api-reference/sandboxes/get-sandbox-logs.md)
- Page: https://www.okapi.bot/providers/e2b-api/breaking-changes/get-sandboxes-logs-is-deprecated/

## What to use instead

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

## E2B API's words

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