{
  "dateModified": "2026-06-02",
  "spec": "OpenMeter v1",
  "meters": [
    {
      "id": "agent_requests",
      "aggregation": "COUNT",
      "eventType": "agent.request",
      "groupBy": [
        "agent",
        "capability"
      ]
    },
    {
      "id": "agent_tokens_in",
      "aggregation": "SUM",
      "eventType": "agent.llm",
      "valueProperty": "tokensIn"
    },
    {
      "id": "agent_tokens_out",
      "aggregation": "SUM",
      "eventType": "agent.llm",
      "valueProperty": "tokensOut"
    },
    {
      "id": "agent_bytes_egress",
      "aggregation": "SUM",
      "eventType": "agent.response",
      "valueProperty": "bytes"
    },
    {
      "id": "workflow_instances",
      "aggregation": "COUNT_UNIQUE",
      "eventType": "workflow.start",
      "valueProperty": "instanceId"
    }
  ],
  "ingestion": {
    "endpoint": "https://xn--82czbx2bczd4fl8a.online/agent-billing/events",
    "batchMax": 500,
    "sla": "P99 <1s"
  },
  "retention": {
    "raw": "90d",
    "aggregated": "730d"
  }
}