Credits
List credit history
/v1/workspaces/{workspaceId}/credits/historyEvery change to the workspace's credits, newest first, a page at a time. Any member or API key can read it.
Path parameters
workspaceIdstringrequiredThe workspace's id. An API key can only use its own workspace.
Query parameters
cursorstringThe
cursorfrom the previous page. Leave it out for the first page.limitintegerHow many entries per page, from 1 to 100. Defaults to 50.
1–100
Response
entriesarray of objectrequiredShow 9 fieldsHide 9 fields
kindenumrequiredWhat changed the credits:
use,topUp,refund,grantorsettle.settleis last month's overage, repaid from this month's free credits.One of
"use","topUp","refund","grant","settle"amountUsdnumberrequiredfromAllowanceUsdnumberrequiredHow much came from the month's free credits. Set for
useandsettle.balanceChangeUsdnumberrequiredHow much was added to the topped-up balance, or taken from it when negative.
atnumberrequiredWhen it happened, in milliseconds since the epoch.
meterenumThe check that was charged. Set for
use.One of
"phoneVerification","emailValidation","telegramCheck","aiAutocomplete"countrystringThe ISO country code of a phone check.
formIdstringThe form that ran the check. Set when you can see its brand.
notestring
cursorstring or nullrequiredPass it back as
cursorto get the next page. Null on the last page. See Pagination.
Errors answer with a status and the error shape.