GET
/v1/builds/{buildId}Get a build⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
Returns one build with the resources it reported acting on.
Parameters
buildIdstringpathrequiredResponses
object
dataobjectrequiredShow child attributes
applicationTopologyContentHashnull | stringrequiredbranchIdnull | stringrequiredbranchNamestringrequiredcommitShastringrequiredcreatedAtstringrequireddeployedUrlnull | stringrequirederrorMessagenull | stringrequiredexternalLogUrlnull | stringrequiredfailingStepnull | stringrequiredfinishedAtnull | stringrequiredgitRepoIdnull | stringrequiredRepository the build ran against. Set only when the workspace has a live link to it; a reported repository the platform does not know stays null.
idstringrequiredphasenull | stringrequiredNull when nothing reported a phase; the platform never invents an observation it did not receive.
projectIdnull | stringrequiredresourcesarray of objectrequiredShow child attributes
Show array items
actionstringrequiredcreatedAtstringrequiredresourceIdstringrequiredPrefixed id of the reported resource.
resourceTypestringrequiredsourcestringrequiredstartedAtnull | stringrequiredstatestringrequired{
"data": {
"applicationTopologyContentHash": "string",
"branchId": "string",
"branchName": "string",
"commitSha": "string",
"createdAt": "string",
"deployedUrl": "string",
"errorMessage": "string",
"externalLogUrl": "string",
"failingStep": "string",
"finishedAt": "string",
"gitRepoId": "string",
"id": "string",
"phase": "build",
"projectId": "string",
"resources": [
{
"action": "acted_on",
"createdAt": "string",
"resourceId": "string",
"resourceType": "app"
}
],
"source": "ci",
"startedAt": "string",
"state": "cancelled"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}object
errorobjectrequiredShow child attributes
codestringrequiredhintstringmessagestringrequired{
"error": {
"code": "string",
"hint": "string",
"message": "string"
}
}