Preview Records Run
preview_records_runWho a created CREATE run would actually add, and what it would cost, WITHOUT spending a credit. Call this before dispatch_run every time -- searching is free and only creating is charged, so there is no reason not to look first. It reports how many people match the criteria in ALL (which is how you find out the criteria are too broad -- 16,000 matches against a cap of 25 is a very different situation from 8), a sample of ten with name, title and company so the criteria can be eyeballed, how many of them work somewhere that is already an account, how many companies would be created, how many carry an email, and the projected credit spend. companies_to_create_at_most is a CEILING: a search knows the employer's name but not its website, and the run also matches on website, so it may attach to companies this preview counted as new. It cannot tell you which people are already contacts in the CRM -- that needs an email, which is the thing not yet bought.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The create run to preview. Create it first. | |
| connection_id | Yes | The CRM connection. Call list_crm_connections first. |