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

# Agents authorized for a domain: the live adagents.json and, when connected, the AAO registry



## OpenAPI

````yaml /openapi/storefront.yaml get /api/v2/storefront/discover-agents
openapi: 3.1.0
info:
  title: Semicola Exchange storefront API
  version: 2.0.0
  description: >-
    Seller (storefront) endpoints: storefront setup, inventory sources,
    products, AI Business Rules, playbook, demand inbox, proposals, approvals
    and seller reporting.
servers:
  - url: https://api.semicola.com
security:
  - bearerAuth: []
  - sessionCookie: []
tags:
  - name: Storefront
  - name: Inventory Sources
  - name: Publisher Domains
  - name: Products
  - name: Business Rules
  - name: Playbook
  - name: Library
  - name: Demand Inbox
  - name: Proposals
  - name: Approvals
  - name: Creative Reviews
  - name: Media Buys
  - name: Buyers
  - name: Reporting
  - name: Activity
  - name: Test Runs
paths:
  /api/v2/storefront/discover-agents:
    get:
      tags:
        - Publisher Domains
      summary: >-
        Agents authorized for a domain: the live adagents.json and, when
        connected, the AAO registry
      operationId: getStorefrontDiscoverAgents
      parameters:
        - name: domain
          in: query
          required: true
          schema:
            type: string
            minLength: 1
        - name: refresh
          in: query
          required: false
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    anyOf:
                      - type: object
                        properties:
                          domain:
                            type: string
                          operator:
                            type: object
                            properties:
                              domain:
                                type: string
                              member:
                                anyOf:
                                  - type: object
                                    properties:
                                      slug:
                                        type: string
                                      display_name:
                                        type: string
                                      is_founding_member:
                                        type: boolean
                                      membership_tier:
                                        type: string
                                      membership_tier_label:
                                        type: string
                                    required:
                                      - slug
                                      - display_name
                                    additionalProperties: false
                                  - type: 'null'
                              lookup_status:
                                type: string
                                enum:
                                  - member
                                  - not_member
                                  - scope_limited
                                  - lookup_failed
                              agents:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    url:
                                      type: string
                                    name:
                                      type: string
                                    type:
                                      type: string
                                    compliance:
                                      type: object
                                      propertyNames:
                                        type: string
                                      additionalProperties: {}
                                    storyboards:
                                      type: array
                                      items:
                                        type: object
                                        propertyNames:
                                          type: string
                                        additionalProperties: {}
                                    authorized_by:
                                      type: array
                                      items:
                                        type: object
                                        propertyNames:
                                          type: string
                                        additionalProperties: {}
                                  required:
                                    - url
                                    - name
                                    - type
                                  additionalProperties: false
                            required:
                              - domain
                              - member
                              - lookup_status
                              - agents
                            additionalProperties: false
                          publisher:
                            type: object
                            properties:
                              domain:
                                type: string
                              member:
                                anyOf:
                                  - type: object
                                    properties:
                                      slug:
                                        type: string
                                      display_name:
                                        type: string
                                      is_founding_member:
                                        type: boolean
                                      membership_tier:
                                        type: string
                                      membership_tier_label:
                                        type: string
                                    required:
                                      - slug
                                      - display_name
                                    additionalProperties: false
                                  - type: 'null'
                              lookup_status:
                                type: string
                                enum:
                                  - member
                                  - not_member
                                  - lookup_failed
                              adagents_valid:
                                type:
                                  - boolean
                                  - 'null'
                              discovery_method:
                                type: string
                                enum:
                                  - direct
                                  - authoritative_location
                                  - ads_txt_managerdomain
                              manager_domain:
                                type:
                                  - string
                                  - 'null'
                              resolved_url:
                                type:
                                  - string
                                  - 'null'
                              hosting:
                                type: object
                                properties:
                                  mode:
                                    type: string
                                  last_validated:
                                    type:
                                      - string
                                      - 'null'
                                required:
                                  - mode
                                  - last_validated
                                additionalProperties: false
                              freshness:
                                type: object
                                properties:
                                  source:
                                    type: string
                                    enum:
                                      - registry
                                      - live_origin
                                  registry_adagents_valid:
                                    type:
                                      - boolean
                                      - 'null'
                                  last_validated:
                                    type:
                                      - string
                                      - 'null'
                                  recrawl_requested:
                                    type: boolean
                                required:
                                  - source
                                  - registry_adagents_valid
                                  - last_validated
                                additionalProperties: false
                              properties:
                                type: array
                                items:
                                  type: object
                                  propertyNames:
                                    type: string
                                  additionalProperties: {}
                              authorized_agents:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    url:
                                      type: string
                                    authorized_for:
                                      type: string
                                    source:
                                      type: string
                                  required:
                                    - url
                                    - source
                                  additionalProperties: false
                            required:
                              - domain
                              - member
                              - lookup_status
                              - adagents_valid
                              - manager_domain
                              - resolved_url
                              - hosting
                              - freshness
                              - properties
                              - authorized_agents
                            additionalProperties: false
                          registry:
                            type: object
                            properties:
                              connected:
                                type: boolean
                              message:
                                type:
                                  - string
                                  - 'null'
                            required:
                              - connected
                              - message
                            additionalProperties: false
                        required:
                          - domain
                          - operator
                          - publisher
                          - registry
                        additionalProperties: false
                      - type: 'null'
                  error:
                    anyOf:
                      - type: object
                        properties:
                          code:
                            type: string
                          message:
                            type: string
                          field:
                            type: string
                          details: {}
                        required:
                          - code
                          - message
                        additionalProperties: false
                      - type: 'null'
                required:
                  - data
                  - error
                additionalProperties: false
        default:
          description: >-
            Error envelope `{data: null, error: {code, message, field?,
            details?}}`.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or OAuth access token.
    sessionCookie:
      type: apiKey
      in: cookie
      name: sc_session

````