get_chain
Retrieve all receipts in a workflow chain ordered by timestamp. Use to audit complete multi-step agent workflows, calculate total cost and duration, or detect failed steps.
Instructions
Retrieve all receipts belonging to a chain, ordered by timestamp ascending to show the sequence of operations. A chain groups related receipts from a multi-step agent workflow. Returns the complete receipt objects for every step. Use to audit a complete workflow, calculate total chain cost and duration, or identify which step in a pipeline failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain_id | Yes | The chain ID to retrieve (format: "chain_" followed by 8 alphanumeric characters) |