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

# Get Report

> Returns a report's generation status and options. If generation failed, the response includes the failure reason.



## OpenAPI

````yaml /openapi.json get /v1/reports/{report_id}
openapi: 3.1.0
info:
  title: MindFort API
  version: 1.0.0
  description: >-
    The MindFort Public API supports targets, Discovery, assessments, finding
    lifecycle and analytics, and reports. Informational probe results are
    labeled `secured`.
servers:
  - url: https://api.mindfort.app
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/reports/{report_id}:
    get:
      tags:
        - Reports
      summary: Get Report
      description: >-
        Returns a report's generation status and options. If generation failed,
        the response includes the failure reason.
      operationId: getReport
      parameters:
        - name: report_id
          in: path
          required: true
          description: Report UUID
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicReportStatus'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Not permitted for this organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    PublicReportStatus:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        target_id:
          type: string
          format: uuid
          title: Target Id
        target_name:
          type: string
          title: Target Name
        status:
          type: string
          title: Status
        created_at:
          type: string
          format: date-time
          title: Created At
        include_secured_findings:
          type: boolean
          title: Include Secured Findings
        include_resolved_findings:
          type: boolean
          title: Include Resolved Findings
        report_detail_level:
          type: string
          enum:
            - full
            - condensed
          title: Report Detail Level
        failure_reason:
          title: Failure Reason
          description: Reason the report could not be generated.
          type:
            - string
            - 'null'
      type: object
      required:
        - id
        - target_id
        - target_name
        - status
        - created_at
        - include_secured_findings
        - include_resolved_findings
        - report_detail_level
      title: PublicReportStatus
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message
        code:
          type: string
          description: Stable machine-readable error code when one is available
        request_id:
          type: string
          description: Unique request identifier for debugging
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key generated from the MindFort dashboard. Pass as `Authorization:
        Bearer <your-api-key>`.

````

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