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

# Attestation Inclusion Proof

> A content-free RFC 6962 audit path proving one receipt is committed by the period’s Merkle root — without revealing any other receipt or any prompt content. Verify it against the attestation’s `merkle.root`.



## OpenAPI

````yaml GET /v1/compliance/attestation/receipts/{id}/inclusion
openapi: 3.0.0
info:
  title: Wardin API
  description: AI governance & observability platform — external REST API
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /v1/compliance/attestation/receipts/{id}/inclusion:
    get:
      tags:
        - compliance
      summary: Inclusion proof that a receipt is committed by the attestation
      description: >-
        A content-free RFC 6962 audit path proving one receipt is committed by
        the period’s Merkle root — without revealing any other receipt or any
        prompt content. Verify it against the attestation’s `merkle.root`.
      operationId: ComplianceController_getAttestationInclusion
      parameters:
        - name: id
          required: true
          in: path
          description: receipt_id (UUID)
          schema:
            type: string
        - name: range
          required: false
          in: query
          description: Same window as the attestation being verified.
          schema:
            example: 30d
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttestationInclusionDto'
        '400':
          description: Malformed receipt id or range
        '404':
          description: Receipt is not in the attested period
      security:
        - bearer: []
components:
  schemas:
    AttestationInclusionDto:
      type: object
      properties:
        receiptId:
          type: string
          example: 018f1234-5678-7abc-def0-123456789abc
        thisHash:
          type: string
          example: 9f2c…
          description: The receipt’s chain hash (Merkle leaf).
        seq:
          type: number
          example: 4210
        index:
          type: number
          example: 12
          description: Leaf position in the period (0-based).
        treeSize:
          type: number
          example: 4210
        algorithm:
          type: string
          example: RFC6962-SHA256
        proof:
          description: RFC 6962 audit path (hex sibling hashes, bottom-up).
          type: array
          items:
            type: string
        root:
          type: string
          example: 9f2c…
        verified:
          type: boolean
          example: true
          description: Server-side recomputation of the proof against the root.
      required:
        - receiptId
        - thisHash
        - seq
        - index
        - treeSize
        - algorithm
        - proof
        - root
        - verified
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````