Skip to main content
POST
/
builds
/
update
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"
  }'
{
  "success": true
}
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

buildId
string
required
Build ID to update
status
string
required
New build status: building, completed, or failed
logs
string
Build logs (for debugging)
errorMessage
string
Error message if build failed

Response

success
boolean
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"
  }'
{
  "success": true
}