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

# Get Credential Verification

> Returns the state of a credential verification run started by POST /v1/targets/{target_id}/credentials/{credential_id}/verify. When status is `failed` or `error`, `failure_reason` explains what to fix. A run that is no longer tracked returns status `error` with a message to start a new verification.



## OpenAPI

````yaml /openapi.json get /v1/targets/{target_id}/credentials/{credential_id}/verify/{run_id}
openapi: 3.1.0
info:
  title: MindFort API
  version: 1.0.0
  description: >-
    The MindFort Public API supports targets, domain verification, and
    credential verification, Discovery, assessments, finding lifecycle and
    analytics, reports, and read-only credit usage. Informational probe results
    are labeled `secured`.
servers:
  - url: https://api.mindfort.app
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/targets/{target_id}/credentials/{credential_id}/verify/{run_id}:
    get:
      tags:
        - Credentials
      summary: Get Credential Verification
      description: >-
        Returns the state of a credential verification run started by POST
        /v1/targets/{target_id}/credentials/{credential_id}/verify. When status
        is `failed` or `error`, `failure_reason` explains what to fix. A run
        that is no longer tracked returns status `error` with a message to start
        a new verification.
      operationId: getCredentialVerification
      parameters:
        - name: target_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: credential_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: run_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Credential verification state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicCredentialVerification'
        '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: Target or credential not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    PublicCredentialVerification:
      type: object
      required:
        - run_id
        - target_id
        - credential_id
        - status
      properties:
        run_id:
          type: string
          format: uuid
        target_id:
          type: string
          format: uuid
        credential_id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - running
            - succeeded
            - failed
            - cancelled
            - error
        last_login_successful:
          type:
            - boolean
            - 'null'
          description: >-
            The credential's recorded sign-in outcome when this response was
            produced.
        last_login_successful_at:
          type:
            - string
            - 'null'
          format: date-time
          description: >-
            Time of the credential's most recent recorded sign-in attempt,
            whether it succeeded or failed.
        failure_reason:
          type:
            - string
            - 'null'
          description: >-
            Why the run failed or ended in error, written for the user who
            manages the credential.
      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.