> ## Documentation Index
> Fetch the complete documentation index at: https://developers.fireblocks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a report

> Creates a new asynchronous report job and returns a receipt containing the report ID.
Poll `GET /v1/reports/{reportId}` to check status. When `status` is `COMPLETED`, the poll
response includes a fresh pre-signed download URL in `links.downloadUrl`.

Endpoint Permission: Viewer and above.




## OpenAPI

````yaml https://swagger.fireblocks.com/openapi.yaml post /reports
openapi: 3.0.0
info:
  title: Fireblocks API
  description: >
    Fireblocks provides a suite of applications to manage digital asset
    operations and a complete development platform to build your business on the
    blockchain.


    - Visit our website for more information: [Fireblocks
    Website](https://fireblocks.com)

    - Visit our developer docs: [Fireblocks
    DevPortal](https://developers.fireblocks.com)
  version: 1.6.2
  contact:
    email: developers@fireblocks.com
servers:
  - url: https://api.fireblocks.io/v1
    description: Fireblocks Production Environment Base URL
  - url: https://sandbox-api.fireblocks.io/v1
    description: Fireblocks Sandbox Environment Base URL
security: []
paths:
  /reports:
    post:
      tags:
        - Reports
      summary: Create a report
      description: >
        Creates a new asynchronous report job and returns a receipt containing
        the report ID.

        Poll `GET /v1/reports/{reportId}` to check status. When `status` is
        `COMPLETED`, the poll

        response includes a fresh pre-signed download URL in
        `links.downloadUrl`.


        Endpoint Permission: Viewer and above.
      operationId: createReport
      parameters:
        - $ref: '#/components/parameters/X-Idempotency-Key'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateReportRequest'
      responses:
        '202':
          description: Report job accepted and queued for processing
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateReportResponse'
        '409':
          description: A report with the same type and filters is already being processed
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportConflictResponse'
        default:
          $ref: '#/components/responses/Error'
      x-codeSamples:
        - lang: TypeScript
          source: >-
            const response: Promise<FireblocksResponse<CreateReportResponse>> =
            fireblocks.reports.createReport(reportsApiCreateReportRequest);
        - lang: Java
          source: >-
            CompletableFuture<ApiResponse<CreateReportResponse>> response =
            fireblocks.reports().createReport(createReportRequest,
            idempotencyKey);
        - lang: Python
          source: >-
            response = fireblocks.reports.create_report(create_report_request,
            idempotency_key);
components:
  parameters:
    X-Idempotency-Key:
      name: Idempotency-Key
      in: header
      description: >-
        A unique identifier for the request. If the request is sent multiple
        times with the same idempotency key, the server will return the same
        response as the first request. The idempotency key is valid for 24
        hours.
      required: false
      schema:
        type: string
  schemas:
    CreateReportRequest:
      description: Request body for creating a new asynchronous report job
      discriminator:
        propertyName: reportType
        mapping:
          ADDRESSES: '#/components/schemas/CreateAddressesReportRequest'
      oneOf:
        - $ref: '#/components/schemas/CreateAddressesReportRequest'
    CreateReportResponse:
      type: object
      description: >-
        Returned when a report job is successfully created. Use the `id` to poll
        for status via `GET /v1/reports/{reportId}`.
      required:
        - id
      properties:
        id:
          type: string
          description: Unique identifier of the report job
          example: 0190b3c2-7e4a-7c31-9f2a-1b6d8e5a0c11
    ReportConflictResponse:
      type: object
      description: >-
        Returned when a report with the same type and filters is already being
        processed for your workspace
      required:
        - errorCode
        - name
        - id
      properties:
        errorCode:
          type: integer
          description: Fireblocks error code for this conflict
          example: 12005
        name:
          type: string
          description: Error name
          example: REPORT_ALREADY_IN_FLIGHT
        id:
          type: string
          description: >-
            The ID of the report currently being processed. Use this ID to poll
            for status.
          example: 0190b3c2-7e4a-7c31-9f2a-1b6d8e5a0c11
    CreateAddressesReportRequest:
      type: object
      description: Request body for creating a new ADDRESSES report job
      required:
        - reportType
        - outputFormat
      properties:
        reportType:
          type: string
          description: The type of report to generate.
          enum:
            - ADDRESSES
          example: ADDRESSES
        outputFormat:
          $ref: '#/components/schemas/ReportOutputFormat'
        compress:
          type: boolean
          description: Gzip the output file. Defaults to true.
          default: false
          example: true
        filters:
          $ref: '#/components/schemas/AddressesFilters'
    ErrorSchema:
      type: object
      properties:
        message:
          type: string
        code:
          type: number
    ReportOutputFormat:
      type: string
      enum:
        - CSV
      description: The output file format of the report
      example: CSV
    AddressesFilters:
      type: object
      description: Filter options for the `addresses` report type.
      additionalProperties: false
      properties:
        vaultAccountIds:
          type: array
          description: >-
            Restrict to the listed vault account IDs. Max 1000 items. Pass a
            single ID as a one-element array.
          items:
            type: string
          maxItems: 1000
          example:
            - '1'
            - '2'
        assets:
          type: array
          description: >-
            Filter by asset symbol (e.g., BTC, ETH). Max 1000 items. Pass a
            single symbol as a one-element array.
          items:
            type: string
          maxItems: 1000
          example:
            - BTC
            - ETH
  headers:
    X-Request-ID:
      schema:
        type: string
      description: >-
        Unique ID correlated to the API request. Please provide it in any
        support ticket you create or on Github issues related to Fireblocks SDKs
  responses:
    Error:
      description: Error Response
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorSchema'

````