templates
Template build logs
Changed onGet template build logs
get/templates/{templateID}/builds/{buildID}/logs
Request
- Base URLhttps://api.e2b.app
- URLhttps://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
- info
the endpoint scheme security
AdminJWTAuth AND AdminTeamAuthwas added to the API - info
the endpoint scheme security
AccessTokenAuthwas removed from the API
- info