Get private agent ledger
get_agent_ledgerAudit your paper-trading execution history with filterable ledger data including reads, writes, and decision trace metadata for reproducible runs.
Instructions
List this API key's private execution ledger: reads, quotes, writes, rejects, idempotent replays, latency, sanitized summaries, and optional run/decision trace metadata. Only rows for the calling key are returned. Use this to audit a reproducible paper-trading run. Paper trading only — virtual funds (50,000 mUSD). Not financial advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | No | Optional venue filter. | |
| eventType | No | Optional event type filter. | |
| runId | No | Optional run id filter. | |
| decisionId | No | Optional decision id filter. | |
| status | No | Optional ledgerStatus filter. | |
| from | No | Optional ISO start timestamp. | |
| to | No | Optional ISO end timestamp. | |
| limit | No | Rows to return (1-100, default 25). | |
| offset | No | Pagination offset (default 0). | |
| agentTrace | No | Optional private trace metadata stored in the caller's ledger. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| httpStatus | Yes | HTTP status returned by CoinRithm, or 0 for network errors. | |
| ok | Yes | True when CoinRithm returned a successful 2xx response. | |
| ledgerEventId | No | Private AgentActionEvent id returned by /api/agent/*, when present. | |
| ledgerStatus | No | Ledger write status header returned by CoinRithm, when present. | |
| body | No | Parsed CoinRithm response body, or raw text when the response is not JSON. |