sandboxes
Sandbox logs (v2)
Changed onGet sandbox logs
get/v2/sandboxes/{sandboxID}/logs
Request
- Base URLhttps://api.e2b.app
- URLhttps://api.e2b.app/v2/sandboxes/{sandboxID}/logs
- 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
cursorinteger
Starting timestamp of the logs that should be returned in milliseconds
limitinteger
Maximum number of logs that should be returned
direction'forward' | 'backward'
Direction of the logs that should be returned
level'debug' | 'info' | 'warn' | 'error'
State of the sandbox
Minimum log level to return. Logs below this level are excluded
searchstring
Case-sensitive substring match on log message content
Response
Successfully returned the sandbox logs
Changes
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
AdminJWTAuth AND AdminTeamAuthwas added to the API
- info