Read a Request execution
get_executionGet one execution by id: the request, datasource, principal and subject, mode, terminal_state, timing, the error message if it failed, and — where the serving path refused the answer itself — the refusal_class saying what it would not accept, with that class spelled out in one line. For an approved Request that still exists, execution_id alone reads local evidence and any Request Service record with ordered platform_calls. To read the Request Service record, supply datasource_id for a deleted Request or a dev_run_operation without a local execution row. Runtime egress refusals are included only when supplied by the service. A failed service record, or a succeeded record with a nonempty error, carries the service's own failure_class — the one reason it chose from observed facts, never parsed out of its error text — spelled out in one line as failure_class_meaning; that class is null on a clean success, on an indeterminate write, on a run still in flight and on records finished before the field existed, so a null is not proof of success. Remote evidence failures are explicit as service_execution_error when local evidence remains available. write_applied is execution-only: at least one broker write succeeded before a later failure; it establishes neither all intended writes nor a completed write count. It is never a dev classification or a clean success. Applied-write failures and indeterminate service writes include service_execution_guidance: do not resend the write; investigate current state using service_execution.verify_with when the pinned manifest names a verification read or broker guidance. An ad-hoc run carries no request_id: it is bound to no approved request. Writes include the declared_cap when recorded. Indeterminate writes include attestations (each human outcome, attested_by and attested_at), and an attestation_url for an Administrator to read the full evidence or state the outcome. Human statements do not change terminal_state. Ekaya persists the fact of what was attempted, never the payload: this tool never returns result rows or call parameters. An execution an approval ran also carries confirmation: the pending action, who requested it, who approved it, the authority and when. confirmation does not include the call's parameters. confirmation.requested_by and approved_by are the evidence's actor ids; a Data Access Point requester is its bare id, while principal is agent:.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"execution_id": "<execution_id>"
},
"name": "get_execution"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execution_id | Yes | Execution UUID from list_executions, dev_run_operation or execute_approved_request | |
| datasource_id | No | Service datasource UUID; needed to read the Request Service record for a deleted Request or a dev_run_operation without a local execution row. For an approved Request that still exists, execution_id alone suffices. Must match any local execution row. |