Skip to main content

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/json

Query Parameters

integer
Page number to retrieve. Defaults to 1. Example: 1
integer
Number of log entries to return per page. Example: 30

Response

Successful response will include the count, current_page, total_pages, data, and credits_consumed fields. Sample Response
Response Fields Log Entry Fields