> ## Documentation Index
> Fetch the complete documentation index at: https://agenticadvertisingorg-feature-feedback.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Per-agent authorization rollup

> Returns whether a given agent is authorized for a publisher domain and how many of the publisher's properties it can sell. When the agent has property-level authorization rows, the count is the intersection with the publisher's property set; when it only has a publisher-wide row, the count equals the total. Returns 404 when the agent has no authorization (publisher-wide or property-level) for the domain.



## OpenAPI

````yaml /static/openapi/registry.yaml get /api/registry/publisher/authorization
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/registry/publisher/authorization:
    get:
      tags:
        - Authorization Lookups
      summary: Per-agent authorization rollup
      description: >-
        Returns whether a given agent is authorized for a publisher domain and
        how many of the publisher's properties it can sell. When the agent has
        property-level authorization rows, the count is the intersection with
        the publisher's property set; when it only has a publisher-wide row, the
        count equals the total. Returns 404 when the agent has no authorization
        (publisher-wide or property-level) for the domain.
      operationId: lookupPublisherAgentAuthorization
      parameters:
        - schema:
            type: string
            example: voxmedia.com
          required: true
          name: domain
          in: query
        - schema:
            type: string
            example: https://sales.pubmatic.com/mcp
          required: true
          name: agent
          in: query
      responses:
        '200':
          description: Authorization rollup
          content:
            application/json:
              schema:
                type: object
                properties:
                  publisher_domain:
                    type: string
                  agent_url:
                    type: string
                  authorized:
                    type: integer
                    minimum: 0
                    description: Count of publisher's properties the agent can sell.
                  total:
                    type: integer
                    minimum: 0
                    description: Total properties the publisher exposes.
                  publisher_wide:
                    type: boolean
                    description: >-
                      True when the agent has only a publisher-wide
                      authorization (no property-level rows). In that case
                      `authorized` equals `total`.
                  source:
                    type: string
                    enum:
                      - adagents_json
                      - agent_claim
                  authorized_for:
                    type: string
                  unauthorized_properties:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        type:
                          type: string
                    description: >-
                      Properties the agent is NOT authorized for. Empty when
                      publisher_wide is true.
                required:
                  - publisher_domain
                  - agent_url
                  - authorized
                  - total
                  - publisher_wide
                  - source
                  - unauthorized_properties
        '400':
          description: Missing domain or agent
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No authorization record for this agent on this publisher
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
      required:
        - error

````