templates

Template build logs

Changed on

Get template build logs

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

Request

  • Base URL
    https://api.e2b.app
  • URL
    https://api.e2b.app/templates/{templateID}/builds/{buildID}/logs
  • 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

cursorinteger

Starting timestamp of the logs that should be returned in milliseconds

limitinteger

Maximum number of logs that should be returned

direction'forward' | 'backward'

Direction of the logs that should be returned

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

State of the sandbox

source'temporary' | 'persistent'

Source of the logs that should be returned

Source of the logs that should be returned from

Response

Successfully returned the template build logs

Changes

    • info

      added the non-success response with the status

    • info

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

    • info

      the endpoint scheme security AccessTokenAuth was removed from the API