Neon · Schema

ConsumptionHistoryPerAccount

Account-level consumption metrics

DatabasesServerlessPostgresInfrastructureAuthenticationEdge

Properties

Name Type Description
periods array
View JSON Schema on GitHub

JSON Schema

neon-consumptionhistoryperaccount-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ConsumptionHistoryPerAccount",
  "title": "ConsumptionHistoryPerAccount",
  "type": "object",
  "description": "Account-level consumption metrics",
  "properties": {
    "periods": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "period_id": {
            "type": "string",
            "description": "The period identifier"
          },
          "consumption": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsumptionMetric"
            }
          }
        }
      }
    }
  }
}