Skip to navigation

List credit activity

The company’s credit activity, newest first: draws by feature and user, grants, and credits removed when they expired or reset. A draw written against several grants is one entry. Pass the response’s next_cursor as cursor to read the next page.

Authentication

X-Schematic-Api-Keystring

A temporary access token in the X-Schematic-Api-Key header. Your server mints it with POST /temporary-access-tokens on the secret-key API for a company, optionally for one of its users, and hands it to the page. The token fixes the company every request reads and writes.

Query parameters

credit_idslist of stringsOptional
Only entries for these credits. All credits when omitted.
cursorstringOptional<=512 characters

The previous page’s next_cursor. The newest page when omitted.

include_grantsbooleanOptional
Include grants and expiries alongside draws. Default true.
limitlongOptional1-250

Entries per page (default 100).

Response

OK
dataobject
paramsobject
Input parameters

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error