Skip to content

List asks

GET/api/public/v1/asks

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

ParameterTypeDescription
zonestring (uuid) or null
agentstring or null
overdueboolean
pageinteger
page_sizeinteger
FieldTypeDescription
dataarray of objectRequired.
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_sentencestringRequired.
data[].dimensionstring or null
data[].first_seen_atstring (date-time)Required.
data[].idstringRequired.
data[].last_seen_atstring (date-time)Required.
data[].nudged_atstring (date-time) or null
data[].occurrencesintegerRequired.
data[].overduebooleanRequired.
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
pageintegerRequired.
page_sizeintegerRequired.
totalintegerRequired.
{
"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
}