What are the useful Prometheus HTTP API endpoints?

IntermediateConceptPrometheus Architecture
Answer
curl -s 'localhost:9090/api/v1/query?query=up'
curl -s 'localhost:9090/api/v1/query_range?query=up&start=2026-11-01T00:00:00Z&end=2026-11-01T01:00:00Z&step=60s'
curl -s localhost:9090/api/v1/targets | jq '.data.activeTargets[] | {job:.labels.job, health}'
curl -s localhost:9090/api/v1/rules
curl -s localhost:9090/api/v1/alerts
curl -s localhost:9090/api/v1/status/tsdb   # top series by metric and label
curl -s localhost:9090/api/v1/label/__name__/values

/api/v1/status/tsdb is the first stop for cardinality investigations.

All Monitoring & Observability questions Roadmap: Monitoring & alerting

More on Prometheus Architecture