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

# Get storefront capabilities

> Inspect source-level capability diagnostics for a buyer-visible storefront.



## OpenAPI

````yaml /v2/buyer-api-v2.yaml get /storefronts/{storefrontId}/capabilities
openapi: 3.0.0
info:
  title: Scope3 Buyer API
  version: 2.0.0
  description: |-
    REST API for advertisers to manage advertisers, campaigns, and reporting.

    ## Authentication

    All endpoints require a Bearer token in the Authorization header:
    ```
    Authorization: Bearer your-api-key
    ```

    ## Base URL

    `https://api.interchange.io/api/v2/buyer`

    ## For AI Agents

    AI agents can use the MCP endpoint at `/mcp/v2/buyer` with three tools:
    - `initialize`: Start an MCP session
    - `api_call`: Make REST API calls
    - `ask_about_capability`: Learn about API features
servers:
  - url: https://api.interchange.io/api/v2/buyer
    description: Production server
security: []
tags:
  - name: Account
    description: Account management, service tokens, and preferences
  - name: Advertisers
    description: Manage advertisers
  - name: Product Discovery
    description: Discover and select products
  - name: Campaigns
    description: Manage advertising campaigns
  - name: Creatives
    description: Build, manage, and sync campaign creatives via AdCP Creative Protocol
  - name: Reporting
    description: Access performance metrics
  - name: Event Sources
    description: >-
      Manage event source configurations and log conversion/marketing events for
      attribution
  - name: Property Lists
    description: Validate property lists against AAO registry
  - name: Sales Agents
    description: View and connect sales agents
  - name: Measurement
    description: Measurement sources, records, context, and freshness
  - name: Syndication
    description: Syndicate resources to ADCP agents
  - name: Tasks
    description: Track async operation status
  - name: Planning Briefs
    description: >-
      Share prospective briefs with publishers and collect their
      fit/quote/clarify/decline/book responses (gated by the
      demand-supply-signals flag).
  - name: Buyer Billing
    description: >-
      Consolidated invoicing for buyers — invoices and pending invoice items
      issued by Scope3 across the buyer customer.
  - name: MCP
    description: Model Context Protocol endpoints for AI agents
paths:
  /storefronts/{storefrontId}/capabilities:
    get:
      tags:
        - Storefronts
      summary: Get storefront capabilities
      description: >-
        Inspect source-level capability diagnostics for a buyer-visible
        storefront.
      operationId: getStorefrontCapabilities
      parameters:
        - in: path
          name: storefrontId
          schema:
            description: Storefront ID
            type: integer
            maximum: 9007199254740991
            minimum: 1
          required: true
          description: Storefront ID
      responses:
        '200':
          description: Get storefront capabilities
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuyerStorefrontCapabilitiesResponse'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    BuyerStorefrontCapabilitiesResponse:
      description: Source-level capability diagnostics for a buyer storefront
      type: object
      properties:
        storefrontId:
          description: Storefront ID that was inspected
          type: integer
          maximum: 9007199254740991
          minimum: 1
        agents:
          description: >-
            Active source rows behind the storefront. Field name retained for
            response compatibility.
          type: array
          items:
            $ref: '#/components/schemas/BuyerStorefrontCapabilitySource'
      required:
        - storefrontId
        - agents
      additionalProperties: false
    ErrorResponse:
      description: Standard error response
      type: object
      properties:
        data:
          type: string
          nullable: true
          enum:
            - null
        error:
          $ref: '#/components/schemas/ApiError'
      required:
        - data
        - error
      additionalProperties: false
    BuyerStorefrontCapabilitySource:
      description: Source-level storefront capability diagnostic row
      type: object
      properties:
        sourceId:
          description: Inventory source identifier within the storefront
          type: string
        sourceName:
          description: Inventory source display name
          nullable: true
          type: string
        executionType:
          description: Source execution type
          type: string
        agentName:
          description: External sales-agent name when one exists
          nullable: true
          type: string
        requiresCredentials:
          description: >-
            Whether buyer-provided credentials are required for this external
            AdCP source. Null when not applicable or unavailable.
          nullable: true
          type: boolean
        probeable:
          description: >-
            Whether this row is an external AdCP sales agent that the capability
            diagnostic can check
          type: boolean
        probeStatus:
          description: >-
            Capability availability status. `reachable` means capabilities are
            available (including in-process synthesized capabilities for adapter
            and ESA storefronts), possibly from cache.
          type: string
          enum:
            - reachable
            - unreachable
            - not_applicable
            - unavailable
        message:
          description: Explanation when the row is not probeable
          nullable: true
          type: string
        capabilities:
          description: >-
            Capability summary for external AdCP sources; null for managed
            sources or failed capability lookups
          nullable: true
          allOf:
            - $ref: '#/components/schemas/BuyerStorefrontCapabilityDetails'
      required:
        - sourceId
        - sourceName
        - executionType
        - agentName
        - requiresCredentials
        - probeable
        - probeStatus
        - message
        - capabilities
      additionalProperties: false
    ApiError:
      description: Structured error object
      type: object
      properties:
        code:
          description: Machine-readable error code
          type: string
        message:
          description: Human-readable error message
          type: string
        field:
          description: Field path associated with the error
          type: string
        details:
          description: Additional error context
          type: object
          additionalProperties: {}
      required:
        - code
        - message
      additionalProperties: false
    BuyerStorefrontCapabilityDetails:
      description: Capability summary for an external AdCP storefront source
      type: object
      properties:
        version:
          description: AdCP capability version
          type: string
        tools:
          description: Tool names reported by the external AdCP source
          type: array
          items:
            type: string
        protocols:
          description: Protocols advertised by the external AdCP source
          type: array
          items:
            type: string
        features:
          description: Feature flags advertised by the external AdCP source
          type: object
          additionalProperties: {}
        accountResolution:
          description: How the source resolves buyer accounts; null when not advertised.
          nullable: true
          type: string
          enum:
            - explicit_account_id
            - implicit_from_sync
        requireOperatorAuth:
          description: >-
            Capability-payload copy of whether buyer-provided credentials are
            required.
          type: boolean
        defaultBilling:
          description: Default billing mode advertised by the source
          nullable: true
          type: string
        supportedBillings:
          description: Billing modes supported by the source
          type: array
          items:
            type: string
        reportingDeliveryMethods:
          nullable: true
          type: array
          items:
            type: string
            enum:
              - webhook
              - offline
        sandboxSupported:
          description: Whether the source advertises sandbox support
          type: boolean
        synthetic:
          description: >-
            Whether capabilities were synthesized rather than returned directly
            by the source
          type: boolean
      required:
        - version
        - tools
        - protocols
        - features
        - accountResolution
        - requireOperatorAuth
        - defaultBilling
        - supportedBillings
        - reportingDeliveryMethods
        - sandboxSupported
        - synthetic
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or access token

````