Skip to main content
GET
/
templates
/
{templateID}
/
builds
/
{buildID}
/
logs
cURL
curl --request GET \
  --url https://api.e2b.app/templates/{templateID}/builds/{buildID}/logs \
  --header 'X-API-Key: <api-key>'
{
  "logs": []
}

Authorizations

X-API-Key
string
header
required

Path Parameters

templateID
string
required
buildID
string
required

Query Parameters

cursor
integer<int64>

Starting timestamp of the logs that should be returned in milliseconds

Required range: x >= 0
limit
integer<int32>
default:100

Maximum number of logs that should be returned

Required range: 0 <= x <= 100
direction
enum<string>

Direction of the logs that should be returned

Available options:
forward,
backward
level
enum<string>

State of the sandbox

Available options:
debug,
info,
warn,
error
source
enum<string>

Source of the logs that should be returned

Available options:
temporary,
persistent

Response

Successfully returned the template build logs

logs
object[]
required

Build logs structured