> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chance.cc/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch a verification

> Retrieve a previous verification by its `id` or `requestHash`.



## OpenAPI

````yaml /openapi.json get /api/v1/intent/{id}
openapi: 3.0.3
info:
  title: Chance Verification API
  version: 1.0.0
  description: >-
    Verify an AI agent's proposed action against its stated intent, and get back
    a verdict with a provable receipt — hash-chained, signed by an attested
    judge key, and anchored onchain.
servers:
  - url: https://harness.chance.cc
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /api/v1/intent/{id}:
    get:
      summary: Fetch a verification
      description: Retrieve a previous verification by its `id` or `requestHash`.
      operationId: getIntent
      parameters:
        - name: id
          in: path
          required: true
          description: The verification `id` (UUID) or its `requestHash` (0x…).
          schema:
            type: string
      responses:
        '200':
          description: The verification.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Verdict'
        '401':
          description: Missing, invalid, or revoked API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No verification with that id for this key's account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Verdict:
      type: object
      properties:
        id:
          type: string
          description: Verification id (UUID).
        requestHash:
          type: string
          description: Stable 0x… id for this verification.
        status:
          type: string
          example: COMPLETED
        verdict:
          type: string
          enum:
            - ALLOW
            - BLOCK
            - ESCALATE
          description: >-
            ALLOW = matches intent; BLOCK = violates it; ESCALATE = genuinely
            ambiguous, needs a human.
        reasoning:
          type: string
          nullable: true
        proof:
          $ref: '#/components/schemas/Proof'
        creditsRemaining:
          type: integer
    Error:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
    Proof:
      type: object
      description: The receipt that makes the verdict independently verifiable.
      properties:
        transcriptRoot:
          type: string
          nullable: true
          description: Root of the hash-chained transcript of the whole run.
        outputHash:
          type: string
          nullable: true
        signature:
          type: string
          nullable: true
          description: Judge signature over the run digest.
        judge:
          type: string
          nullable: true
          description: Judge address that signed.
        attested:
          type: boolean
          description: True when the judge key ran inside an attested TEE.
        anchorTx:
          type: string
          nullable: true
          description: Onchain anchor transaction hash.
        anchorVerified:
          type: boolean
        transcriptUri:
          type: string
          nullable: true
          description: Public URL of the full transcript.
        explorerTx:
          type: string
          nullable: true
          description: Block-explorer link for the anchor.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Chance API key (chance_sk_…), created in the dashboard.

````