Get List of Transactions
Retrieve a log of API usage, including endpoints accessed and credits consumed.
Filtering
The /api/auth/transactions/
endpoint allows you to filter transactions based on various properties. By applying filters directly in your request URL, you can narrow down results to meet specific criteria
Example:
To retrieve all transactions from the year 2025: /auth/transactions/?created_at__range=2025-01-01,2025-12-31
Available Parameters and Modifiers
Below is the list of parameters and the modifiers you can use for filtering:
created_at
created_at
Modifiers: exact, gt, gte, lt, lte, range
Example: ?created_at__range=2025-01-01,2025-12-31
status
status
Modifiers: exact
Example: ?status__exact=success
balance_type
balance_type
Modifiers: exact
Example: ?balance_type__exact=leads_by_icp
amount
amount
Modifiers: exact, gt, gte, lt, lte, range
Examples: ?amount__lt=-5
after_balance
after_balance
Modifiers: exact, gt, gte, lt, lte, range
Examples: ?after_balance__lte=500
Modifier Descriptions:
exact
: Matches the exact value (==)gt
: Greater than (>)gte
: Greter than or equal to (>=)lt
: Lower than (<)lte
: Lower than or equal to (<=)range
: Filters values betweenx
andy
(number or date). Syntax:x,y
Date
-
Date: yyyy-mm-dd
Example: 2025-01-01 -
Date and Time: yyyy-mm-ddTHH:MM:SS.ssssss
Example: 2025-01-01T02:03:04.000000
Authorizations
Use 'Token <api-key>' as the value
Query Parameters
Limit of transactions in result
"100"
Offset in list of transactions
"0"
Response
200
The response is of type object
.