Overview
Retrieves a paginated log of credit-consuming activity across your account, including reports, newsletters, API calls, and Assistant usage.Endpoint Details
- Method: GET
- Endpoint:
/api/wkl/credits/get-credits-logs/
Authentication requirements
- Include a valid JWT token in your request header
- If you don’t have a token yet, you can get one from the
/auth/token/endpoint first.
Request
Request Parameters
Header Parameters
string
required
JWT token obtained from the Authentication request
string
required
Must be set to
application/jsonQuery Parameters
integer
Page number to retrieve. Defaults to
1. Example: 1integer
Number of log entries to return per page. Example:
30Response
Successful response will include thecount, current_page, total_pages, data, and credits_consumed fields.
Sample Response
Log Entry Fields