Two Ways In
There are two ways to reach recorded interactions, and you usually want the first one.- Scoped to a criterion.
GET /criterion-runs/{id}returns theevidencepayload the check used to reach its verdict. This is the right entry point when you are triaging a specific failure because the evidence is already filtered down to what mattered for that check. - Raw per-sandbox.
GET /sandboxes/{id}/eventsreturns every event recorded against a sandbox, in order. Use this when you need the full interaction log, the exact request headers a FHIR call went out with, or turns that the criterion did not inspect.
The sandbox events endpoint (
GET /sandboxes/{id}/events) is the lowest-level
access. For task-scoped evidence, prefer the criterion-run endpoint.Evidence by Protocol
| Protocol | What gets recorded | How to read it |
|---|---|---|
| FHIR | Requests and responses against the sandbox FHIR store | evidence.field_results[] on a fhir-resource-state criterion; raw calls via sandbox events |
| HL7 | Outbound v2 messages your agent posted (hl7_outbound events) | evidence.field_results[] on an hl7-structural criterion; raw messages via sandbox events |
| Voice | Transcript turns from the IVR session | evidence.phrase_results[] on a voice-transcript criterion; full turns via sandbox events |
| Fax | OCR’d fax documents submitted to the sandbox | Criterion evidence references the matched document; raw documents via sandbox events |
| Portal (Web Sim) | Portal actions and state transitions | evidence.assertion_results[] on a portal-state-match criterion; raw events via sandbox events |
| SFTP / Files | File uploads and listings under the sandbox’s SFTP prefix | evidence.field_results[] plus matched path(s) on an sftp-file-present criterion |
| X12 | X12 response records for the playground | evidence.field_results[] on an x12-response criterion |
evidence shape is summarized on the Verification concept page; the canonical definition is whatever the Criterion Run row currently holds.
Example: Voice Transcript
Avoice-transcript criterion records which phrases it searched for and in which turn it found them.
Example: FHIR Request Log
Afhir-resource-state criterion compares the final state of a resource against expected fields.
Example: Portal Events
Portal (web simulator) criteria record assertion results against the sandbox’s portal state.Next Steps
Criteria
The typed assertions that produce each evidence shape.
Verification
How the engine dispatches checks against sandbox state.