Skip to content

List the organization's autonomy zones

GET/api/public/v1/zones

Every live layer with its counts. Creates the organization's root unit and root zone on first call — the other trigger besides GET /org-units, through the same bootstrap.

Terminal window
curl --fail-with-body -X GET 'https://app.openlatch.ai/api/public/v1/zones' \
-H "Authorization: Bearer $OPENLATCH_API_KEY"
Role in the organizationThis endpoint
ownerAllowed
adminAllowed
editorAllowed
viewerAllowed

A key carries the role its owner holds in the organization. See Authentication.

API key scope: zones:read

FieldTypeDescription
dataarray of objectRequired.
data[].agents_compatibility_unavailableintegerRequired.
data[].agents_directintegerRequired.
data[].agents_subtreeintegerRequired.
data[].idstringRequired.
data[].is_defaultboolean
data[].is_rootbooleanRequired.
data[].org_unit_idstringRequired.
data[].pathstringRequired.
data[].policies_in_forceintegerRequired.
{
"data": [
{
"agents_compatibility_unavailable": 3,
"agents_direct": 3,
"agents_subtree": 3,
"id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"is_default": false,
"is_root": false,
"org_unit_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"path": "Engineering / Platform",
"policies_in_force": 3
}
]
}