Updates the status of a template build. Used by the SDK to report build progress and completion.
This endpoint is typically called by the SDK’s Template.build() method. You don’t need to call it directly unless building a custom integration.
Request Body
New build status: building, completed, or failed
Build logs (for debugging)
Error message if build failed
Response
Whether the update was successful
curl -X POST https://www.orgo.ai/api/builds/update \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"buildId": "a3bb189e-8bf9-3888-9912-ace4e6543002",
"status": "completed"
}'