Credits and usage

Credit log

Where your credits went: every conversion, plus credits added and expired.

GET/v1/activity

The same log as the Credit log page in your dashboard, newest first.

Authentication

An API key with the usage:read scope, or the signed-in website.

Query parameters

channelstringoptional

Only conversions from api, web or desktop.

limitintegeroptional

How many to return: up to 200, 50 by default.

cursorstringoptional

next_cursor from the previous page.

Response

200 OK

activityarray

The entries. Each has kind (conversion, grant, expire or adjust), at, amount, balance_after and, for conversions, channel, filename, api_key_label, pages, dpi, outcome and job_id.

next_cursorstring or null

Pass it as cursor for the next page.

Errors

StatusCodeWhat to do
400invalid_requestchannel or cursor isn't valid.
401unauthenticatedThe API key is missing, invalid, expired or revoked.
403insufficient_scopeUse a key with the scope shown above.