templates

Template build status

Changed on

Get template build info

get/templates/{templateID}/builds/{buildID}/status

Request

  • Base URL
    https://api.e2b.app
  • URL
    https://api.e2b.app/templates/{templateID}/builds/{buildID}/status
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer and API key in header X-Team-ID
    • or API key in header X-Admin-Token and API key in header X-Team-ID
    • or HTTP bearer and API key in header X-Team-ID

Path parameters

templateIDstring required
buildIDstring required

Query parameters

logsOffsetinteger

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

limitinteger

Maximum number of logs that should be returned

level'debug' | 'info' | 'warn' | 'error'

State of the sandbox

Response

Successfully returned the template

logsstring[] required

Build logs (always empty since the V1 build path was removed, use logEntries)

templateIDstring required

Identifier of the template

buildIDstring required

Identifier of the build

status'building' | 'waiting' | 'ready' | 'error' required

Status of the template build

Changes

    • info

      added the non-success response with the status

    • info

      response property logs deprecated

    • info

      the endpoint scheme security AdminJWTAuth AND AdminTeamAuth was added to the API

    • info

      the endpoint scheme security AccessTokenAuth was removed from the API