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. Use /v2/sandboxes//logs instead.
curl --request GET \
--url https://api.e2b.app/sandboxes/{sandboxID}/logs \
--header 'X-API-Key: <api-key>'{
"logs": [
{
"timestamp": "2023-11-07T05:31:56Z",
"line": "<string>"
}
],
"logEntries": [
{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"level": "<string>",
"fields": {}
}
]
}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
x >= 0Was this page helpful?
curl --request GET \
--url https://api.e2b.app/sandboxes/{sandboxID}/logs \
--header 'X-API-Key: <api-key>'{
"logs": [
{
"timestamp": "2023-11-07T05:31:56Z",
"line": "<string>"
}
],
"logEntries": [
{
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"level": "<string>",
"fields": {}
}
]
}