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

> Lists generated remediation patches for findings. Filter to findings assigned to you or search by finding ID, title, endpoint, or impact.



## 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, 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/findings/patches:
    get:
      tags:
        - Findings
      summary: List Finding Patches
      description: >-
        Lists generated remediation patches for findings. Filter to findings
        assigned to you or search by finding ID, title, endpoint, or impact.
      operationId: listFindingPatches
      parameters:
        - name: assigned_to_me
          in: query
          required: false
          description: >-
            When true, return only patches for findings assigned to the current
            user
          schema:
            type: boolean
            default: false
        - name: search
          in: query
          required: false
          description: Search finding ID, title, description, endpoint, or impact
          schema:
            type: string
            maxLength: 500
        - 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
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
        next_cursor:
          type:
            - string
            - 'null'
          title: Next Cursor
      type: object
      required:
        - patches
        - total
        - limit
        - offset
        - next_cursor
      title: PublicPatchSummaries
      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
    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
        overridden_severity_score:
          title: Overridden Severity Score
          type:
            - number
            - '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:
          description: >-
            Raw patch execution or pull-request event status. A value such as
            completed means the patch run finished; it does not mean the
            remediation was accepted. Prefer patch_state for workflow decisions.
          title: Patch Status
          type:
            - string
            - 'null'
        patch_state:
          description: >-
            Remediation status reflecting patch progress, pull-request state,
            and finding status. Prefer this field for display and workflow
            decisions.
          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>`.

````

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