Skip to main content
GET
Get usage

Authorizations

X-API-Key
string
header
required

Your AI calling API key (vak_call_…). Authorization: Bearer <key> also works.

Query Parameters

from
string<date>

First day, YYYY-MM-DD. Default: 6 days before to.

to
string<date>

Last day (included). Default: today. At most 92 days after from.

timezone
string
default:UTC

IANA zone the days are cut in, e.g. Asia/Kolkata.

source
enum<string>
default:api

api: calls placed through the API. all: every AI call on your account.

Available options:
api,
all

Response

Usage per day.

object
string
Allowed value: "usage"
source
enum<string>
Available options:
api,
all
from
string
to
string
timezone
string
totals
object
days
object[]
human_calls
object

Human (counsellor) calls in the same range: with source=api those placed through POST /human-calls, with source=all every outbound counsellor call placed on Vacademy Voice, Exotel or Airtel (uploaded recordings of calls made elsewhere are not counted). Only Vacademy Voice talk time is charged.