list_data_health
List sync health for every cost/event/usage connection this account has — last synced time, next scheduled sync, the outcome of its most recent run, and is_overdue (no successful sync within twice the connection's own effective sync interval). recent_failure_count counts failed runs among the last 5, and a run that finished but reported a partial failure (latest_run.partial_failure, with the reason in latest_run.error) counts as failed. status flips to error when a sync job throws, but not for a partial failure or between a failure and the next success, so is_overdue and recent_failure_count — not status — are the real signals that a connection has gone stale or is failing. Check this before asserting that recent cost or usage data is complete, especially right before calling query_costs or query_usage for a very recent date range. Mirrors GET /api/accounts/:accountId/data-health.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||