Octane · Schema

Meter

A usage meter that tracks events and aggregates data for billing purposes in Octane.

Usage-Based BillingMetered BillingPricing PlansSaaS MonetizationFintechPaymentsUsage TrackingMetersEntitlements

Properties

Name Type Description
name string Unique identifier name for the meter.
display_name string Human-readable display name for the meter.
description string Description of what this meter tracks.
event_name string The event name this meter listens to.
meter_type string Type of meter (e.g., counter, gauge).
data_type string Data type of the measurement value.
aggregation string Aggregation method applied to measurements.
unit_name string Human-readable unit name (e.g., 'API calls', 'GB').
is_incremental boolean Whether measurements are incremental or absolute.
reporting_method string How usage is reported.
expected_labels array Expected label keys on measurements.
primary_labels array Primary label keys used for grouping.
event_label_filter object Filter expression for event labels.
View JSON Schema on GitHub

JSON Schema

octane-meter-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/octane/main/json-schema/octane-meter-schema.json",
  "title": "Meter",
  "description": "A usage meter that tracks events and aggregates data for billing purposes in Octane.",
  "type": "object",
  "required": ["name", "event_name", "meter_type", "data_type", "aggregation", "is_incremental", "reporting_method"],
  "properties": {
    "name": {
      "type": "string",
      "description": "Unique identifier name for the meter."
    },
    "display_name": {
      "type": "string",
      "description": "Human-readable display name for the meter."
    },
    "description": {
      "type": "string",
      "description": "Description of what this meter tracks."
    },
    "event_name": {
      "type": "string",
      "description": "The event name this meter listens to."
    },
    "meter_type": {
      "type": "string",
      "description": "Type of meter (e.g., counter, gauge)."
    },
    "data_type": {
      "type": "string",
      "enum": ["INT", "FLOAT", "STRING"],
      "description": "Data type of the measurement value."
    },
    "aggregation": {
      "type": "string",
      "enum": ["SUM", "COUNT", "MAX", "MIN", "UNIQUE_COUNT"],
      "description": "Aggregation method applied to measurements."
    },
    "unit_name": {
      "type": "string",
      "description": "Human-readable unit name (e.g., 'API calls', 'GB')."
    },
    "is_incremental": {
      "type": "boolean",
      "description": "Whether measurements are incremental or absolute."
    },
    "reporting_method": {
      "type": "string",
      "enum": ["periodic", "total"],
      "description": "How usage is reported."
    },
    "expected_labels": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Expected label keys on measurements."
    },
    "primary_labels": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Primary label keys used for grouping."
    },
    "event_label_filter": {
      "type": "object",
      "description": "Filter expression for event labels."
    }
  },
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/octane-meter"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.