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

# Verify agent receipt

> Verify signed fields against the retained public key and check lifecycle state. Old receipts with lost keys are UNVERIFIABLE. Rotation retains historical verification. This endpoint does not verify transparency-log inclusion.

Verify signed fields against the retained public key and check lifecycle state. Old receipts with lost keys are UNVERIFIABLE. Rotation retains historical verification. This endpoint does not verify transparency-log inclusion.

Use a workspace API key or bearer token. Encode the complete `maip-receipt:` identifier as one URL path segment.


## OpenAPI

````yaml maip-openapi.yaml GET /v1/agent-receipts/verify/{receiptID}
openapi: 3.0.3
info:
  title: Truthlocks MAIP receipts and approvals
  version: 2.0.0
servers:
  - url: https://api.truthlocks.com
    description: Production
  - url: https://sandbox-api.truthlocks.com
    description: Sandbox
security:
  - apiKey: []
  - bearerAuth: []
paths:
  /v1/agent-receipts/verify/{receiptID}:
    get:
      summary: Verify agent receipt
      description: >-
        Verify signed fields against the retained public key and check lifecycle
        state. Old receipts with lost keys are UNVERIFIABLE. Rotation retains
        historical verification. This endpoint does not verify transparency-log
        inclusion.
      operationId: maipAgentReceiptVerify
      parameters:
        - name: receiptID
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  receipt_id:
                    type: string
                  valid:
                    type: boolean
                  verdict:
                    type: string
                  reason:
                    type: string
                  signature_verified:
                    type: boolean
                  transparency_verified:
                    type: boolean
                    enum:
                      - false
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-Key
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.