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

Authorizations

X-API-Key
string
header
required

Path Parameters

templateID
string
required
buildID
string
required

Query Parameters

logsOffset
integer<int32>
default:0

Index of the starting build log that should be returned with the template

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

Maximum number of logs that should be returned

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

State of the sandbox

Available options:
debug,
info,
warn,
error

Response

Successfully returned the template

logs
string[]
required

Build logs

logEntries
object[]
required

Build logs structured

templateID
string
required

Identifier of the template

buildID
string
required

Identifier of the build

status
enum<string>
required

Status of the template build

Available options:
building,
waiting,
ready,
error
reason
object