Read a transaction's business data
record_get_dataRetrieve accumulated flow data for a session and transaction to diagnose missing requirement errors. Filter by specific keys or list omitted large values by name.
Instructions
The values a flow has accumulated across its steps — provider ids, order ids, form submission ids — as the mock config saved them. This is what the next step's payload is generated from, so read it when a step reports missing requirements. Large values (resolved form HTML) are listed under 'omitted' rather than returned; ask for one by name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Restrict to these business-data keys. Omit for everything. | |
| session_id | Yes | Session returned by session_create. | |
| transaction_id | Yes | Transaction to read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Business data accumulated across the flow's steps so far. | |
| events | No | What has happened in this session since your last call — the participant's callbacks, steps sent automatically, refusals, form submissions. Attached to every session-scoped result and delivered exactly once, so read it here instead of polling. Absent when nothing happened. `more` above zero means call record_get_events for the rest. | |
| omitted | Yes | Keys held back for size — typically resolved form HTML. Ask for one by name. | |
| transaction_id | Yes |