# Type Alias DataSourceStatus

DataSourceStatus: "OK" | "EMPTY" | "TIMEOUT" | "UNAVAILABLE"

Per-source data availability flag surfaced in the response envelope.

- `OK` — fetch succeeded and at least one item contributed to the metric.
- `EMPTY` — fetch succeeded but no items matched the subject/date filter.
- `TIMEOUT` — per-source 6 s budget expired; metric reported as zero.
- `UNAVAILABLE` — EP API returned an error.

- Defined in tools/analyzeLegislativeEffectiveness.ts:48