Skip to main content
Directly download the API call details of the current account as CSV, suitable for financial reconciliation, offline analysis, or saving large volumes of records. If you only need to view a small number of details on the page, please first use the Call Record List.

Preparation

  1. Log in to the AceDataCloud Platform.
  2. Create an account token in the Account Token Console, and immediately save it to a password manager or Secret Manager.
  3. Obtain filter IDs as needed from the Service Application List, API Credential List, or API List.
For complete token instructions, see Manage Account Tokens. Account tokens and Credentials used to call business APIs cannot be used interchangeably.

API Overview

This API synchronously streams the CSV response, does not create an export task, and does not return JSON or a download link. Only when neither start nor end time is provided does it default to exporting records from the beginning of the current calendar month to the current time; when only one boundary is provided, the other boundary is not automatically filled with the current month’s boundary.

Query Parameters

The export scope is always limited to records visible to the current account as the billing entity and/or actual caller, and cross-account exports are not supported.

Request Examples

Directly save the current month’s CSV:
Export by Application, time, and status code:
Stream-save with Python and check integrity:

CSV Columns

The CSV header order is fixed as:
The quota unit is determined by service.unit of the corresponding Application.

Determine Whether the Export Is Complete

A maximum of 1,000,000 records can be output in a single export. After the server has started returning CSV, it cannot change an intermediate error to another HTTP status, so the client must check the last line:
  • # truncated:: The row limit has been reached; export in segments using smaller time windows.
  • # error:: Stream reading was interrupted; reduce the scope and export again.
When a reconciliation program sees either marker, it must treat the file as incomplete and must not silently record it.

Errors and Retries

Next Steps