Ir al contenido

Leer la propiedad de un agente

GET/api/public/v1/agents/{agent_id}/ownership

Owner (or service + accountable ref), function, the stored resolution evidence as signals, and the owner's directory freshness — served verbatim from stored state. Never re-runs the ladder and makes no directory call. A not-yet-resolved agent returns owner_kind: null with every signal outcome not_evaluated — bar a shared-key provideracct, which is ignored.

Ventana de terminal
curl --fail-with-body -X GET 'https://app.openlatch.ai/api/public/v1/agents/<agent_id>/ownership' \
-H "Authorization: Bearer $OPENLATCH_API_KEY"
Rol en la organizaciónEste punto de conexión
ownerPermitido
adminPermitido
editorPermitido
viewerPermitido

Una clave tiene el rol que su propietario ocupa en la organización. Consulte Autenticación.

Ámbito de la clave de API: agents:read

ParámetroTipoDescripción
agent_idstringObligatorio.
CampoTipoDescripción
capture_capableboolean
functionstring or null
function_confidencenumber or null
function_sourcestring or null
ownerobject or null
owner.display_namestring or null
owner.emailstring or null
owner.org_unitobject or null
owner.person_idstringObligatorio.
owner.privilegeobject or null
owner.statusstringObligatorio.
owner.titlestring or null
owner_kindstring or null
owner_resolved_atstring (date-time) or null
owner_sourcestring or null
providerobject or null
provider.display_namestringObligatorio.
provider.idstringObligatorio.
provider.kindstringObligatorio.
provider.last_synced_atstring (date-time) or null
provider.staleboolean
serviceobject or null
service.accountable_org_unitobject or null
service.accountable_personobject or null
service.labelstring or null
signalsarray of object
signals[].kindstringObligatorio.
signals[].outcomestringObligatorio.
signals[].valuestring or null
unattributed_reasonstring or null
unattributed_sincestring (date-time) or null
{
"capture_capable": true,
"function": "string",
"function_confidence": 0.25,
"function_source": "string",
"owner": {
"display_name": "release-bot",
"email": "ada@example.com",
"org_unit": {
"id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"name": "release-bot",
"path": "Engineering / Platform"
},
"person_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"privilege": {
"capabilities": {},
"evaluated_at": "2026-01-15T14:32:05Z",
"grant_count": 0,
"grant_counts": {},
"tier": "string"
},
"status": "string",
"title": "string"
},
"owner_kind": "string",
"owner_resolved_at": "2026-01-15T14:32:05Z",
"owner_source": "string",
"provider": {
"display_name": "release-bot",
"id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"kind": "string",
"last_synced_at": "2026-01-15T14:32:05Z",
"stale": false
},
"service": {
"accountable_org_unit": {
"id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"name": "release-bot",
"path": "Engineering / Platform"
},
"accountable_person": {
"display_name": "release-bot",
"email": "ada@example.com",
"org_unit": {},
"person_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"privilege": {},
"status": "string",
"title": "string"
},
"label": "string"
},
"signals": [
{
"kind": "string",
"outcome": "string",
"value": "string"
}
],
"unattributed_reason": "Never push to main without a review.",
"unattributed_since": "2026-01-15T14:32:05Z"
}