What the models look like
The schema deployed on your credential’s plane: every model with its fields, their types, and its relations. Read this when you have no local schema declaration to read types from — it is what makes a field typo a local check rather than a rejected write. Each model carries a content hash that moves only when its shape does, so read the shape once and poll the hashes after: a refetch only ever answers a push.
GET
/v1/schemaResponses
200The deployed schema, or `active: false` when nothing is pushed.
One of:
object
activebooleanrequiredenvironmentstringrequiredprojectstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymodelsobject[]requiredShow propertiesHide properties
Array of
objectkeystringrequiredtypenamestringrequiredconflictobject | anyrequiredShow propertiesHide properties
Any of:
object
userstringAllowed:
rejectoverwritenotifyagentstringAllowed:
rejectoverwritenotifysystemstringAllowed:
rejectoverwritenotifyany
anyhashstringrequiredfieldsobjectrelationsobjectobject
activebooleanrequiredenvironmentstringrequiredprojectstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
anymodelsobject[]requiredShow propertiesHide properties
Array of
objectkeystringrequiredtypenamestringrequiredconflictobject | anyrequiredShow propertiesHide properties
Any of:
object
userstringAllowed:
rejectoverwritenotifyagentstringAllowed:
rejectoverwritenotifysystemstringAllowed:
rejectoverwritenotifyany
anyhashstringrequiredfieldsobjectrelationsobjectschemaIdstringrequiredversionnumberrequiredhashstringrequiredpushedAtstring | anyrequiredShow propertiesHide properties
Any of:
string
stringany
any400The 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/schema"const response = await fetch("https://api.abloatai.com/api/v1/schema", {
method: "GET"
});import requests
response = requests.get(
"https://api.abloatai.com/api/v1/schema",
)Response
{
"active": false,
"environment": "string",
"project": "string",
"models": [
{
"key": "string",
"typename": "string",
"conflict": {
"user": "reject",
"agent": "reject",
"system": "reject"
},
"hash": "string",
"fields": {},
"relations": {}
}
]
}{
"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"
}
]
}