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

# Get receipt validation metadata

> Get the supported receipt schema, limits, and a runnable example.



## OpenAPI

````yaml /openapi/v1.yaml get /agent-work-receipts/validate
openapi: 3.1.0
info:
  title: OrgX REST API v1
  version: '1'
  description: >-
    Build accountable work into your product with OrgX REST API v1.


    Create work with one field, attach evidence when it is complete, and keep
    the receipt. Every authenticated request is scoped to the workspace resolved
    from your credential.


    Start with `POST /work`. Human guide:
    https://docs.useorgx.com/docs/api/quickstart
  contact:
    name: OrgX Support
    url: https://useorgx.com/support
    email: support@useorgx.com
  license:
    name: Proprietary
    url: https://useorgx.com/terms
servers:
  - url: https://useorgx.com/api/v1
    description: Production
security: []
tags:
  - name: Work
    description: Create accountable work and complete it with evidence
  - name: Initiatives
    description: Organize related work around an outcome
  - name: Operating processes
    description: Evidence-backed company workflow/process lifecycle
  - name: Operating map
    description: Derived, rebuildable Operating Map projection over the process ledger
  - name: Discovery runs
    description: Wizard and deep-search workflow discovery over connected company sources
  - name: Handoffs
    description: Ledger-backed stage handoffs between operating-process stages
  - name: Events
    description: Replayable, workspace-scoped accepted ledger events
  - name: Projections
    description: Workspace-scoped, rebuildable read projections over OrgX sources
  - name: Episodes
    description: Mission-compatible Episode read adapters
  - name: Receipt validation
    description: Account-free Agent Work Receipt schema discovery and conformance
  - name: Receipt import
    description: Authenticated, workspace-scoped import into the hosted receipt ledger
  - name: Workload diagnosis
    description: >-
      Account-free evaluation of time, agents, systems, authority, and
      accountability boundaries
  - name: Content Studio
    description: >-
      Estimate, showcase, checkout, and payment event operations for Content
      Studio
  - name: Decisions
    description: Raise decisions for human ruling and read their state
  - name: Artifacts
    description: Register produced work against the entity it belongs to
  - name: Launches
    description: Preview and run an initiative launch through its spend gates
  - name: Runs
    description: Control agent runs with pause, resume, cancel, and rollback
  - name: Lifecycle
    description: Pause, resume, retry, or cancel work hierarchy nodes and runs
  - name: Deduplication
    description: Claim durable event fingerprints so duplicate triggers fire once
  - name: Credential
    description: >-
      Resolve the calling credential, the workspaces it reaches, and what it may
      do
  - name: API discovery
    description: Account-free error codes, request schemas, and closed vocabularies for v1
externalDocs:
  description: Human-readable OrgX REST API v1 reference
  url: https://docs.useorgx.com/docs/api/public-api
paths:
  /agent-work-receipts/validate:
    get:
      tags:
        - Receipt validation
      summary: Get receipt validation metadata
      description: Get the supported receipt schema, limits, and a runnable example.
      operationId: getAgentWorkReceiptValidator
      responses:
        '200':
          description: Validator metadata and canonical JSON Schema
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReceiptValidatorMetadata'
              example:
                name: Agent Work Receipt
                schema_version: agent-work-receipt/v0.1
                schema_url: >-
                  https://useorgx.com/schemas/agent-work-receipt/v0.1/schema.json
                account_required: false
                persists_submissions: false
                max_bytes: 262144
                validation_limits:
                  max_depth: 64
                  max_nodes: 50000
                  max_issues: 100
                  apply_before_schema: true
                validation_endpoint: https://useorgx.com/api/v1/agent-work-receipts/validate
                import_endpoint: https://useorgx.com/api/v1/agent-work-receipts
                schema: {}
        '429':
          description: Public validator metadata rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
        '503':
          description: Distributed production rate limiting is unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicApiError'
components:
  schemas:
    ReceiptValidatorMetadata:
      type: object
      required:
        - name
        - schema_version
        - schema_url
        - account_required
        - persists_submissions
        - max_bytes
        - validation_limits
        - validation_endpoint
        - import_endpoint
        - schema
      properties:
        name:
          type: string
          const: Agent Work Receipt
        schema_version:
          type: string
          const: agent-work-receipt/v0.1
        schema_url:
          type: string
          format: uri
        account_required:
          type: boolean
          const: false
        persists_submissions:
          type: boolean
          const: false
        max_bytes:
          type: integer
          const: 262144
        validation_limits:
          type: object
          additionalProperties: false
          description: >-
            Bounded traversal runs before JSON Schema evaluation, so a
            schema-valid document can still fail with input.structure_limit.
          required:
            - max_depth
            - max_nodes
            - max_issues
            - apply_before_schema
          properties:
            max_depth:
              type: integer
              const: 64
            max_nodes:
              type: integer
              const: 50000
            max_issues:
              type: integer
              const: 100
            apply_before_schema:
              type: boolean
              const: true
        validation_endpoint:
          type: string
          format: uri
        import_endpoint:
          type: string
          format: uri
          description: Authenticated, workspace-scoped hosted import endpoint
        schema:
          type: object
          description: Canonical Agent Work Receipt v0.1 JSON Schema
    PublicApiError:
      type: object
      required:
        - error
      properties:
        ok:
          type: boolean
        valid:
          type: boolean
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
            message:
              type: string
            issues:
              type: array
              items:
                type: object

````