Usage
Time talked in a period, with the plan and the credits the account holds.
/v1/usageUsage & billing for the current period
Session time for the current calendar month (UTC) or the from/to range, with the plan and the minutes the account holds. An unlimited account has no minute counts (null).
Query parameters
fromstringStart of the period (ISO date or date-time). Default: the start of this calendar month (UTC).
tostringEnd of the period (exclusive). Default: the start of next month (UTC).
Returns
200 Usage for the period. data is Usage.
Fields of data
planobjectrequiredkeystringrequiredseats (Monthly), api (Pay as you go), free or enterprise. Accounts on an older plan can still show starter, plus, pro or business.
namestringrequiredintervalstringrequiredmonth or year.
unlimitedbooleanrequiredAn unlimited account has no minute counts (the minute fields are null). Monthly is not
unlimitedhere, though its talking is: no minutes are drawn on Monthly, so its minute fields don't limit anything.includedMinutesinteger | nullrequiredMinutes the plan itself includes this cycle (0 on Monthly and Pay as you go).
minutesUsednumberrequiredSession time in the period, in minutes.
remainingMinutesinteger | nullrequiredEvery minute the account can still spend: on Pay as you go, its credits (1 credit = 1 minute), plus any bonus or plan minutes.
cycleobjectrequiredstartstring (date-time)requiredISO 8601 UTC timestamp.
endstring (date-time)requiredISO 8601 UTC timestamp.
minutesobject | nullrequiredplanIncludedintegerrequiredplanUsedintegerrequiredplanLeftintegerrequiredpurchasedLeftintegerrequiredBought minutes: Pay as you go credits. They never expire.
bonusLeftintegerrequiredtotalLeftintegerrequired
periodobjectrequiredstartstring (date-time)requiredISO 8601 UTC timestamp.
endstring (date-time)requiredISO 8601 UTC timestamp.
sessionCountintegerrequiredbySourceobjectrequiredportalnumberrequiredapinumberrequired
byDayobject[]requireddatestringrequiredYYYY-MM-DD (UTC).
minutesnumberrequiredsessionsintegerrequired
byPersonaobject[]requiredpersonaIdstringrequiredPersona id (
pa_…).pattern `^pa_.*`
personaNamestringrequiredminutesnumberrequiredsessionsintegerrequired
Errors
invalid_requestunauthorizedforbiddenupgrade_requiredrate_limitedserver_error
Request
curl "https://app.zentiqai.com/v1/usage" \
-H "Authorization: Bearer $ZENTIQ_API_KEY"import { Zentiq } from "@zentiq/node";
const zentiq = new Zentiq({ apiKey: process.env.ZENTIQ_API_KEY });
const result = await zentiq.getUsage();import os
from zentiq import Zentiq
zentiq = Zentiq(api_key=os.environ["ZENTIQ_API_KEY"])
result = zentiq.get_usage()Response
{
"data": {
"plan": {
"key": "seats",
"name": "Zoe",
"interval": "month"
},
"unlimited": true,
"includedMinutes": 1,
"minutesUsed": 1,
"remainingMinutes": 1,
"cycle": {
"start": "2026-09-25T12:00:00.000Z",
"end": "2026-09-25T12:00:00.000Z"
}
},
"error": null,
"requestId": "req_4f1c2e9a7b3d5e6f7a8b9c0d"
}