Neon · Concept
Usage metrics
Neon’s v2 consumption API returns project usage by metric and time period. Convert raw values into billing units such as CU-hours and GB-months before calculating cost.
Last updated
Syntax
GET /api/v2/consumption_history/v2/projects?org_id=...&from=...&to=...&granularity=...&metrics=...In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
Monitor billing and usageQuerying consumption metricsInvoice metricsNetwork transfer