Record an agent action
ledger_record_actionAppend an action to the organization's tamper-evident log. Returns the entry with its entry_hash receipt. Requires the organization API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | Who acted: agent name, model, or user on whose behalf | |
| details | No | Optional structured details (JSON object, under 16 KB) | |
| outcome | No | One of: success, failure, pending, blocked | success |
| summary | Yes | One-line description of what was done | |
| resource | No | What was acted on: URL, file, record ID, account | |
| stream_id | Yes | Stream to append to, usually the agent's name, e.g. 'billing-agent' | |
| action_type | Yes | One of: tool_call, data_access, data_change, payment, message, decision, approval, error, other |