GET
/
metrics
curl --request GET \
  --url https://api.vapi.ai/metrics \
  --header 'Authorization: Bearer <token>'
[
  {
    "orgId": "<string>",
    "rangeStart": "<string>",
    "rangeEnd": "<string>",
    "bill": 123,
    "billWithinBillingLimit": true,
    "billDailyBreakdown": {},
    "callActive": "<string>",
    "callActiveWithinConcurrencyLimit": true,
    "callMinutes": "<string>",
    "callMinutesDailyBreakdown": {},
    "callMinutesAverage": "<string>",
    "callMinutesAverageDailyBreakdown": {},
    "callCount": "<string>",
    "callCountDailyBreakdown": {}
  }
]

Authorizations

Authorization
string
header
required

Retrieve your key from Dashboard.

Query Parameters

rangeStart
string

This will include calls with a createdAt timestamp greater than or equal to the specified value.

If not provided, defaults to the org's current period start.

rangeEnd
string

This will include calls with a createdAt timestamp less than the specified value.

If not provided, the default value will be the current timestamp.

Response

200 - application/json

The response is of type object[].