Download audit logs
URL Expired
The URL for this request expired after 30 days.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| start_date | string | required | Start date parameter for audit logs export |
| end_date | string | required | End date parameter for audit logs export |
| user_filter | boolean | Specify whether to filter audit logs down to user events (true/false) | |
| policy_filter | boolean | Specify whether to filter audit logs down to policy events (true/false) | |
| staking_filter | boolean | Specify whether to filter audit logs down to staking events (true/false) | |
| fee_filter | boolean | Specify whether to filter audit logs down to gas/fee-burning events (true/false) | |
| smart_contract_filter | boolean | Specify whether to filter audit logs down to smart contract events (true/false) | |
| operation_id | string | Filter audit logs to a specific operation by its ID | |
| transaction_id | string | Comma-separated list of transaction IDs to filter audit logs (e.g., "12,34,56") | |
| columns | string | Comma-separated list of columns you want to appear in the final output .csv | |
| format | string | Output flavor. Defaults to summary when omitted — a flat-column CSV one row per operation. Pass forensics-zip to receive the legacy raw-JSON-metadata CSV wrapped in a ZIP archive. |
|
| accept | string | Defaults to application/json. Generated from available response content types |
HTTP Response Codes
- 200 OK. The runtime
Content-Typeis set based onformat:summary(default) →text/csv, filenameaudit_logs.csv.forensics-zip→application/zip, filenameaudit-logs-forensics.zip.
- 400 The request was invalid, included validation errors, or cannot be served.
- 401 Authentication is required and has failed or has not been provided.
- 403 The server understood the request but refuses to authorize it.
- 500 The server has encountered a situation it doesn't know how to handle.
API Example
Base URL: https://api.your-wallet.blockdaemon-wallet.com/api/v2/audit-logs/download
curl --request GET \
--url https://api.your-wallet.blockdaemon-wallet.com/api/v2/audit-logs/download \
--header 'accept: application/json'
Response Types
application/octet-streamapplication/json