Skip to main content
POST
Export issues as CSV

Restrictions

Usage

  • On success the body is a text/csv attachment named rum-issues-<yyyyMMdd-HHmmss>.csv (stamped in time_zone), not the JSON envelope. Validation and other errors still return the JSON error envelope.
  • X-Export-Total carries the number of matching issues; X-Export-Truncated is true when more than 100 matched and only the first 100 (in orderby order) were written. p and limit are ignored.
  • The filters behave exactly as in POST /rum/issue/list, including the exclusion of private applications the caller cannot access.
  • export_fields lists the columns in output order; unknown keys are rejected, duplicates are dropped, and an empty or omitted array exports every column except the sample_first_* group.
  • sample_* columns describe the latest error event of the issue inside [start_time, end_time], sample_first_* the earliest; they are empty when the issue has no event in that window.
  • Header titles are English, or Chinese when the request locale is Chinese (Accept-Language header, or locale / lang query parameter). Time columns are rendered as yyyy-MM-dd HH:mm:ss in time_zone, carry the zone in their header, and are empty when the time is unset.
  • Cells starting with =, +, -, @, tab or carriage return are prefixed with ' so spreadsheets do not evaluate them as formulas.
  • Every call is recorded in the account’s audit log with the caller’s member ID, request payload, and resulting error (if any). Do not put secrets in request fields.

Authorizations

app_key
string
query
required

APP Key created in the Flashduty console under My → APP Key. Send it as the app_key query parameter or in the Fd-App-Key request header. Its effective access is the intersection of the key's permission scope and the creator's current role permissions. Keep it secret.

Body

application/json

Filters for exporting RUM error tracking issues to CSV.

end_time
integer<int64>
required

End of the time range, Unix epoch milliseconds. Must be greater than start_time; maximum range: 183 days.

start_time
integer<int64>
required

Start of the time range, Unix timestamp in milliseconds (a value that looks like seconds is rejected). Issues are matched by creation time unless by_intersection is true.

application_ids
string[]

Filter by application IDs. Get IDs via POST /rum/application/list.

asc
boolean

Sort ascending when true; descending by default.

by_intersection
boolean

When true, match by time-range overlap: export issues still active within the window (last_seen_timestamp >= start_time) even if created before it. Default false exports only issues created inside the window.

console_origin
string

Console origin used to build the issue_url column, e.g. https://console.flashcat.cloud; a trailing / is trimmed. The service cannot infer it. When omitted, issue_url holds only the path /rum/error-tracking/issue/<issue_id>.

dql
string

DQL query for advanced filtering. Field names must be fields of the issue scope (see POST /rum/field/list with scopes: ["issue"]); a bare full-text term searches the error message. Cannot be used with sql. A value list in a filter (field:(a OR b ...)) may hold at most 100 values.

error_required
boolean

If true, only export issues with at least one associated error event.

export_fields
enum<string>[]

CSV columns to export, in the order they appear. Unknown keys are rejected with a parameter error and duplicates are dropped. Empty or omitted: every column below except the sample_first_* group.

Available options:
issue_id,
issue_url,
application_name,
service,
error_type,
error_message,
status,
severity,
is_crash,
error_count,
session_count,
first_seen_at,
first_seen_version,
last_seen_at,
last_seen_version,
versions,
suspected_cause,
resolved_at,
sample_time,
sample_version,
sample_view,
sample_session_id,
sample_device,
sample_os,
sample_browser,
sample_stack,
sample_first_time,
sample_first_version,
sample_first_view,
sample_first_session_id,
sample_first_device,
sample_first_os,
sample_first_browser,
sample_first_stack
limit
integer

Page size (1–100). Ignored by the export — the row cap is fixed at 100.

Required range: 1 <= x <= 100
orderby
enum<string>

Sort field; defaults to updated_at when omitted.

Available options:
created_at,
updated_at,
session_count,
error_count,
severity
p
integer

Page number (1-based). Ignored by the export — the first 100 matching rows are always read.

Required range: x >= 1
sql
string

SQL-style WHERE condition for advanced filtering, without the WHERE keyword (for example error_count > 100). Field names must be fields of the issue scope; a second statement, a subquery or a UNION is rejected. Cannot be used with dql. A value list in a filter (field IN (...)) may hold at most 100 values.

statuses
enum<string>[]

Filter by triage status; any other value is rejected with a parameter error.

Available options:
for_review,
reviewed,
ignored,
resolved
suspected_causes
enum<string>[]

Filter by suspected cause category.

Available options:
api.failed_request,
network.error,
code.exception,
code.invalid_object_access,
code.invalid_argument,
unknown
team_ids
integer<int64>[]

Filter by team IDs. Get team IDs via POST /team/list.

time_zone
string

IANA time zone used to render the CSV time columns and the file name, e.g. Asia/Shanghai or UTC. Default: Asia/Shanghai. An unknown zone name returns InvalidParameter.

Response

Success. CSV attachment, not a JSON envelope.

CSV file content. The header row matches the exported columns in order; values are sanitized against spreadsheet formula injection.