GET /api/v2/buyer/storefronts/{storefrontId}/capabilities
Returns source-level diagnostic rows for active sources behind a storefront the buyer can see. External AdCP sales-agent sources are capability-checkable and include cached-or-refreshed capability details. Managed ad-server-backed sources are included with probeable: false and probeStatus: "not_applicable"; do not treat those rows as unreachable agents.
Capability lookups use the platform’s normal cache and refresh policy. A probeStatus: "reachable" row means non-synthetic capabilities are currently available for routing and diagnostics; it is not a guarantee that this request opened a fresh network connection to the agent.
Request
curl
Parameters
| Field | In | Type | Required | Notes |
|---|---|---|---|---|
storefrontId | path | integer | Yes | Storefront ID to inspect |
Response
| Field | Type | Notes |
|---|---|---|
storefrontId | integer | Storefront ID that was inspected |
agents | array | Active source rows behind the storefront. The field name is retained for compatibility |
agents[].sourceId | string | Source identifier within the storefront |
agents[].sourceName | string | null | Source display name |
agents[].executionType | string | Source execution type |
agents[].agentName | string | null | External sales-agent name when one exists |
agents[].requiresCredentials | boolean | null | Whether buyer-provided credentials are required for this external AdCP source, using non-synthetic capabilities when available. null when not applicable or unavailable |
agents[].probeable | boolean | Whether this row is an external AdCP sales agent that this capability diagnostic can check |
agents[].probeStatus | string | reachable, unreachable, not_applicable, or unavailable. reachable means non-synthetic capabilities are available, possibly from cache |
agents[].message | string | null | Explanation when the row is not probeable |
agents[].capabilities | object | null | Capability summary for external AdCP sources; null for managed sources or failed capability lookups |
agents[].capabilities.requireOperatorAuth | boolean | Capability-payload copy of the external source credential requirement when a capability payload is available. Prefer top-level requiresCredentials for credential workflow decisions |
Errors
401 UNAUTHORIZED— missing or invalid bearer token.404 NOT_FOUND— the storefront does not exist or is not visible to the caller.
Related
Get storefront
Rolled-up connection state
List storefronts
Paginated summaries