Get Run Records
get_run_recordsWHICH records a run decided about, and what it decided -- one row per record, with the outcome, the reason, the CRM record id and the PROVIDER's id for it where the run learned one. get_run answers how many; this answers who. Read it when the count is not the question: which contacts were skipped and why, which were written, which the provider held nothing for. IT IS ALSO HOW ONE RUN FEEDS THE NEXT: create_records_run names people by provider id through its person_ids input, and those ids are on these rows, so an enrichment run that found movers can be chained into a create run for them. Paged, newest scope first: total counts every row, records holds the page, and truncated says a page did not reach the end. by_outcome and by_reason are computed over EVERY row, not over the page, so the summary never describes only what fitted. Reads a run that has already been dispatched; it spends nothing and changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page. Defaults to 50; by_outcome and by_reason count them all. | |
| offset | No | Rows to skip, for paging through a large run. | |
| run_id | Yes | The run to read. Call list_runs first. | |
| outcome | No | Only rows with this outcome, e.g. 'written' or 'skipped'. Read by_outcome first to see which occur. | |
| connection_id | Yes | The CRM connection. Call list_crm_connections first. |