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

# Get a report request

> **Deprecated.** Use `POST /firework/v4/threat_flow/intel/requests` and `GET /firework/v4/threat_flow/intel/requests/{id}` instead, which generate the same Custom Intel as the Flare web application. The request and response shapes differ because the underlying product differs. This endpoint will be removed; reports already generated through it stay available in the Flare application and through `GET /firework/v4/threat_flow/reports/{report_id}`.

Returns the status of a report request created with `POST /firework/v4/threat_flow/reports/requests`. `status` is `processing` until the report is generated, then `completed` with the report in `report`. Only requests of the tenant of the authenticated user are visible; any other ID returns `404 NOT_FOUND`. Requires read access to Custom Intel in the tenant.

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

> [!WARNING]
>
> **DEPRECATED:** This endpoint should be replaced by
> [/firework/v4/threat\_flow/intel/requests/\{id} ](https://api.docs.flare.io/api-reference/v4/endpoints/threat-flow/get-an-intel-request.md)

> [!NOTE]
>
> Access to Flare CTI is required for this feature.
> Please contact your Customer Success Manager for more details.


## OpenAPI

````yaml firework-v4-openapi get /firework/v4/threat_flow/reports/requests/{request_info_id}
openapi: 3.1.0
info:
  title: Firework API
  version: v4
servers:
  - url: https://api.flare.io
security:
  - BearerAuth: []
tags:
  - name: Audit Logs
    description: Audit trail of actions performed in the platform.
  - name: Credentials
    description: >-
      Leaked credentials: search across all sources or within a tenant, and
      remediate or ignore them.
  - name: Entities
    description: >-
      Threat intelligence entities such as actors, chat channels, forum threads
      and domains, and the relations between them.
  - name: Events
    description: >-
      Events collected by Flare: global search, tenant and identifier feeds,
      event details, actions and saved feed views.
  - name: Identifiers
    description: >-
      Identifiers are the assets a tenant monitors, such as domains, keywords
      and email addresses. Includes recommendations and authorization of
      sensitive identifiers.
  - name: Matching Policies
    description: >-
      Matching policies refine which events match identifiers. Manage policies
      and their assignment to identifiers.
  - name: Sandbox
    description: File uploads and their sandbox analysis.
  - name: Threat Flow
    description: >-
      Threat Flow intelligence requests, generated reports and conversation
      summaries.
paths:
  /firework/v4/threat_flow/reports/requests/{request_info_id}:
    get:
      tags:
        - Threat Flow
      summary: Get a report request
      description: >-
        **Deprecated.** Use `POST /firework/v4/threat_flow/intel/requests` and
        `GET /firework/v4/threat_flow/intel/requests/{id}` instead, which
        generate the same Custom Intel as the Flare web application. The request
        and response shapes differ because the underlying product differs. This
        endpoint will be removed; reports already generated through it stay
        available in the Flare application and through `GET
        /firework/v4/threat_flow/reports/{report_id}`.


        Returns the status of a report request created with `POST
        /firework/v4/threat_flow/reports/requests`. `status` is `processing`
        until the report is generated, then `completed` with the report in
        `report`. Only requests of the tenant of the authenticated user are
        visible; any other ID returns `404 NOT_FOUND`. Requires read access to
        Custom Intel in the tenant.
      operationId: get_report_request_threat_flow_reports_requests__request_info_id__get
      parameters:
        - name: request_info_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            description: >-
              The `request_id` returned by `POST
              /firework/v4/threat_flow/reports/requests`.
            title: Request Info Id
          description: >-
            The `request_id` returned by `POST
            /firework/v4/threat_flow/reports/requests`.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportRequestInfoResponse'
        '401':
          description: UNAUTHORIZED
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    properties:
                      code:
                        type: string
                        enum:
                          - UNAUTHORIZED
                      data:
                        anyOf:
                          - additionalProperties: true
                            type: object
                          - type: 'null'
                        title: Data
                      message:
                        anyOf:
                          - type: string
                          - items: {}
                            type: array
                          - type: 'null'
                        title: Message
                    required:
                      - code
                      - data
                      - message
                    title: HTTPError
                    type: object
                required:
                  - error
        '403':
          description: FORBIDDEN
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    properties:
                      code:
                        type: string
                        enum:
                          - FORBIDDEN
                      data:
                        anyOf:
                          - additionalProperties: true
                            type: object
                          - type: 'null'
                        title: Data
                      message:
                        anyOf:
                          - type: string
                          - items: {}
                            type: array
                          - type: 'null'
                        title: Message
                    required:
                      - code
                      - data
                      - message
                    title: HTTPError
                    type: object
                required:
                  - error
        '404':
          description: NOT_FOUND
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    properties:
                      code:
                        type: string
                        enum:
                          - NOT_FOUND
                      data:
                        anyOf:
                          - additionalProperties: true
                            type: object
                          - type: 'null'
                        title: Data
                      message:
                        anyOf:
                          - type: string
                          - items: {}
                            type: array
                          - type: 'null'
                        title: Message
                    required:
                      - code
                      - data
                      - message
                    title: HTTPError
                    type: object
                required:
                  - error
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '500':
          description: FAILED_TO_FETCH_REPORT, REQUEST_NOT_FOUND, UNEXPECTED_REQUEST_TYPE
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    properties:
                      code:
                        type: string
                        enum:
                          - FAILED_TO_FETCH_REPORT
                          - REQUEST_NOT_FOUND
                          - UNEXPECTED_REQUEST_TYPE
                      data:
                        anyOf:
                          - additionalProperties: true
                            type: object
                          - type: 'null'
                        title: Data
                      message:
                        anyOf:
                          - type: string
                          - items: {}
                            type: array
                          - type: 'null'
                        title: Message
                    required:
                      - code
                      - data
                      - message
                    title: HTTPError
                    type: object
                required:
                  - error
      deprecated: true
components:
  schemas:
    ReportRequestInfoResponse:
      properties:
        status:
          $ref: '#/components/schemas/RequestStatus'
          description: >-
            `processing` while the report is being generated, `completed` once
            `report` is available.
        report:
          anyOf:
            - $ref: '#/components/schemas/ApiReport'
            - type: 'null'
          description: The generated report, present only when `status` is `completed`.
      type: object
      required:
        - status
      title: ReportRequestInfoResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RequestStatus:
      type: string
      enum:
        - processing
        - completed
        - error
      title: RequestStatus
    ApiReport:
      properties:
        id:
          type: integer
          title: Id
          description: >-
            The ID of the report, usable with `GET
            /firework/v4/threat_flow/reports/{report_id}`.
        format_type:
          $ref: '#/components/schemas/ThreatFlowReportFormatType'
          description: >-
            The structure of the report, which determines the format of
            `content`.
          default: simple_summary
        title:
          type: string
          title: Title
          description: The title of the report.
        subtitle:
          anyOf:
            - type: string
            - type: 'null'
          title: Subtitle
          description: The subtitle of the report, if any.
        summary:
          type: string
          title: Summary
          description: The executive summary of the report.
        content:
          type: string
          title: Content
          description: >-
            The body of the report: text when `format_type` is `simple_summary`,
            otherwise a JSON-encoded string holding the sections of the report.
        tags:
          items:
            type: string
          type: array
          title: Tags
          description: The tags assigned to the report.
        highlights:
          items:
            type: string
          type: array
          title: Highlights
          description: The key terms or topics of the report.
        related_activity_uids:
          items:
            type: string
          type: array
          title: Related Activity Uids
          description: The UIDs of the Flare activities referenced by the report.
        created_at:
          type: string
          format: date-time
          title: Created At
          description: When the report was created.
        tenant_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Tenant Id
          description: The ID of the tenant owning the report.
      type: object
      required:
        - id
        - title
        - subtitle
        - summary
        - content
        - tags
        - highlights
        - related_activity_uids
        - created_at
        - tenant_id
      title: ApiReport
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    ThreatFlowReportFormatType:
      type: string
      enum:
        - simple_summary
        - expanded_summary
        - finished_intel_standard
      title: ThreatFlowReportFormatType
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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