> ## 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.

# Retrieve Report

> Return a report of the tenant the caller is acting in, with all of its elements, under the `report` key. `is_ready_for_generation` tells whether the report can be downloaded with `GET /reporting/reports/{report_id}/download`, and `is_mutable` whether it can still be updated. Requires read access to the tenant's reports.

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


## OpenAPI

````yaml firework-v2-openapi get /firework/v2/reporting/reports/{report_id}
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/{report_id}:
    get:
      tags:
        - Reports
      summary: Get a report
      description: >-
        Return a report of the tenant the caller is acting in, with all of its
        elements, under the `report` key. `is_ready_for_generation` tells
        whether the report can be downloaded with `GET
        /reporting/reports/{report_id}/download`, and `is_mutable` whether it
        can still be updated. Requires read access to the tenant's reports.
      operationId: get_report_endpoint
      parameters:
        - description: Numeric ID of the report.
          in: path
          name: report_id
          required: true
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/post_reports_endpoint_200_response'
          description: Returns a report and its elements.
        '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 report does not exist or belongs to another tenant.
components:
  schemas:
    post_reports_endpoint_200_response:
      properties:
        report:
          $ref: '#/components/schemas/Report'
      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.