Docs · API · Usage

Usage & credits.

One endpoint answers both billing questions: what is my balance, and where did the credits go.

Get usage#

GET/v1/usage
Query paramTypeDescription
daysintegerdefault: 30Reporting window in days, capped at 90.
Request
curl "https://scribe.whizztech.ai/v1/usage?days=7" \
  -H "Authorization: Bearer $SCRIBE_KEY"
Response · 200 OK
{
  "object": "usage",
  "days": 7,
  "credit_balance": 118,
  "daily": [
    {
      "day": "2026-07-01",
      "credits": 20,
      "requests": 2,
      "tokens_in": 184220,
      "tokens_out": 21458
    },
    {
      "day": "2026-07-03",
      "credits": 31,
      "requests": 1,
      "tokens_in": 402917,
      "tokens_out": 38112
    }
  ]
}
FieldTypeDescription
object"usage"Resource type.
daysintegerThe window actually applied.
credit_balanceintegerCurrent org balance, computed live from the ledger.
dailyrow[]One row per day with activity (days without usage are omitted), ordered oldest first.
daily[].daystringDate, YYYY-MM-DD.
daily[].creditsintegerCredits consumed that day.
daily[].requestsintegerBillable operations that day (one per finished generation job).
daily[].tokens_in / tokens_outintegerRaw LLM token throughput behind your jobs — useful for spotting unusually heavy topics.

Credit price list#

FieldTypeDescription
article_standard10 creditsStandard-mode article.
article_deep_research25 creditsDeep-research-mode article (replaces the base 10).
hero_image3 creditsAdded when image: true.
derivatives_bundle3 creditsFlat add-on for any non-empty derivatives selection.
extra_language5 creditsAdded when language is not "en".

Worked example: deep_research + image + derivatives in German = 25 + 3 + 3 + 5 = 36 credits. Brand-profile creation, source ingestion, listing, and reading are all free.

How accounting works#

  • Ledger-based. Every grant is a positive ledger entry, every debit a negative one; your balance is the sum. Nothing is ever silently adjusted — each entry has a description and, for debits, the job ID.
  • Debit up front.Credits are charged when the job is created. If the balance can't cover it, the request fails with 402 insufficient_credits and no job is created.
  • Automatic refunds. A failed job refunds its full charge before the job.failed webhook fires. You only pay for articles that complete.
  • Idempotent replays are free. Re-submitting with the same Idempotency-Key returns the existing job without a second debit.

Plan grants#

FieldTypeDescription
Trial30 credits onceFree. One brand profile, one seat.
Starter150 / month$29. One brand profile, one seat.
Growth500 / month$79. Three brand profiles, three seats.
Scale1,500 / month$199. Ten brand profiles, ten seats.
EnterprisecustomCustom volume and limits — support@whizztech.ai.