SerenAI

Pay Per Call Agentic Commerce

EndpointBillingEvents

Combined debug response for an endpoint's billing events

Properties

PropertyTypeRequiredDescription
compute_usage_events Array<ComputeUsageEventDebugRecord> Yes
endpoint_id string Yes
organization_id string Yes
usage_events Array<UsageEventDebugRecord> Yes
View JSON Schema
{
  "type": "object",
  "description": "Combined debug response for an endpoint's billing events",
  "required": [
    "organization_id",
    "endpoint_id",
    "usage_events",
    "compute_usage_events"
  ],
  "properties": {
    "compute_usage_events": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ComputeUsageEventDebugRecord"
      }
    },
    "endpoint_id": {
      "type": "string"
    },
    "organization_id": {
      "type": "string"
    },
    "usage_events": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/UsageEventDebugRecord"
      }
    }
  }
}