Amigo · Schema

MeteringEmitRequest

CompanyArtificial IntelligenceHealthcareAI AgentsVoiceClinicalConversational AIFHIRElectronic Health RecordsHIPAA

Properties

Name Type Description
event_type string
metering_quantity number
metering_source string Traffic class — 'production' or 'simulation'.
effective_at object When the event happened. Defaults to ingest time.
metering_unit object
metering_metadata object
event_id object Optional deterministic row id (typically uuid5(NAMESPACE, '')). Re-emitting with the same value lands on the same world_events row instead of double-billing. Use for backfills and retries.
View JSON Schema on GitHub

JSON Schema

amigo-metering-emit-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amigo/main/json-schema/amigo-metering-emit-request-schema.json",
  "title": "MeteringEmitRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amigo-metering-api-openapi.yml#/components/schemas/MeteringEmitRequest",
  "properties": {
    "event_type": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "pattern": "^[a-z][a-z0-9._]*$",
      "title": "Event Type"
    },
    "metering_quantity": {
      "type": "number",
      "minimum": 0.0,
      "title": "Metering Quantity"
    },
    "metering_source": {
      "type": "string",
      "enum": [
        "production",
        "simulation"
      ],
      "title": "Metering Source",
      "description": "Traffic class — 'production' or 'simulation'."
    },
    "effective_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Effective At",
      "description": "When the event happened. Defaults to ingest time."
    },
    "metering_unit": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 32,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Metering Unit"
    },
    "metering_metadata": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Metering Metadata"
    },
    "event_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Event Id",
      "description": "Optional deterministic row id (typically uuid5(NAMESPACE, '<stable-key>')). Re-emitting with the same value lands on the same world_events row instead of double-billing. Use for backfills and retries. Default: server generates a random uuid4."
    }
  },
  "type": "object",
  "required": [
    "event_type",
    "metering_quantity",
    "metering_source"
  ]
}

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-metering-emit-request"
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.