Evidence
What was checked, how, and whether it held.
curl https://api.phronen.ai/api/v1/tasks/{id}/evidence \
-H "Authorization: Bearer $PHRONEN_KEY"{
"task": { "id": "…", "status": "completed" },
"evidence": [
{ "kind": "command", "ref": "dig +short example.com", "result": "203.0.113.7", "status": "pass", "confidence": 0.98, "recorded_at": "…" },
{ "kind": "source", "ref": "https://example.com", "result": "200 OK, new build id in footer", "status": "pass", "confidence": 0.95, "recorded_at": "…" }
]
}Each item’s status is pass, fail or unknown. A task reaches completed only when the verifier passed every condition it set; a single unknown keeps it from being called done.
Was this page helpful?