Skip to main content
GET
/
templates
/
{templateID}
/
builds
/
{buildID}
/
status
Get build status
curl --request GET \
  --url https://api.e2b.app/templates/{templateID}/builds/{buildID}/status \
  --header 'Authorization: Bearer <token>'
{
  "logs": [],
  "logEntries": [],
  "templateID": "<string>",
  "buildID": "<string>",
  "status": "building",
  "reason": {
    "message": "<string>",
    "step": "<string>",
    "logEntries": []
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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
string

Severity level for log entries (e.g. 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,
uploaded
reason
object