Get Operational Health
get_operational_healthWhether this connection's work is going well, in one read: the CRM authorization (oauth_status), how fresh the mirror is per object (fresh, stale, failing, never), the Salesforce change stream's last event (reported, not judged: a quiet org sends none), active plans that failed, stopped, were refused (cancelled), are blocked or need input, stalled, missed a scheduled slot, whose schedule stopped (with why) or cannot be judged (unknown), runs that failed or stalled over the last days, the review queue's pending, oldest and overdue items, the last whitespace computation and readiness scan, job changes held because the monthly credit budget is spent, and budgets (what the workspace has used and has left this period, as get_usage_summary reports it). state is attention or no_issues_observed, never healthy; not_observed lists what this cannot see. Reads only; changes nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How far back to look for failed runs. Default 7. | |
| connection_id | Yes | The CRM connection. Call list_crm_connections first. |