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

# Get agent compliance history

> Returns a list of compliance test runs for an agent, ordered most recent first.

If the agent has opted out, returns an empty list.



## OpenAPI

````yaml https://raw.githubusercontent.com/adcontextprotocol/adcp/v3.0.26/static/openapi/registry.yaml get /api/registry/agents/{encodedUrl}/compliance/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: 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: 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/registry/agents/{encodedUrl}/compliance/history:
    get:
      tags:
        - Agent Compliance
      summary: Get agent compliance history
      description: >-
        Returns a list of compliance test runs for an agent, ordered most recent
        first.


        If the agent has opted out, returns an empty list.
      operationId: getAgentComplianceHistory
      parameters:
        - schema:
            type: string
            description: URL-encoded agent URL
          required: true
          description: URL-encoded agent URL
          name: encodedUrl
          in: path
        - schema:
            type: string
            description: Max results (default 30, max 100)
          required: false
          description: Max results (default 30, max 100)
          name: limit
          in: query
      responses:
        '200':
          description: Compliance run history
          content:
            application/json:
              schema:
                type: object
                properties:
                  agent_url:
                    type: string
                  runs:
                    type: array
                    items:
                      $ref: '#/components/schemas/ComplianceRun'
                  count:
                    type: integer
                required:
                  - agent_url
                  - runs
                  - count
        '400':
          description: Invalid agent URL
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ComplianceRun:
      type: object
      properties:
        id:
          type: string
        overall_status:
          type: string
        headline:
          type:
            - string
            - 'null'
        tracks_passed:
          type: integer
        tracks_failed:
          type: integer
        tracks_skipped:
          type: integer
        tracks_partial:
          type: integer
        tracks_json: {}
        total_duration_ms:
          type:
            - number
            - 'null'
        triggered_by:
          type: string
        tested_at:
          type: string
      required:
        - id
        - overall_status
        - headline
        - tracks_passed
        - tracks_failed
        - tracks_skipped
        - tracks_partial
        - total_duration_ms
        - triggered_by
        - tested_at
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error

````