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

# List Finding Patches

<Info>Required API key permission: `findings:read`.</Info>


## OpenAPI

````yaml /openapi.json get /v1/findings/patches
openapi: 3.1.0
info:
  title: MindFort API
  version: 1.0.0
  description: >-
    The MindFort Public API supports targets, assessments, finding lifecycle and
    analytics, and reports. Public responses use positive field allowlists and
    call informational non-vulnerable results `secured`.
servers:
  - url: https://api.mindfort.app
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/findings/patches:
    get:
      tags:
        - Findings
      summary: List Finding Patches
      operationId: listFindingPatches
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicPatchSummaries'
        '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:
    PublicPatchSummaries:
      properties:
        patches:
          items:
            $ref: '#/components/schemas/PublicPatchSummary'
          type: array
          title: Patches
        total:
          type: integer
          title: Total
      type: object
      required:
        - patches
        - total
      title: PublicPatchSummaries
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message
        request_id:
          type: string
          description: Unique request identifier for debugging
    PublicPatchSummary:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        finding_type:
          type: string
          const: red-team
          title: Finding Type
          default: red-team
        title:
          title: Title
          type:
            - string
            - 'null'
        severity:
          title: Severity
          type:
            - string
            - 'null'
          enum:
            - secured
            - low
            - medium
            - high
            - critical
            - null
        severity_score:
          title: Severity Score
          type:
            - number
            - 'null'
        overridden_severity:
          title: Overridden Severity
          type:
            - string
            - 'null'
          enum:
            - secured
            - low
            - medium
            - high
            - critical
            - null
        target_id:
          title: Target Id
          type:
            - string
            - 'null'
          format: uuid
        target_name:
          title: Target Name
          type:
            - string
            - 'null'
        status:
          type: string
          title: Status
        status_updated_at:
          title: Status Updated At
          type:
            - string
            - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
          title: Created At
        patch_created_at:
          title: Patch Created At
          type:
            - string
            - 'null'
          format: date-time
        patch_updated_at:
          title: Patch Updated At
          type:
            - string
            - 'null'
          format: date-time
        pr_url:
          title: Pr Url
          type:
            - string
            - 'null'
        patch_status:
          title: Patch Status
          type:
            - string
            - 'null'
        patch_state:
          title: Patch State
          type:
            - string
            - 'null'
      type: object
      required:
        - id
        - status
        - created_at
      title: PublicPatchSummary
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key generated from the MindFort dashboard. Pass as `Authorization:
        Bearer <your-api-key>`.

````