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

# Update Finding Statuses

> Updates the status of multiple findings in one request, with an optional resolution reason and context. Returns the number of findings affected.



## OpenAPI

````yaml /openapi.json post /v1/findings/status
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/status:
    post:
      tags:
        - Findings
      summary: Update Finding Statuses
      description: >-
        Updates the status of multiple findings in one request, with an optional
        resolution reason and context. Returns the number of findings affected.
      operationId: updateFindingStatuses
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkFindingStatusRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicBulkStatusResult'
        '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:
    BulkFindingStatusRequest:
      type: object
      required:
        - finding_ids
        - status
      properties:
        finding_ids:
          type: array
          minItems: 1
          maxItems: 50
          uniqueItems: true
          items:
            type: string
            format: uuid
        status:
          type: string
          enum:
            - ACTIVE
            - RESOLVED
            - ARCHIVED
        resolve_reason:
          type:
            - string
            - 'null'
          enum:
            - FIX
            - WONT_FIX
            - FALSE_POSITIVE
            - null
          description: >-
            Resolution reason. FALSE_POSITIVE is only valid when status is
            ARCHIVED and requires resolve_context.
        resolve_context:
          type:
            - string
            - 'null'
          maxLength: 2000
          description: >-
            Optional resolution context. Required when archiving a
            FALSE_POSITIVE.
      allOf:
        - if:
            required:
              - resolve_reason
            properties:
              resolve_reason:
                const: FALSE_POSITIVE
          then:
            required:
              - resolve_context
            properties:
              status:
                const: ARCHIVED
              resolve_context:
                type: string
                minLength: 1
        - if:
            anyOf:
              - required:
                  - resolve_reason
                properties:
                  resolve_reason:
                    enum:
                      - FIX
                      - WONT_FIX
              - required:
                  - resolve_context
                properties:
                  resolve_context:
                    type: string
                not:
                  required:
                    - resolve_reason
                  properties:
                    resolve_reason:
                      const: FALSE_POSITIVE
          then:
            properties:
              status:
                const: RESOLVED
      additionalProperties: false
    PublicBulkStatusResult:
      properties:
        affected_count:
          type: integer
          title: Affected Count
        operation:
          type: string
          const: status_update
          title: Operation
        message:
          type: string
          title: Message
      type: object
      required:
        - affected_count
        - operation
        - message
      title: PublicBulkStatusResult
      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.