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

# Create Secure Anchor



## OpenAPI

````yaml /openapi.json post /v1/targets/{target_id}/secure-anchors
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/targets/{target_id}/secure-anchors:
    post:
      tags:
        - Coverage
      summary: Create Secure Anchor
      operationId: createSecureAnchor
      parameters:
        - name: target_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SecureAnchorCreateRequest'
      responses:
        '201':
          description: Secure anchor created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicSecureAnchor'
components:
  schemas:
    SecureAnchorCreateRequest:
      type: object
      required:
        - team_slug
        - title
        - security_question
      properties:
        team_slug:
          type: string
          minLength: 1
          maxLength: 120
        title:
          type: string
          minLength: 1
          maxLength: 120
        security_question:
          type: string
          minLength: 1
          maxLength: 500
      additionalProperties: false
    PublicSecureAnchor:
      type: object
      required:
        - id
        - target_id
        - team_slug
        - source
        - title
        - security_question
        - archived
        - coverage_status
        - recertification_count
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        target_id:
          type: string
          format: uuid
        team_slug:
          type: string
        source:
          type: string
          enum:
            - manager
            - user
        title:
          type: string
        security_question:
          type: string
        archived:
          type: boolean
        coverage_status:
          type: string
          enum:
            - passing
            - failing
            - blocked
            - untested
          description: >-
            Canonical current status used by coverage filters and aggregates.
            Untested includes anchors without evidence-backed pass/fail results.
        last_recertified_at:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            When this anchor was most recently evaluated, or null if never
            tested. Use latest_recertification for the explanation and required
            action.
        recertification_count:
          type: integer
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
          description: >-
            When the anchor definition or archive state changed; this is
            distinct from the latest coverage evaluation time.
        latest_recertification:
          description: >-
            Latest coverage decision context: explanation, evidence,
            limitations, required action, related finding, and evaluation time.
          anyOf:
            - $ref: '#/components/schemas/PublicSecureAnchorRecertification'
            - type: 'null'
      additionalProperties: false
    PublicSecureAnchorRecertification:
      type: object
      required:
        - id
        - team_slug
        - outcome
        - summary
        - evidence_references
        - limitations
        - created_at
      properties:
        id:
          type: string
          format: uuid
        assessment_id:
          type:
            - string
            - 'null'
          format: uuid
        team_slug:
          type: string
        outcome:
          type: string
          enum:
            - pass
            - fail
            - blocked
          description: >-
            Recorded assessment outcome. Prefer the parent anchor's
            coverage_status for decisions because evidence-free legacy pass/fail
            rows are untested.
        summary:
          type: string
          description: Customer-visible explanation of the latest coverage result.
        evidence_references:
          type: array
          description: Evidence supporting the latest result.
          items:
            $ref: '#/components/schemas/PublicEvidenceReference'
        limitations:
          type: array
          description: Constraints that limited the latest coverage evaluation.
          items:
            type: string
        required_action:
          type:
            - string
            - 'null'
          description: >-
            Customer action needed to unblock this check. Populated for blocked
            results; null when no action is required.
        finding_id:
          type:
            - string
            - 'null'
          format: uuid
          description: Related finding to inspect when a failing check created one.
        created_at:
          type: string
          format: date-time
          description: When this coverage result was recorded.
      additionalProperties: false
    PublicEvidenceReference:
      type: object
      required:
        - source
        - observation
      properties:
        source:
          type: string
        observation:
          type: string
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key generated from the MindFort dashboard. Pass as `Authorization:
        Bearer <your-api-key>`.

````