Maintenance May 12, 8–9 PM PDT (May 13, 03:00–04:00 UTC). ~1 min disruption to sandbox management may occur. Already running sandboxes will not be affected. Questions? Contact us
Maintenance May 12, 8–9 PM PDT (May 13, 03:00–04:00 UTC). ~1 min disruption to sandbox management may occur. Already running sandboxes will not be affected. Questions? Contact us
Get sandbox logs
curl --request GET \
--url https://api.e2b.app/v2/sandboxes/{sandboxID}/logs \
--header 'X-API-Key: <api-key>'{
"logs": []
}Documentation Index
Fetch the complete documentation index at: https://e2b-banner-hover-tooltip.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Starting timestamp of the logs that should be returned in milliseconds
x >= 0Maximum number of logs that should be returned
0 <= x <= 1000Direction of the logs that should be returned
forward, backward Minimum log level to return. Logs below this level are excluded Severity level for log entries (e.g. info, warn, error)
Case-sensitive substring match on log message content
256Successfully returned the sandbox logs
Sandbox logs structured
Show child attributes
Was this page helpful?
curl --request GET \
--url https://api.e2b.app/v2/sandboxes/{sandboxID}/logs \
--header 'X-API-Key: <api-key>'{
"logs": []
}