Amigo · Schema

BillingDashboardResponse

CompanyArtificial IntelligenceHealthcareAI AgentsVoiceClinicalConversational AIFHIRElectronic Health RecordsHIPAA

Properties

Name Type Description
workspace_id string Workspace ID
current_period_total number Total billing for the current period
previous_period_total object Total billing for the previous period
delta_pct object Percentage change from previous period
top_meters array Top meters by value
invoice_status_summary object Invoice counts by status
period_start object Current period start date (ISO-8601)
period_end object Current period end date (ISO-8601)
View JSON Schema on GitHub

JSON Schema

amigo-billing-dashboard-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amigo/main/json-schema/amigo-billing-dashboard-response-schema.json",
  "title": "BillingDashboardResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amigo-billing-api-openapi.yml#/components/schemas/BillingDashboardResponse",
  "properties": {
    "workspace_id": {
      "type": "string",
      "format": "uuid",
      "title": "Workspace Id",
      "description": "Workspace ID"
    },
    "current_period_total": {
      "type": "number",
      "title": "Current Period Total",
      "description": "Total billing for the current period"
    },
    "previous_period_total": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Previous Period Total",
      "description": "Total billing for the previous period"
    },
    "delta_pct": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Delta Pct",
      "description": "Percentage change from previous period"
    },
    "top_meters": {
      "items": {
        "$ref": "#/$defs/MeterSummary"
      },
      "type": "array",
      "title": "Top Meters",
      "description": "Top meters by value"
    },
    "invoice_status_summary": {
      "additionalProperties": {
        "type": "integer"
      },
      "type": "object",
      "title": "Invoice Status Summary",
      "description": "Invoice counts by status"
    },
    "period_start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Period Start",
      "description": "Current period start date (ISO-8601)"
    },
    "period_end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Period End",
      "description": "Current period end date (ISO-8601)"
    }
  },
  "type": "object",
  "required": [
    "workspace_id",
    "current_period_total",
    "previous_period_total",
    "delta_pct",
    "top_meters",
    "invoice_status_summary",
    "period_start",
    "period_end"
  ],
  "$defs": {
    "MeterSummary": {
      "properties": {
        "meter_key": {
          "type": "string",
          "title": "Meter Key",
          "description": "Unique meter identifier (e.g. voice_minutes)"
        },
        "metering_source": {
          "type": "string",
          "enum": [
            "production",
            "simulation"
          ],
          "title": "Metering Source",
          "description": "Traffic class — production or simulation, billed separately",
          "default": "production"
        },
        "display_name": {
          "type": "string",
          "title": "Display Name",
          "description": "Human-readable meter name"
        },
        "value": {
          "type": "number",
          "title": "Value",
          "description": "Metered value for the period"
        },
        "unit": {
          "type": "string",
          "title": "Unit",
          "description": "Unit of measurement (e.g. minutes, calls)"
        }
      },
      "type": "object",
      "required": [
        "meter_key",
        "display_name",
        "value",
        "unit"
      ],
      "title": "MeterSummary"
    }
  }
}

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/amigo-billing-dashboard-response"
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.