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

# Verify Receipt Chain

> Walks receipts in seq order [from, to] for this tenant and re-derives each this_hash from stored fields. Reports the first broken or missing link.



## OpenAPI

````yaml GET /v1/receipts/{id}/verify-chain
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/receipts/{id}/verify-chain:
    get:
      tags:
        - receipts
      summary: Verify a contiguous seq range of the receipt chain
      description: >-
        Walks receipts in seq order [from, to] for this tenant and re-derives
        each this_hash from stored fields. Reports the first broken or missing
        link.
      operationId: ReceiptsController_verifyChain
      parameters:
        - name: from
          required: true
          in: query
          schema:
            example: '1'
            type: number
        - name: to
          required: true
          in: query
          schema:
            example: '100'
            type: number
        - name: id
          required: true
          in: path
          description: Ignored — present for route grouping; use from/to
          schema: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChainVerifyResponseDto'
      security:
        - bearer: []
components:
  schemas:
    ChainVerifyResponseDto:
      type: object
      properties:
        ok:
          type: boolean
          example: true
        count:
          type: number
          example: 100
        brokenAtSeq:
          type: number
          example: 42
          description: First seq whose hash does not match recomputed value.
        gapAtSeq:
          type: number
          example: 43
          description: First non-contiguous seq.
      required:
        - ok
        - count
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````