Ir al contenido

Listar los elementos Ask

GET/api/public/v1/asks

Ventana de terminal
curl --fail-with-body -X GET 'https://app.openlatch.ai/api/public/v1/asks' \
-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: triage:read

ParámetroTipoDescripción
zonestring (uuid) or null
agentstring or null
overdueboolean
pageinteger
page_sizeinteger
CampoTipoDescripción
dataarray of objectObligatorio.
data[].action_value_maskedstring or null
data[].agent_answerstring — one of approved_in_agent, unanswered_in_agent, unobservable_in_agent or nullWhat the agent's own prompt came to, when this ASK was also delivered there (mode both): approved_in_agent — the tool ran, so the developer approved it; unanswered_in_agent — nothing ran within ten minutes (refused, abandoned or not delivered — never claimed as a denial); unobservable_in_agent — the agent gives no event to observe the answer. null for an ASK delivered only in the platform, or before any of these is known (AZ-4 D-I16-21, handoff gap 8).
data[].agent_idstring or null
data[].ask_fallbackstring — one of allow, block or nullWhat happens to the agent's action while this ASK is unanswered: allow — it ran and was flagged; block — the agent was denied until someone answers (AZ-4 AC-29). null when the atom is gone.
data[].atom_idstring or null
data[].atom_sentencestringObligatorio.
data[].dimensionstring or null
data[].first_seen_atstring (date-time)Obligatorio.
data[].idstringObligatorio.
data[].last_seen_atstring (date-time)Obligatorio.
data[].nudged_atstring (date-time) or null
data[].occurrencesintegerObligatorio.
data[].overduebooleanObligatorio.
data[].policy_idstring or null
data[].policy_public_idstring or null
data[].policy_statusstring or null
data[].recommendationobject or nullThe suggested answer drafted for this Ask, when one exists: Allow next time or Block next time, an exception scope and the reasons it rests on. It never applies on its own.
data[].sample_anomaly_idstring or null
data[].scope_proposalsarray of object
data[].snoozed_untilstring (date-time) or null
data[].zone_idstring or null
pageintegerObligatorio.
page_sizeintegerObligatorio.
totalintegerObligatorio.
{
"data": [
{
"action_value_masked": "string",
"agent_answer": "approved_in_agent",
"agent_id": "agt_01jbwa2k1vfrn9y42xhgxhmzj2",
"ask_fallback": "allow",
"atom_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"atom_sentence": "string",
"dimension": "string",
"first_seen_at": "2026-01-15T14:32:05Z",
"id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"last_seen_at": "2026-01-15T14:32:05Z",
"nudged_at": "2026-01-15T14:32:05Z",
"occurrences": 3,
"overdue": false,
"policy_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"policy_public_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"policy_status": "string",
"recommendation": {
"drafted_at": "2026-01-15T14:32:05Z",
"id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"language": "string",
"provenance": "model",
"reasons": [
{
"cites": [
"string"
],
"text": "Never push to main without a review."
}
],
"scope": "exact_action",
"status": "drafting",
"verdict": "allow"
},
"sample_anomaly_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10",
"scope_proposals": [
{
"covers": "string",
"proposed_by": "system",
"scope": "exact_action"
}
],
"snoozed_until": "2026-01-15T14:32:05Z",
"zone_id": "3f6c1a2e-8b4d-4c1f-9a7e-0d5b2c8e4f10"
}
],
"page": 1,
"page_size": 3,
"total": 3
}