Skip to content

Read one zone with its layer stack and counts

GET/api/public/v1/zones/{zone_id}

The layer stack from the root down to this zone, plus the agent and policy counts. waiting and anomalies_24h are filtered over stored I-6 evidence in the zone subtree.

Terminal window
curl --fail-with-body -X GET 'https://app.openlatch.ai/api/public/v1/zones/<zone_id>' \
-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

ParameterTypeDescription
zone_idstring (uuid)Required.
FieldTypeDescription
ask_modestring or null
effective_ask_modestring
idstringRequired.
is_defaultboolean
is_rootbooleanRequired.
kpisobjectRequired. A zone's summary counts, including I-6 evidence in its subtree.
kpis.agentsobjectRequired. A zone's agent counts, by control level.
kpis.agents.compatibility_unavailableintegerRequired.
kpis.agents.enforcedintegerRequired.
kpis.agents.knownintegerRequired.
kpis.agents.monitoredintegerRequired.
kpis.agents.totalintegerRequired.
kpis.anomalies_24hinteger
kpis.policiesobjectRequired.
kpis.policies.added_hereintegerRequired.
kpis.policies.disabledintegerRequired.
kpis.policies.enforceintegerRequired.
kpis.policies.in_forceintegerRequired.
kpis.policies.inheritedintegerRequired.
kpis.policies.monitorintegerRequired.
kpis.waitinginteger
layersarray of objectRequired.
layers[].depthintegerRequired.
layers[].labelstringRequired.
layers[].unit_idstringRequired.
limitsobject or null
limits.cannot_promptintegerRequired. Agents whose binding cannot prompt: their ASKs take the fallback verdict.
limits.in_scopeintegerRequired. Agents whose effective zone is in the subtree.
limits.shell_onlyintegerRequired. Agents whose refusals reach shell tools only (Cline today).
org_unit_idstringRequired.
org_unit_pathstringRequired.
revisionintegerRequired.
{
"ask_mode": "string",
"effective_ask_mode": "both",
"id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"is_default": false,
"is_root": false,
"kpis": {
"agents": {
"compatibility_unavailable": 3,
"enforced": 3,
"known": 3,
"monitored": 3,
"total": 3
},
"anomalies_24h": 0,
"policies": {
"added_here": 3,
"disabled": 3,
"enforce": 3,
"in_force": 3,
"inherited": 3,
"monitor": 3
},
"waiting": 0
},
"layers": [
{
"depth": 3,
"label": "string",
"unit_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10"
}
],
"limits": {
"cannot_prompt": 3,
"in_scope": 3,
"shell_only": 3
},
"org_unit_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"org_unit_path": "Engineering / Platform",
"revision": 3
}