SerenAI

Pay Per Call Agentic Commerce

OrganizationConsumption

OrganizationConsumption wraps organization-wide consumption

Properties

PropertyTypeRequiredDescription
current_month ConsumptionSummary Yes
from string Yes
organization_id string Yes
periods Array<ConsumptionPeriodData> Yes
to string Yes
View JSON Schema
{
  "type": "object",
  "description": "OrganizationConsumption wraps organization-wide consumption",
  "required": [
    "organization_id",
    "from",
    "to",
    "periods",
    "current_month"
  ],
  "properties": {
    "current_month": {
      "$ref": "#/components/schemas/ConsumptionSummary"
    },
    "from": {
      "type": "string",
      "format": "date-time"
    },
    "organization_id": {
      "type": "string",
      "format": "uuid"
    },
    "periods": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ConsumptionPeriodData"
      }
    },
    "to": {
      "type": "string",
      "format": "date-time"
    }
  }
}