Get lead refresh status
campaignstack_get_lead_refresh_statusRead workspace lead-enrichment queue status counts, optionally for one campaign. Use this when the user asks whether lead refresh/enrichment is moving; it does not enqueue refreshes. completed and failed cover about the last 6 hours, not all time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | No | Optional campaign filter for enrichment queue status. | |
| workspaceId | No | Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | ||
| total | No | ||
| failed | No | Failed in about the last 6 hours; older rows are purged. | |
| pending | No | ||
| stranded | No | Part of pending held on an account that can no longer read (disconnected, expired or blocked); these move to another account or fail on their own. | |
| warnings | No | ||
| completed | No | Finished in about the last 6 hours; older rows are purged, so this is not a lifetime count. | |
| pagination | No | ||
| processing | No | ||
| accountGates | No | ||
| creditsExhausted | No |