- Is the source set up correctly? Check source status, credentials, advertised capabilities, and compliance.
- What happened on recent buyer traffic? Inspect recent AdCP calls, responses, task statuses, and failures for that source.
Endpoint
GET /api/v2/storefront/inventory-sources/{sourceId}/diagnostics
Returns seller-facing diagnostics for one third-party sales-agent or modular
inventory source. The response combines the current source setup, recent AdCP
activity, test-run evidence, latency rollups, error rates, discovery
participation, demand impact, and developer handoff identifiers. New outbound
calls include a partner-safe x-scope3-debug-id that also appears in the
diagnostics handoff.
Request
Parameters
| Field | Type | Required | Notes |
|---|---|---|---|
sourceId | string (path) | Yes | Storefront-scoped inventory source ID. |
windowHours | integer (query) | No | Lookback window for activity and test-run rollups. Defaults to the service window, minimum 1, maximum 720 (30 days). |
Response
| Field | What it tells you |
|---|---|
source | Current setup state: source identity, status, endpoint, auth, advertised capabilities, and latest health. |
window | The lookback period and how much activity/test-run evidence was sampled. activityTruncated: true means the 200-row sample cap was reached; recentActivity[] shows only the most recent 200 rows, so counts and rates reflect the sample rather than the full window. |
performance | Request/response counts, completion/failure/input-required rates, timeout rate, latency percentiles, and whether latency exceeded the configured threshold. |
comparison | Current lookback window compared with the immediately preceding equal-length window. Trends are new_issue, worse, improved, recovered, unchanged, or not_enough_data; they describe observed source activity only. Previous-window sampledActivityCount and activityTruncated use the same 200-row sample cap as the current window. |
toolBreakdown[] | Per-tool outcomes across all sampled calls, including get_products, create_media_buy, updates, and other AdCP tools. |
discoveryParticipation | Whether buyer discovery called, skipped, excluded, or timed out this source. |
outcomeMix | Whether calls returned products, returned no products, failed, timed out, waited for input, or were business-rejected. |
demandImpact | Affected request count plus notes. Missed product opportunity count is currently null until buyer-side debug demand captures expected product counts. |
recentActivity[] | Most recent calls, responses, task statuses, errors, trace/correlation identifiers, initiator email, sandbox-test/live-demand origin, and summaries. |
diagnosis | Severity, owner, top cause, structured issues[] breakdown, next steps, and developer handoff details to share with the source operator. |
diagnosis.owner tells you who must act:
seller— a generic external sales agent you operate, or an adapter whose credentials need re-authorizing. ThetopCauseandnextStepsare addressed to you.scope3— an official Scope3-hosted adapter (Pinterest, Reddit, Snap, …) whose runtime is failing. Scope3 operates that runtime; the failure is ours to fix and recovers automatically, so there is nothing for you to do.nextStepswill say so rather than asking you to debug our infrastructure.
diagnosis.topCause is the primary explanation to show first. Use
diagnosis.issues[] when more than one signal is present in the same window:
for example stale async callbacks, caller-deadline timeouts, slow responses,
non-timeout failures, input-required responses, business rejections, skipped
diagnostic attempts, missing auth, or inactive sources. Each issue includes a
stable mode, severity, affected count, and human-readable summary.
Issue mode values use the same source failure vocabulary as the diagnosis
model, such as stale_async, timeout_degraded, auth_missing,
source_runtime_error, business_rejected, and input_required.
comparison.trend is a quick movement signal, not an uptime or SLA claim. It
compares sampled source activity in the requested window with the immediately
previous window of the same length. not_enough_data means neither window has
enough source activity to compare; latency remains unknown when request and
response rows cannot be paired.
Errors
400 BAD_REQUEST—windowHoursis not a positive integer or is greater than720.401 UNAUTHORIZED— missing or invalid API key.404 NOT_FOUND— no inventory source with thissourceIdexists for the storefront.
Open the diagnostics surface

- From the source itself. In the ad-server or sales-agent source app in chat, use Open full diagnostics. It opens the Source Diagnostics app already focused on the connection you had selected. (The in-app View details / View diagnostics buttons are different — they switch to the advanced tab inside the same source app.)
- From Pending operations. When a source you operate degrades, it appears in the Sources degraded group of the Pending operations view with its severity and a one-line summary. Each row’s Open full diagnostics opens the Source Diagnostics app scoped to that source.
- By asking Murph. Ask “why is
<source>failing?” or “show me diagnostics for<source>” — Murph opens the Source Diagnostics app scoped to that source. Naming the source focuses the app on it; otherwise it opens on the source you last had selected. - From the Help menu. Open Ask Murph, choose Help, then choose Diagnostics for the storefront-wide diagnostics view (change history, debug calls, source tools, test runs).
- Start with the question: is this source healthy, what changed, and who acts?
- Choose the evidence window. Start with 24 hours, narrow for an active incident, or widen it to confirm a pattern.
- Read the overview verdict before inspecting individual calls.
- Use Debug for recent calls and partner-safe handoff identifiers.
- Take the smallest diagnosed next action, then refresh or run a focused test.
<account-id> with
your account id:
diagnosticsSourceId:
Start with the inventory source
Open the storefront inventory source in the app, or call Get storefront readiness. ThesourceDiagnostics[] entry for each source gives the current operating picture:
| Field | What it tells you |
|---|---|
sourceStatus | Whether the source is active, pending, or disabled. |
auth | Whether the source requires credentials and whether they are configured. |
capabilities | Whether the source advertises support for product discovery, media-buy creation, updates, signals, and wholesale products. |
productBuilder | Whether the source is classified for composition, passthrough, or unknown; use wholesaleProductCount, signalCount, catalogCacheCold, and declaredUnsupportedIngredients to interpret component-cache readiness. For third-party sales-agent sources, component-cache readiness is evaluated only when product composition is on and the source reports AdCP 3.1+ support. |
compliance | Latest AAO / AdCP compliance result for the source. |
debug | Sanitized advertised tools, channels, publisher domains, protocol version, billing support, and related capability metadata. |
health | Current source health, including latest error, latest success, and latest check timestamps when available. |
Inspect recent AdCP activity
For source-specific traffic, use Ask Murph > Help > Diagnostics > Debug calls and ask about the inventory source by name. Murph can inspect recent third-party sales-agent activity for the caller’s storefront: requests, responses, webhook/status changes, task IDs, task statuses, and sanitized payloads. You can ask for a specific time range (“last 2 hours” or an ISO start/end window) or provide a debug/correlation ID fromx-scope3-debug-id,
traceparent, x-request-id, operation ID, task ID, context ID, or idempotency
key.
The diagnostics surface also exposes a bounded, redacted details panel for
recent calls. Use it when a sales-agent developer needs the technical handoff:
the observed time, operation/task identifiers, outbound request endpoint,
partner-safe headers, and request body when those were captured, plus the
response or error payload. The displayed headers are limited to debugging and
correlation values such as x-scope3-debug-id, traceparent, and
x-request-id; authorization headers, cookies, credentials, tokens, signed URL
parameters, and email addresses are redacted before display or copy.
This is the right path for questions like:
- “Why did this source fail
get_products?” - “What did Interchange send to my sales agent?”
- “What did my sales agent return?”
- “Which recent calls are failed or waiting for input?”
- “Is this a protocol problem, an auth problem, or a business rejection?”
- “Where do I see whether this sales agent is slow or getting excluded?”
| Signal | How to read it |
|---|---|
| Tool | The AdCP operation, such as get_products or create_media_buy. |
| Task status | COMPLETED means the source finished; FAILED means the source rejected or errored; INPUT_REQUIRED means the source is waiting on seller action; PENDING or WORKING means the source has not finished yet. |
| Payload issue | A sanitized error or rejection message, when the source returned one. |
| Details | A copyable redacted JSON handoff for the event, including related outbound request data when available. |
| Debug ID | The x-scope3-debug-id header to share with the sales-agent operator or developer for log correlation. Older calls may only have task/operation/context IDs. |
| Timestamp | When Interchange observed the activity. |
| Initiator | The redacted user email that initiated the call when available. Sandbox tests prefer the Murph test-run user; otherwise diagnostics fall back to the activity-row user. |
| Origin | sandbox_test means the call matched a Murph sandbox test run or sandbox idempotency marker. live_demand means no sandbox test provenance was found, so treat it as non-test demand traffic. |
Buyer discovery debug output
Buyer product discovery fans out to reachable sales agents in parallel. Slow or failing agents do not block fast agents. When a buyer calls discovery withdebug: true, the response can include agentResults[], which shows which
agents returned products, returned no products, failed, or were skipped.
Use this when you need the buyer-side view of a discovery request: which agents
were asked, which agents were skipped before fanout, and which agent-controlled
reason was returned.
Buyer debug output is scoped to that buyer request. Seller diagnostics are
scoped to the storefront inventory source. Use the seller view when you are
operating the source; use buyer debug output when you are reproducing one buyer
discovery call.
What this does not answer yet
The diagnostics show source state, recent protocol activity, latency percentiles, timeout counts, and source-level skipped/excluded evidence for the selected lookback window. For broader business impact analysis, combine:sourceDiagnostics[].healthfor the latest known source health.- Murph diagnostics for recent ADCP call details.
- Buyer discovery
agentResults[]withdebug: truefor one discovery request.
Empty catalog from a version mismatch (VERSION_UNSUPPORTED)
If a source’s products vanish from your catalog and its recent debug calls show a
VERSION_UNSUPPORTED payload — e.g. AdCP version '3.1' is not supported. Supported: ['3.0', ...] — the source’s AdCP server is rejecting the protocol
version Interchange pins instead of serving a compatible one.
This is almost always a source-side issue, not a problem with your
storefront. Per the AdCP spec, a source that supports the same major version
must downshift to its highest supported release and serve the request;
VERSION_UNSUPPORTED is reserved for a genuine cross-major mismatch. A source
that returns it for a same-major minor (it supports 3.0 but rejects 3.1) is
running a non-conformant or stale AdCP server build.
Interchange retries once at a compatible version as a safety net, but if the
source can’t serve any version Interchange speaks, its products stay absent
until the source operator upgrades their AdCP server. Share the source name and
the sanitized VERSION_UNSUPPORTED payload (from the Debug calls tab,
Details panel) with the sales-agent operator, and point them at
AdCP versioning & negotiation for the rule their
server must follow.
Practical checklist
When a source is not showing up or a buyer request did not return products:- Confirm the inventory source is active.
- Confirm credentials are configured if the source requires auth.
- Confirm the source advertises the needed capability, especially
get_productsfor product discovery. - Check source health for the latest error, success, and check timestamps.
- Ask Murph to inspect recent debug calls for that source.
- If reproducing a buyer discovery request, run discovery with
debug: trueand inspectagentResults[]. - If the failure is still unclear, share the source name, task ID, timestamp, and sanitized error with your sales-agent operator or Scope3 support.
Related
Inventory sources
Register and manage the sources behind your storefront
Get storefront readiness
Inspect readiness and per-source diagnostics
Product discovery
Understand buyer discovery and
agentResultsErrors
Shared Interchange error contract
AdCP versioning & negotiation
Why a version mismatch empties a catalog, and the downshift rule