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

# Check an attestation

> Public check of a Warp Verify attestation. No authentication required; rate limited per IP. `valid` is `true` only for an active attestation that is not expired or revoked and was registered on-chain (proof hash, verifier contract, registry contract and on-chain attestation ID all recorded).



## OpenAPI

````yaml /openapi.json get /v1/attestations/{id}
openapi: 3.0.3
info:
  title: Warp API
  version: 1.0.0
  description: >-
    Public Warp API: hosted checkout sessions for Pay with Warp, hosted ZK proof
    verification, and Warp Verify attestation checks.
  contact:
    name: Warp Support
    email: support@usewarp.net
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://api.usewarp.net
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Checkout sessions
    description: Create and track hosted checkout sessions.
  - name: ZK verification
    description: Verify Groth16 proofs against circuits deployed from the Warp Platform.
  - name: Attestations
    description: Public Warp Verify attestation checks.
  - name: Health
    description: Service status.
paths:
  /v1/attestations/{id}:
    get:
      tags:
        - Attestations
      summary: Check an attestation
      description: >-
        Public check of a Warp Verify attestation. No authentication required;
        rate limited per IP. `valid` is `true` only for an active attestation
        that is not expired or revoked and was registered on-chain (proof hash,
        verifier contract, registry contract and on-chain attestation ID all
        recorded).
      operationId: getAttestation
      parameters:
        - name: id
          in: path
          required: true
          description: Attestation ID.
          schema:
            type: string
      responses:
        '200':
          description: Attestation status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Attestation'
        '404':
          description: Not found (or owned by another project)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: not_found
                  message: Resource not found
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error:
                  code: rate_limited
                  message: Too many requests. Retry after the window resets.
      security: []
components:
  schemas:
    Attestation:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
          description: Lifecycle status, for example `active`, `revoked` or `expired`.
        type:
          type: string
          enum:
            - ownership
            - compliance
            - provenance
        valid:
          type: boolean
          description: >-
            `true` only when the attestation is active, not expired or revoked,
            and registered on-chain with a verified proof (proof hash, verifier
            contract, registry contract and on-chain ID recorded).
        expires_at:
          type: string
          format: date-time
          nullable: true
        chain_id:
          type: integer
        registry_address:
          type: string
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: >-
                Machine-readable error code: `invalid_request`, `unauthorized`,
                `not_found`, `proof_not_ready`, `onchain_unavailable`,
                `rate_limited` or `internal_error`.
              example: invalid_request
            message:
              type: string
              description: Human-readable description.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your project secret key: `sk_test_...` (testnet) or `sk_live_...`
        (mainnet). Use it only on your server.

````

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