UsageRecord

One charge to the org's credits. The same rows as the usage CSV export in the web app.

  • When the charge was made (UTC).

  • Ledger transaction ID.

  • API key that made the request; null for web-app usage.

  • Project the charge was for; null for text translation.

  • Credits later refunded for this charge, in the same wallet. Net spend is the charged credits minus this. Whole-project refunds made by arbitr staff are not linked here yet.

  • Who the work was for, when the caller named them. Carries user_id and matched_by when the email matched a member of your organisation.

    Properties: 7
  • Lowercase BCP-47.

  • Lowercase BCP-47 tags. An entry is null when its language is not one GET /v1/languages lists.

  • What quantity counts. For document rows, page is the project's current page count, which can differ from the count the charge was priced on if pages were later confirmed or changed. For pdf_conversion rows, page is the number of pages charged.

    values
    characterwordpageminute
  • channel, dm, shortcut or api for text translation; document for projects; pdf_conversion for the fee charged for converting a PDF, counted in pages; null otherwise.