Maintenance May 12, 8–9 PM PDT (May 13, 03:00–04:00 UTC). ~1 min disruption to sandbox management may occur. Already running sandboxes will not be affected. Questions? Contact us
Maintenance May 12, 8–9 PM PDT (May 13, 03:00–04:00 UTC). ~1 min disruption to sandbox management may occur. Already running sandboxes will not be affected. Questions? Contact us
Start the build
curl --request POST \
--url https://api.e2b.app/v2/templates/{templateID}/builds/{buildID} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"fromImage": "<string>",
"fromTemplate": "<string>",
"fromImageRegistry": {
"type": "aws",
"awsAccessKeyId": "<string>",
"awsSecretAccessKey": "<string>",
"awsRegion": "<string>"
},
"force": false,
"steps": [],
"startCmd": "<string>",
"readyCmd": "<string>"
}
'{}Documentation Index
Fetch the complete documentation index at: https://e2b-banner-hover-tooltip.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Image to use as a base for the template build
Template to use as a base for the template build
Show child attributes
Whether the whole build should be forced to run regardless of the cache
List of steps to execute in the template build
Show child attributes
Start command to execute in the template after the build
Ready check command to execute in the template after the build
The build has started
Empty response
Was this page helpful?
curl --request POST \
--url https://api.e2b.app/v2/templates/{templateID}/builds/{buildID} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"fromImage": "<string>",
"fromTemplate": "<string>",
"fromImageRegistry": {
"type": "aws",
"awsAccessKeyId": "<string>",
"awsSecretAccessKey": "<string>",
"awsRegion": "<string>"
},
"force": false,
"steps": [],
"startCmd": "<string>",
"readyCmd": "<string>"
}
'{}