GoSmarter Logo
GoSmarter Certificate API

Get the monthly usage report (Preview)

GET
https://violet-swordtail-main-4217c95.zuplo.app
/v1-preview/usage-report

Preview: this endpoint may change without a new version while it is in Preview. Returns one UTC calendar month of billed usage (the current month by default), priced at the account's price per credit: the jobs, their certificates with supplier and source page range, and the scan and extraction credits, so a multi-supplier pack reconciles with the invoice. One credit is one page. Failed work, classification-only work and mock usage are not billed and do not appear; a mock account always gets an empty report. Requires an API key.

Get the monthly usage report (Preview) › query Parameters

month
​string · pattern: ^[0-9]{4}-(0[1-9]|1[…

The month as yyyy-MM (UTC). Default: the current month.

Get the monthly usage report (Preview) › Headers

Authorization
​string · required

The Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.

Get the monthly usage report (Preview) › Responses

The month's usage

month
​string · required
periodStart
​string · date-time · required
periodEnd
​string · date-time · required

Exclusive end of the month.

final
​boolean · required

True once the month has ended, so the figures cannot grow.

mock
​boolean · required

A mock account: never billed, so the report is empty.

capReached
​boolean · required

The month used at least the whole monthly credit cap.

​UsageReportTotals · required
​UsageReportJob[] · required
pricePerCredit
​number | null
currency
​string | null

ISO 4217 code.

monthlyCreditCap
​integer | null