> ## Documentation Index
> Fetch the complete documentation index at: https://adcp-docs-ja.pier1.co.jp/llms.txt
> Use this file to discover all available pages before exploring further.

# Policy revision history

> Retrieve the edit history for a policy. Each revision records who made the change, a summary, and whether it was a rollback.



## OpenAPI

````yaml /static/openapi/registry.yaml get /api/policies/history
openapi: 3.1.0
info:
  title: AgenticAdvertising.org Registry API
  description: >-
    REST API for the AgenticAdvertising.org registry. Resolve brands,

    discover properties, look up agents, and validate authorization in the

    AdCP ecosystem.


    Most endpoints are public and require no authentication. Endpoints marked

    with a lock icon accept either an organization API key or a user JWT

    obtained via the OAuth 2.1 flow — see
    [Authentication](https://agenticadvertising.org/docs/registry/index#authentication).


    **Base URL:** `https://agenticadvertising.org`
  version: 1.0.0
  contact:
    name: AgenticAdvertising.org
    url: https://agenticadvertising.org
servers:
  - url: https://agenticadvertising.org
    description: Production
security: []
tags:
  - name: Onboarding
    description: >-
      Explicitly bootstrap a third-party integration into the AAO registry. Most
      callers don't need this tag — `POST /api/me/agents` auto-creates the org
      (for fresh users) and the member profile (for first-time agent
      registration) without a separate round trip. Use `POST /api/organizations`
      only when you need to override the auto-derived org name / company_type /
      revenue_tier. Tier transitions happen via the billing flow only; the
      Stripe webhook is the sole writer of `organizations.membership_tier`.
  - name: Member Agents
    description: >-
      Register, list, update, and remove agents on the caller's organization
      member profile. Authenticated programmatic surface for CI / scripts that
      don't want to round-trip the full member profile.
  - name: Brand Resolution
    description: Resolve advertiser domains to canonical brand identities.
  - name: Property Resolution
    description: >-
      Resolve publisher domains to their property configurations and authorized
      agents.
  - name: Agent Discovery
    description: >-
      Browse the federated agent network, search agent inventory profiles,
      publisher index, and registry statistics.
  - name: Change Feed
    description: Poll cursor-based registry change events for local sync.
  - name: Lookups & Authorization
    description: >-
      Look up agents by domain or property, and validate ad-serving
      authorization.
  - name: Validation Tools
    description: >-
      Validate publisher adagents.json files and generate compliant
      configurations.
  - name: Community Mirrors
    description: >-
      Publish, fetch, list, and retire catalog-only adagents.json mirrors for
      platforms that have not adopted AdCP.
  - name: Search
    description: Cross-entity search across brands, publishers, agents, and properties.
  - name: Agent Probing
    description: >-
      Connect to live agents and inspect their capabilities, formats, and
      inventory.
  - name: Brand Discovery
    description: Discover and crawl brand.json files across domains.
  - name: Agent Compliance
    description: Agent compliance status, storyboard test results, and compliance history.
  - name: Policy Registry
    description: >-
      Browse, resolve, and contribute governance policies for campaign
      compliance.
paths:
  /api/policies/history:
    get:
      tags:
        - Policy Registry
      summary: Policy revision history
      description: >-
        Retrieve the edit history for a policy. Each revision records who made
        the change, a summary, and whether it was a rollback.
      operationId: getPolicyHistory
      parameters:
        - schema:
            type: string
            example: gdpr_consent
          required: true
          name: policy_id
          in: query
        - schema:
            type: integer
            description: Results per page (max 100, default 20)
          required: false
          description: Results per page (max 100, default 20)
          name: limit
          in: query
        - schema:
            type: integer
            description: Pagination offset (default 0)
          required: false
          description: Pagination offset (default 0)
          name: offset
          in: query
      responses:
        '200':
          description: Revision history
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyHistory'
        '400':
          description: Missing policy_id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Policy not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                  policy_id:
                    type: string
                required:
                  - error
                  - policy_id
components:
  schemas:
    PolicyHistory:
      type: object
      properties:
        policy_id:
          type: string
          example: gdpr_consent
        total:
          type: integer
          example: 3
        revisions:
          type: array
          items:
            type: object
            properties:
              revision_number:
                type: integer
                example: 2
              editor_name:
                type: string
                example: Pinnacle Media
              edit_summary:
                type: string
                example: Clarified consent requirements for minors
              is_rollback:
                type: boolean
              rolled_back_to:
                type: integer
                description: >-
                  Revision number that was restored; only present when
                  is_rollback is true
              created_at:
                type: string
                example: '2026-03-01T12:34:56.000Z'
            required:
              - revision_number
              - editor_name
              - edit_summary
              - is_rollback
              - created_at
      required:
        - policy_id
        - total
        - revisions
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error

````