# Report List

List generated reports, newest first.
Returns only reports generated by the caller. Results can be
narrowed with the optional body filter (report type, country and
a `created_at` time range).

Endpoint: PUT /v2/reports/list/
Version: 3.0.0
Security: bearerAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer JWT

## Query parameters:

  - `limit` (integer)

  - `offset` (integer)

## Request fields (application/json):

  - `report_type` (any)

  - `country` (any)

  - `start_ts` (any)

  - `end_ts` (any)

## Response 200:

  - `200` (unknown)
    Successful Response

## Response 200 fields (application/json):

  - `id` (string, required)
    Report id, for `GET /v2/reports/{id}` and the presigned download URL.

  - `file_name` (string, required)
    Report file name.

  - `content_type` (string, required)
    MIME type of the file.

  - `report_type` (string, required)
    Enum: "payout", "statement", "wallet", "funding_history", "pnl", "reversed_payouts", "agent_payout"

  - `file_status` (string, required)
    Enum: "pending", "processing", "success", "fail"

  - `auto_generated` (boolean, required)
    `true` if the scheduler created this report, `false` if you requested it.

  - `created_at` (string, required)
    When the report was created (UTC).

  - `params` (any, required)
    The filters the report was generated with.

  - `params.country` (string, required)
    Enum: "BGD", "IND", "PAK", "PHL", "NPL", "EGY", "VNM", "NGA"

  - `params.sorting_order` (string)
    ORDER BY direction with explicit nulls handling.
`ASC` => `ASC NULLS LAST`
`DESC` => `DESC NULLS LAST`
Both place nulls at the end, which should be a sane default
    Enum: "asc", "desc"

  - `params.start_ts` (any)

  - `params.end_ts` (any)

  - `params.status` (any)

  - `params.ids` (any)

  - `params.external` (boolean)

## Response 422:

  - `422` (unknown)
    Validation Error

## Response 422 fields (application/json):

  - `detail` (array)

  - `detail.loc` (array, required)

  - `detail.msg` (string, required)

  - `detail.type` (string, required)

  - `detail.input` (any)

  - `detail.ctx` (object)

