Diagnose one branch plane
Returns branch lifecycle, active schema, compatibility with the parent schema, safe datasource coordinates, and readiness blockers.
GET
/v1/branches/{id}/statusPath parameters
idstringrequiredResponses
200The complete branch readiness view.
objectstringrequiredbranchobjectrequiredShow propertiesHide properties
objectstringrequiredidstringrequiredproject_idstringrequiredparent_branch_idstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyslugstringrequiredmin length 1 · max length 40 · matches ^[a-z0-9](?:[a-z0-9-]{0,38}[a-z0-9])?$
namestring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anykindstringrequiredAllowed:
devpreviewtestlong_livedstatestringrequiredAllowed:
provisioningreadyfaileddeletingdeletedoriginstringrequiredAllowed:
emptysource_snapshotcoordinated_forkrootbooleanrequiredexpires_atstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anycreated_atstringrequireddeleted_atstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyreadybooleanrequiredschemaobjectrequiredShow propertiesHide properties
activebooleanrequiredversioninteger | anyrequiredShow propertiesHide properties
Any of:
integer
integerany
anyhashstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyparent_compatibilitystringrequiredAllowed:
samecompatiblereviewblockedunknownchangesintegerrequiredmin 0 · max 9007199254740991
warningsintegerrequiredmin 0 · max 9007199254740991
blockersintegerrequiredmin 0 · max 9007199254740991
data_sourceobjectrequiredShow propertiesHide properties
kindstringrequiredAllowed:
hosteddirectendpointstatusstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyhoststring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anydatabasestring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anycursorstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyevent_lagintegerrequiredmin 0 · max 9007199254740991
retry_countintegerrequiredmin 0 · max 9007199254740991
last_success_atstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anylast_errorstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anyblockersobject[]requiredShow propertiesHide properties
Array of
objectcodestringrequiredAllowed:
branch_not_readyschema_missingdata_source_not_readyproblemstringrequiredfixstringrequired400The request did not satisfy the published contract.
typestringrequiredcodestringparamstringmessagestringrequireddoc_urlstringrequest_idstringerrorsobject[]Show propertiesHide properties
Array of
objectcodestringmessagestringrequiredparamstring401The Bearer credential is missing, malformed, or expired.
typestringrequiredcodestringparamstringmessagestringrequireddoc_urlstringrequest_idstringerrorsobject[]Show propertiesHide properties
Array of
objectcodestringmessagestringrequiredparamstring403The credential does not authorize this operation.
typestringrequiredcodestringparamstringmessagestringrequireddoc_urlstringrequest_idstringerrorsobject[]Show propertiesHide properties
Array of
objectcodestringmessagestringrequiredparamstring404The addressed resource does not exist in the credential scope.
typestringrequiredcodestringparamstringmessagestringrequireddoc_urlstringrequest_idstringerrorsobject[]Show propertiesHide properties
Array of
objectcodestringmessagestringrequiredparamstring409The request conflicts with current claim, version, or idempotency state.
typestringrequiredcodestringparamstringmessagestringrequireddoc_urlstringrequest_idstringerrorsobject[]Show propertiesHide properties
Array of
objectcodestringmessagestringrequiredparamstring429The caller exceeded an enforced rate limit.
typestringrequiredcodestringparamstringmessagestringrequireddoc_urlstringrequest_idstringerrorsobject[]Show propertiesHide properties
Array of
objectcodestringmessagestringrequiredparamstring500The server could not complete the request.
typestringrequiredcodestringparamstringmessagestringrequireddoc_urlstringrequest_idstringerrorsobject[]Show propertiesHide properties
Array of
objectcodestringmessagestringrequiredparamstring503A required service is temporarily unavailable.
typestringrequiredcodestringparamstringmessagestringrequireddoc_urlstringrequest_idstringerrorsobject[]Show propertiesHide properties
Array of
objectcodestringmessagestringrequiredparamstringdefaultAn HTTP error not otherwise listed; decoded through the canonical envelope.
typestringrequiredcodestringparamstringmessagestringrequireddoc_urlstringrequest_idstringerrorsobject[]Show propertiesHide properties
Array of
objectcodestringmessagestringrequiredparamstringRequest
curl -X GET "https://api.abloatai.com/api/v1/branches/string/status"const response = await fetch("https://api.abloatai.com/api/v1/branches/string/status", {
method: "GET"
});import requests
response = requests.get(
"https://api.abloatai.com/api/v1/branches/string/status",
)Response
{
"object": "branch_status",
"branch": {
"object": "branch",
"id": "string",
"project_id": "string",
"parent_branch_id": "string",
"slug": "string",
"name": "string",
"kind": "dev",
"state": "provisioning",
"origin": "empty",
"root": true,
"expires_at": "string",
"created_at": "string",
"deleted_at": "string"
},
"ready": true,
"schema": {
"active": true,
"version": 0,
"hash": "string",
"parent_compatibility": "same",
"changes": 0,
"warnings": 0,
"blockers": 0
},
"data_source": {
"kind": "hosted",
"status": "unverified",
"host": "string",
"database": "string",
"cursor": "string",
"event_lag": 0,
"retry_count": 0,
"last_success_at": "string",
"last_error": "string"
},
"blockers": [
{
"code": "branch_not_ready",
"problem": "string",
"fix": "string"
}
]
}{
"type": "string",
"code": "string",
"param": "string",
"message": "string",
"doc_url": "string",
"request_id": "string",
"errors": [
{
"code": "string",
"message": "string",
"param": "string"
}
]
}{
"type": "string",
"code": "string",
"param": "string",
"message": "string",
"doc_url": "string",
"request_id": "string",
"errors": [
{
"code": "string",
"message": "string",
"param": "string"
}
]
}{
"type": "string",
"code": "string",
"param": "string",
"message": "string",
"doc_url": "string",
"request_id": "string",
"errors": [
{
"code": "string",
"message": "string",
"param": "string"
}
]
}{
"type": "string",
"code": "string",
"param": "string",
"message": "string",
"doc_url": "string",
"request_id": "string",
"errors": [
{
"code": "string",
"message": "string",
"param": "string"
}
]
}{
"type": "string",
"code": "string",
"param": "string",
"message": "string",
"doc_url": "string",
"request_id": "string",
"errors": [
{
"code": "string",
"message": "string",
"param": "string"
}
]
}{
"type": "string",
"code": "string",
"param": "string",
"message": "string",
"doc_url": "string",
"request_id": "string",
"errors": [
{
"code": "string",
"message": "string",
"param": "string"
}
]
}{
"type": "string",
"code": "string",
"param": "string",
"message": "string",
"doc_url": "string",
"request_id": "string",
"errors": [
{
"code": "string",
"message": "string",
"param": "string"
}
]
}{
"type": "string",
"code": "string",
"param": "string",
"message": "string",
"doc_url": "string",
"request_id": "string",
"errors": [
{
"code": "string",
"message": "string",
"param": "string"
}
]
}{
"type": "string",
"code": "string",
"param": "string",
"message": "string",
"doc_url": "string",
"request_id": "string",
"errors": [
{
"code": "string",
"message": "string",
"param": "string"
}
]
}