discovery_health
Report the freshness and health of the cross-chain program/token discovery pipeline: when the hourly cron last ran, how many programs/tokens each chain scan produced, and which scans failed. Use this to check whether discover_programs / search_tokens data is current before relying on it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | plain-language reading of status | |
| counts | No | per-chain program counts from the last scan | |
| status | Yes | healthy | stale | degraded | |
| history | No | per-chain counts over the last <=24 cron runs, oldest first | |
| emptyScans | No | chains whose last scan returned zero (omitted when none) | |
| failedScans | No | chains whose last scan errored (omitted when none) | |
| lastRunUnix | No | ||
| lastRunAgeMin | No |