Skip to content
TriedDocs
Account

Get QA usage

Read this month's QA minutes, free minutes left and cost.

GEThttps://api.tried.com.au/qa/usage

Returns how many call minutes AI QA has scored this calendar month (UTC) and what they cost. Each result is charged once, by the call's duration.

Request#

This endpoint takes no path, query or body parameters.

Example request#

curl https://api.tried.com.au/qa/usage \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch("https://api.tried.com.au/qa/usage", {
  headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
const usage = await res.json();
import os, requests

res = requests.get(
    "https://api.tried.com.au/qa/usage",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
usage = res.json()

Response#

200 OK

{
  "minutes_this_month": 132.5,
  "free_minutes_remaining": 0,
  "cost_this_month": 3.25,
  "price_per_minute": 0.15
}
Field Type Description
minutes_this_month number Scored minutes since the start of the month, 2 decimals.
free_minutes_remaining number Free minutes left of the 100 a month.
cost_this_month number Dollars charged for minutes beyond the free allowance, 4 decimals.
price_per_minute number AUD per minute after the free minutes.

Errors#

Status When
401 Missing or invalid API key.
403 The key's IP allowlist or scopes reject the request. This route needs the analytics scope.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.

Retell compatibility#

Retell's public API reference has no AI QA endpoints, so this route has no Retell SDK equivalent.