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

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


## 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, 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/status:
    post:
      tags:
        - Findings
      summary: Update Finding Statuses
      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
            - null
          description: Resolution reason. Only valid when status is RESOLVED.
        resolve_context:
          type:
            - string
            - 'null'
          maxLength: 2000
          description: Optional resolution context. Only valid when status is RESOLVED.
      allOf:
        - if:
            anyOf:
              - required:
                  - resolve_reason
                properties:
                  resolve_reason:
                    type: string
              - required:
                  - resolve_context
                properties:
                  resolve_context:
                    type: string
          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
        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>`.

````