AurionAI Docs

Usage & Billing

Track API usage, voice minutes, and billing data via the Aurion API.

Usage & Billing

The Usage API provides access to your tenant's resource consumption — voice minutes, API calls, LLM tokens, and storage. Use it to monitor usage against your plan limits and build internal dashboards.

Usage Summary

Get a high-level overview of your current billing period:

cURL
curl "https://apps.aurionai.net/api/v1/usage/summary" \
  -H "X-API-Key: ak_live_xxxx"
Python
import requests

response = requests.get(
    "https://apps.aurionai.net/api/v1/usage/summary",
    headers={"X-API-Key": "ak_live_xxxx"},
)
usage = response.json()

Response:

{
  "period": {
    "start": "2026-03-01T00:00:00Z",
    "end": "2026-03-31T23:59:59Z"
  },
  "voice_minutes": {
    "used": 320,
    "limit": 1000,
    "percentage": 32.0
  },
  "api_calls": {
    "used": 12450,
    "limit": 50000,
    "percentage": 24.9
  },
  "storage_mb": {
    "used": 245,
    "limit": 5000,
    "percentage": 4.9
  },
  "plan": "professional",
  "billing_status": "active"
}

Detailed Usage

Get granular usage data with date range filtering and grouping:

curl "https://apps.aurionai.net/api/v1/usage/details?start_date=2026-03-01&end_date=2026-03-08&group_by=day" \
  -H "X-API-Key: ak_live_xxxx"

Query Parameters:

ParameterTypeDescription
start_datestringStart date (ISO 8601)
end_datestringEnd date (ISO 8601)
group_bystringday, week, month
event_typestringFilter: voice, api, llm, storage

Response:

{
  "data": [
    {
      "date": "2026-03-01",
      "voice_minutes": 45,
      "api_calls": 1850,
      "llm_tokens": {
        "input": 125000,
        "output": 42000
      }
    },
    {
      "date": "2026-03-02",
      "voice_minutes": 38,
      "api_calls": 1620,
      "llm_tokens": {
        "input": 98000,
        "output": 35000
      }
    }
  ]
}

Plan Tiers

FeatureStarterProfessionalEnterprise
Voice minutes25/month1,000/monthUnlimited
API calls10,000/month50,000/monthUnlimited
Seats325Unlimited
Storage1 GB5 GB50 GB

Billing Alerts

The platform automatically generates alerts when usage approaches plan limits:

AlertTrigger
Warning80% of any quota reached
Critical95% of any quota reached
OverageQuota exceeded (service continues with overage charges)

Configure alert thresholds and notification channels in the admin dashboard under Billing > Alerts.

Billing Status

StatusDescription
activeNormal operation
past_duePayment overdue (7-day grace period)
suspendedTenant suspended after grace period

Required Scope

API key requires the usage:read scope to access usage endpoints.

On this page