> ## Documentation Index
> Fetch the complete documentation index at: https://api.docs.flare.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List Reports

> List the reports of the tenant the caller is acting in, ordered from newest to oldest by creation date. Results are paginated: `size` sets the page size and the `next` value of a response (the ID of the last report returned) is passed as `from` to get the following page; `next` is null when the page is empty. Archived reports are left out unless `include_archived` is true. Items do not include the report elements; use `GET /reporting/reports/{report_id}` to get them. Requires read access to the tenant's reports, and returns 404 when the tenant's subscription does not include identifiers.

&#x20;Required API key permission: **Read Tenant**


## OpenAPI

````yaml firework-v2-openapi get /firework/v2/reporting/reports
openapi: 3.0.1
info:
  description: >

    Manage and access Firework resources.


    Requests are authenticated with API tokens, which are obtained using an API
    key:


    1. Generate an API key from the [Profile
    page](https://app.flare.io/#/profile).

    2. Send a `POST` request to `https://api.flare.io/tokens/generate` with the
    `Authorization: <api-key>` header to get an API token. API tokens expire
    after 1 hour.

    3. Call the API endpoints with the `Authorization: Bearer <api-token>`
    header.


    See [Authentication](https://api.docs.flare.io/concepts/authentication) for
    details.
  title: Firework API
  version: v2
servers:
  - url: https://api.flare.io/
security:
  - BearerAuth: []
tags:
  - description: >-
      The authenticated user, its API keys, organizations, tenants, onboarding
      and usage.
    name: Account
  - description: >-
      Events collected by Flare: global search, tenant and identifier feeds,
      event details, actions and saved feed views.
    name: Events
  - description: >-
      Identifiers are the assets a tenant monitors, such as domains, keywords
      and email addresses. Includes recommendations and authorization of
      sensitive identifiers.
    name: Identifiers
  - description: Report groups, reports, their sections, schedules and delivery channels.
    name: Reports
paths:
  /firework/v2/reporting/reports:
    get:
      tags:
        - Reports
      summary: List reports
      description: >-
        List the reports of the tenant the caller is acting in, ordered from
        newest to oldest by creation date. Results are paginated: `size` sets
        the page size and the `next` value of a response (the ID of the last
        report returned) is passed as `from` to get the following page; `next`
        is null when the page is empty. Archived reports are left out unless
        `include_archived` is true. Items do not include the report elements;
        use `GET /reporting/reports/{report_id}` to get them. Requires read
        access to the tenant's reports, and returns 404 when the tenant's
        subscription does not include identifiers.
      operationId: get_reports_endpoint
      parameters:
        - description: Maximum number of reports to return.
          in: query
          name: size
          schema:
            default: 20
            type: integer
        - description: >-
            `next` value of the previous page; only reports created before the
            report with this ID are returned.
          in: query
          name: from
          schema:
            type: integer
        - description: Whether to also return archived reports.
          in: query
          name: include_archived
          schema:
            default: false
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedReports'
          description: Lists reports for the current tenant, ordered from newest to oldest.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
          description: The caller cannot read this tenant's reports (code FORBIDDEN).
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
          description: The tenant's subscription does not include identifiers.
components:
  schemas:
    PaginatedReports:
      properties:
        next:
          description: >-
            Cursor to send in the next request to continue after this page, or
            `null` when no further page is available.
          type: integer
        items:
          description: Results of the current page.
          items:
            $ref: '#/components/schemas/Report'
          type: array
      type: object
    HttpError:
      properties:
        message:
          description: Human-readable description of the error.
          type: string
        code:
          description: Machine-readable error code.
          type: string
      type: object
    Report:
      properties:
        id:
          description: Numeric ID of the report.
          type: integer
        report_group_id:
          description: ID of the report group the report belongs to.
          type: integer
        title:
          description: Title of the report.
          type: string
        author:
          description: Author name of the report.
          type: string
        created_at:
          description: Date and time (ISO 8601) the report was created.
          type: string
        is_ready_for_generation:
          description: >-
            Whether all the elements are processed, meaning the report can be
            downloaded.
          type: boolean
        is_archived:
          description: Whether the report is archived.
          type: boolean
        tenant_id:
          description: ID of the tenant that owns the report.
          type: integer
        tenant_name:
          description: Name of the tenant that owns the report.
          type: string
        activity_count:
          description: Number of events added to the report.
          type: integer
        elements:
          description: Elements of the report; not returned when listing reports.
          items:
            $ref: '#/components/schemas/ReportElement'
          type: array
        audience:
          description: Audience the report content is written for.
          enum:
            - technical
            - general
          example: technical
          type: string
        timeframe_start_at:
          description: Start (ISO 8601) of the period covered by the report.
          type: string
        timeframe_end_at:
          description: End (ISO 8601) of the period covered by the report.
          type: string
        is_mutable:
          description: >-
            Whether the report can still be updated, which is true during the 30
            days following its creation.
          type: boolean
      type: object
    ReportElement:
      properties:
        id:
          description: Numeric ID of the element.
          type: integer
        report_id:
          description: ID of the report the element belongs to.
          type: integer
        category:
          description: >-
            Group the element is positioned in: `root` for the report sections,
            `event` for an event added to the report, `remediated_item` for a
            remediated event, `action` for a priority action or recommendation.
          type: string
        position:
          description: >-
            Position of the element among the elements of the same category,
            starting at 1.
          type: integer
        enabled:
          description: Whether the element is enabled in the report.
          type: boolean
        data:
          description: >-
            Content of the element; its `type` (`logo`, `introduction`,
            `summary`, `image`, `events`, `activity`, `actions`, `action`,
            `recommendation`, `remediated_events` or `remediated_events_item`)
            determines the other keys.
          properties: {}
          type: object
        processed_at:
          description: >-
            Date and time (ISO 8601) the element content was last processed, or
            null while processing is pending.
          format: date-time
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.