List Request executions
list_executionsList executions of approved requests in this project, newest first: which request ran, against which datasource, under which principal and subject, in which mode (approved, mock, dev), and how it ended (terminal_state succeeded, failed, or indeterminate — an attempt whose outcome could not be determined). An execution the serving path refused the answer of also carries a refusal_class saying what it would not accept: today's one value is answer_shape, meaning the source answered and the answer did not have the shape the approval named — nothing is wrong with the source, and somebody has to look at the declaration. It is beside terminal_state rather than part of it, and absent on almost every row. Use it to diagnose a production failure: filter by request_id, datasource_id, mode, terminal_state, refusal_class, success, and a time window. An ad-hoc run — SQL run through the query or execute tool — is bound to no approved request and carries no request_id. 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
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_executions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Only this kind of run: approved, mock, or dev | |
| limit | No | Max executions to return (default: 50, max: 500) | |
| since | No | Only executions at or after this RFC 3339 timestamp | |
| until | No | Only executions at or before this RFC 3339 timestamp | |
| success | No | Only executions counted as a success (true) or not (false) | |
| query_id | No | Only executions of this request (UUID) | |
| datasource_id | No | Only executions against this datasource (UUID) | |
| refusal_class | No | Only executions whose answer the serving path refused, of this class: answer_shape (the answer was not the shape the approval named) | |
| terminal_state | No | Only executions that ended this way: succeeded, failed, or indeterminate |