- Is the source set up correctly? Source status, credentials, advertised capabilities and compliance.
- What happened on recent buyer traffic? Health by operation, failures and who has to act on them.
Read the diagnostics
get with that input. The source’s id comes from
search({ "kind": "inventory_source" }). For one account-wide list of
blockers before buyer requests reach any source, call get_status.
The calls Apostra made to your Agent are not part of what a seller reads.
callDetailAvailable is false, and recentActivity,
transportRequests.requests, the call identifiers in
diagnosis.developerHandoff and each finding’s evidence are empty. Only the
Agent’s developer and Apostra staff read them. The counts, rates and verdicts
stay, because they carry no request or response.
What the read returns
source.health, source.capabilityHealth, diagnosis.severity,
diagnosis.owner and diagnosis.issues are deprecated and still returned.
sourceHealth replaces them, and their ok, warning, critical, unknown
and unhealthy values never appear in it.
Zero calls in the window means the operations are untested in that window.
It is not a failed call and cannot support an Erroring verdict on its own.
Missing validation assertions likewise mean no qualifying run has assessed them
yet.
The connection verdict
connection.state folds the source’s status, credentials and stored health into
one answer:
healthFreshness is current or stale, or null when no health check has
run. A check is stale once it is more than seven days old, whatever window
you read: the window sets which activity the counts cover, not how long a check
stays trustworthy. A source with only a stale check reads needs_check,
whatever that check found. evidenceConflict is true when stored health
reports a failure but the newest observed call completed successfully at or
after that check.
A completed refresh is the newest connection evidence. If it passes, the
verdict says so even when an older stored health record reported an error. When
an older record is all there is, the Page labels it stale connection
evidence and asks for a refresh. A healthy completed get_products result
takes precedence over an unhealthy sync_creatives observation only when it is
at least 24 hours newer and both stay inside the seven-day freshness window.
Other current unhealthy observations stay visible and can still affect
readiness.
The read never shows a saved secret. An active source is also not provider
approval, Agent certification or permission to transact. Those are separate
decisions with their own status and next action.
Setup, request eligibility and health are separate. Apostra sends a discovery
request when the source is set up, not paused, mapped to an eligible Agent and
compatible with that request. Degraded or erroring health stays visible but
does not by itself stop requests.
Read health without misreading it
A timeout is not an error response
A typedtimeout means the call did not finish inside the observer’s budget.
It does not mean the source returned an error, is unreachable or is currently
unhealthy. A get_products call can exceed a 30-second buyer window and
complete successfully in 35.7 seconds under a 45- or 60-second budget. A fresh
test with the same 30-second budget can reproduce that mismatch, so compare it
with a longer observation before you diagnose reachability.
The mechanism is condition: "timeout", separate from the diagnostic impact
(status: "degraded"). A completed error response is
condition: "error_response", and a connection failure is
condition: "transport_error". Reporting has its own health axis, so an
inventory observation timeout does not make healthy reporting unhealthy. None of
these changes request eligibility by itself.
Health uses one vocabulary: Healthy, Degraded, Erroring and
Unknown. In sourceHealth, a row’s status is healthy, degraded or
erroring, and null (read as Unknown) when nothing has observed it. Do
not infer the failure mechanism from the status: read condition.
Three kinds of evidence
Diagnostics keep three evidence types apart:- A source test is an explicit sandbox test against the selected source.
- A source call is an observed protocol exchange with it, such as
get_adcp_capabilitiesor aget_productsrequest. - A storefront buyer-path or composition run is work at the storefront layer. It is not evidence that the source was called unless a source exchange is attached to it.
no_ingredients: a composition run can stop at the storefront
before it calls your agent. That is not a failed source call or source test.
Calls that were not answered
Aget_products timeout counts as the seller’s only when Apostra’s client
opened a request to the source before the deadline. If it never did, the time
went on Apostra’s own client setup, and the timeout is recorded as Apostra’s.
A seller can answer a call as a stream (text/event-stream): the response
headers arrive first and the answer follows, or never comes. An HTTP success on
a tool call is therefore not proof that an answer came, and the latency recorded
for such a request is the time to response headers, not how long the call took.
Apostra’s physical request record is bounded and redacted. It can be
incomplete under heavy load, so a missing row does not prove that no request was
sent. Its detail is for the Agent’s developer.
For media-buy creates and updates, if mutation_not_dispatched appears,
Apostra stopped locally and no remote mutation request or response was
recorded. That does not establish that the remote media buy is unchanged: read
it back before you conclude anything.
How latency is measured
- Each latency sample is one
get_productsexchange, measured from its recorded request to its final recorded response.p50LatencyMs,p95LatencyMsandp99LatencyMsare percentiles across those paired samples in the window. latencyStatusisover_thresholdwhen any paired exchange is greater thanlatencyThresholdMs, or when the window contains a timeout. It is not a comparison of p95 with the threshold. With no recorded timeout or deadline, the default is 5,000 ms.- A source test’s
durationMsis the wall-clock time of the whole probe, including connection setup and capability negotiation. Do not compare it withlatencyThresholdMs.
returnedNoProductsCount and latencyStatus are observations, not inputs to
storefront eligibility, source selection or ranking. There is no rolling
empty-response or slow-response penalty. A source that returns no products
contributes no candidates to that response, so there is nothing from it to
rank.
The source health object
sourceHealth is one typed answer for the source, in the order you would ask
the questions: which source this is, whether each operation is healthy, what is
wrong and who acts, and what is still waiting. Apostra staff read the same
object, so you and Apostra support use the same words. In V3 an owner who runs
the Agent behind the source is agent_developer; see
who has to act on a finding.
Routing and setup steps
identity.routing says whether buyer requests reach the source, with reason
codes when they do not. Incomplete setup stops requests only until a source is
first activated, so an activated source can show Receives buyer requests
and Setup incomplete together.
routing.setupSteps lists the steps still to finish, from the same facts that
decide routing.setupComplete. It is empty exactly when setup is complete. Each
step has:
An Agent developer you authorized sees only the
source steps, with action
always none. When only your seller account’s own steps are incomplete, that
read shows setupComplete as false with no steps.
Health by operation
Each row ofsourceHealth.health has:
Two rows to read with care:
- An operation the seller’s own AdCP capabilities do not support reads Not
supported by seller and names the seller as owner, so you can tell it from
one nothing has observed. Capabilities say so when they declare no
media_buyprotocol (which covers creating, updating and reporting on media buys) or no creative library (which covers creative sync), or when the live tool list the agent returned leaves the operation out. A seller whose capabilities Apostra built from configuration, or whose tool list came back empty, never reads Not supported by seller, and an operation Apostra has observed is never marked unsupported. - An operation that a Blocking or Needs attention finding is about is
at least degraded even when every call succeeded, because the calls work and
what they return is wrong. For example, product discovery reads Degraded
while its calls succeed when products declare creative formats their creative
agent does not define. The row lists those findings in
findingIds, most severe first, and the most severe finding’s summary is the reason for the status. An Advisory finding is informational and leaves the status alone. When no failing call set the owner, the row’s owner is the most severe finding’s owner.
Findings
Each entry ofsourceHealth.diagnosis.findings has:
A finding that products declare creative formats their creative agent does not
define lists those products with each product’s id and declared formats.
When the source answered with a typed AdCP error,
diagnosis.topCause names its
code and what that kind of code asks for, and
diagnosis.developerHandoff.latestError carries the source’s own error text
apart from redacted secrets. Only codes in the AdCP standard set are recognized,
and only from the error’s code, never from wording. A code outside that set,
and an error with no code, read “could not classify”. See
Source returned an AdCP error.
When the request Apostra sent contradicts the capabilities your agent declared
in get_adcp_capabilities, the owner is apostra and diagnosis.topCause
states what was sent against what you declared. Apostra compares
media_buy.buying_modes, account.required_for_products,
account.require_operator_auth and adcp.supported_versions, reads only what
your agent declared, and skips the comparison when it holds no capabilities. See
Our request broke the Source’s capabilities.
Open operations
sourceHealth.operations answers “what is still waiting at this source, on
whom, and since when”. An operation is one intended change at the source: a
media buy created or updated, a creative synced or an account request decided.
It is listed while open, because of what the source, you, the buyer or Apostra
has not done yet, never because of its age: one waiting three days is visible
from its first minute, with its age in since. On a seller’s read every listed
operation is open, its attempts list is empty and operationsTruncated is
always false. Finished operations are not part of it.
A creative you have not yet approved is not listed, because no source receives
it before your review. A buy the source holds for creatives waits on the buyer
only while no creatives are attached. With creatives attached it waits on
Apostra until they reach the source, then on the source’s review. A buy whose
flight has ended and whose buyer’s buy is completed, archived or canceled is
not listed.
Behind Apostra’s own managed sales agent there is no separate operator: a
change it is holding is waiting on your own review in your ad server, so it
reads
waitingOn.party: "seller". The developer of an Agent you authorized to
power a source can read that source’s health object. They see that an
operation is waiting on you and since when, but not what you have to decide:
target and nextAction are null on those entries. They see no actions,
generic text in place of findings you or Apostra own, and no request or
response bodies unless you invite them to debug that source.
A source that pauses a task for more input (the AdCP input-required status)
is waiting on its caller, Apostra, not on you or its developer. Apostra cannot
supply that input yet, so the operation fails as soon as Apostra sees the pause
rather than staying open. A creative delivery fails as delivery_failed, and a
media-buy create or update fails with the error code source_input_required,
owned by Apostra. Neither is listed in sourceHealth.operations.
When a source refuses an account request in a way that sending it again cannot
change, the attempt is recorded with the source’s own error code and
recovery: "structural". For example, a source that lists agent in
supported_billing but answers BILLING_NOT_PERMITTED_FOR_AGENT is refusing
the billing mode it declared. Apostra then does not send the same account
request to that source for 24 hours. Fix the cause in your agent, for example
by accepting the billing mode you declare or removing it from
supported_billing. The next request after the 24 hours tries again. A
credential error such as AUTH_INVALID is not held, because reconnecting the
source can fix it.
Read seller readiness without combining unrelated results
For a source linked to an Agent, the diagnostics show three separate results:- Availability on Apostra says whether the storefront can currently transact. Resolve any listed blocker in Seller Setup.
- Agent certification applies to the Agent’s current revision. If it needs attention, complete the Agent’s certification work. A stale certification does not by itself change the availability result.
- Source health is the latest observed condition for this exact source.
When it is degraded, erroring or unknown, run
refresh_inventory_source_healthwithscope: "capabilities"before changing the source. That refresh checks the endpoint, credentials and declarations. It does not prove product discovery or a media-buy lifecycle.
Live health and component-cache health
For an external sales agent source, keep live source health apart from component-cache health. Live health answers whether Agent-supplied discovery or media-buy calls reached the source and completed. Component-cache health answers whether Apostra can read the source’s raw products and components for merchandising without calling the source while it composes an answer to a buyer request. Cache complaints usually mean the source does not support a usable component response, returned invalid or missing product metadata, has an errored or cold cache, or cannot refresh because of authentication or reachability. Stale-but-usable cached rows are not a failure: they are valid composition inputs. Soft-refresh age is handled by Apostra automatically and creates no action for you. A cache complaint does not by itself mean the Agent-supplied product path is down. Apostra does not make wholesale product or signal catalog requests to every external sales agent. They run only when the source’s explicit product contract includes the Storefront-built path and the Agent reports AdCP 3.1 or later. An Agent-supplied source focuses on live buyer-request activity instead. Only wholesale products are composition inputs; ordinary finished products are not reclassified as ingredients. Managed ad-server sources have a fixed wholesale contract because their raw inventory must be turned into products. When a seller-operated source stays unhealthy long enough to trigger a proactive alert, the alert links to the source’s diagnostics with the source selected. Open it first.Product paths
source.productMode reports each source’s Agent declaration, the effective
product mode, bounded reasons and the readiness of each path in paths.
Storefront-built (WHOLESALE) means Apostra can use ready wholesale
inputs from the source when composing products. Agent-supplied
(COMPOSING) means the connected Agent returns complete buyer-ready products.
An Agent that supports both reports each path independently; a problem on one
does not reclassify the other. Use productMode to tell whether the source,
Apostra or the connected Agent owns a readiness problem.
The provider-declared mode is read-only in Apostra. To fix an incomplete
wholesale path, correct the Agent’s reported product, property, format,
pricing or execution declaration, then run refresh_inventory_source_health.
Do not change a mode to hide a readiness failure.
For an Agent-supplied source, Connected means its connection and required
credentials are ready. Setup does not wait for an Apostra wholesale catalog, and
a null reporting status (no reporting check has reported yet) does not become
setup work.
Storefront readiness also reports two product checks:
- Interpretable product formats, when canonical-format compliance is on for
your storefront. Direct canonical
format_options[]and projectable legacy{agent_url, id}references both pass. If a legacy product holds several format references, one usable canonical projection keeps the product available, and an unsupported sibling is omitted from the buyer-facing format options and stays visible as an advisory. A product with no usable canonical option is withheld on its own, while the source and its other products remain eligible. Seller Setup prefers public catalog evidence when a source has it, so an older buyer-account or sandbox observation does not override a corrected public declaration. The check names the unresolved products as repair guidance. It does not make the storefront transaction-ineligible, and the source’s connectivity health can stay healthy. Replace an unsupported custom reference with an exact shared-catalog reference or publish an interpretable custom canonical declaration. - Product channels declared. For each connected third-party sales agent it
counts the products that declare no AdCP channels: neither the product’s own
channelsnorapplies_to_channelson any format option. Buyers filter discovery, route proposal requests and report delivery by channel, so a product without one is missing from channel-filtered discovery and its delivery reports with no channel. A format type on its own, such as a video or audio format, does not count. The check is a warning and never blocks the storefront. Ask the agent’s developer to addchannels(for exampledisplay,olv,ctvorstreaming_audio) to each product it names. Whether channels become required is for AdCP to decide (adcontextprotocol/adcp#7869).
get_products call succeeds, and that call is
direct evidence the source responded. Planning continues from a clearly labeled
last-known capability document. When none is available, the probe failure is
reported separately instead of treating missing metadata as proof the source is
unreachable.
Request signing
The source’s capabilities show Request signing, read from therequest_signing block in your agent’s last get_adcp_capabilities response.
It lists each category your agent declares: the operations it requires signed
(required_for), the ones it checks without rejecting unsigned calls
(warn_for) and the ones it verifies when a signature is present
(supported_for), with the matching protocol_methods_* names. An operation
listed in more than one category appears only in the strictest, following
AdCP’s precedence. When the agent states a covers_content_digest policy, the
row also shows whether signatures must, must not or may cover the request body.
If the agent declares no signing, the row says so.
Request signing is not a credential and has no setting on the source. Apostra
signs the operations your agent lists. See
Verifying our signed requests
for the keys and the identity to trust. After you change the declaration, run
refresh_inventory_source_health with scope: "capabilities" so the read shows
it.
Other evidence in the read
Buyer exclusion-list impact
discoveryParticipation reports a bounded account of products removed from
anonymous buyer discoveries because one of the product’s properties matched the
buyer’s exclusion list. advertiserPropertyExcludedProductCount is the number
of products removed in the window, and
advertiserPropertyExclusionRequestCount is the number of affected requests.
advertiserPropertyExcludedProducts lists up to 25 recent product ids, names and
matching domains. advertiserPropertyExclusionDataAvailable is false when
this projection cannot be read, so treat the counts as unavailable, not zero.
This evidence is kept for 31 days, which covers the maximum 30-day window, and
goes away at once when its inventory source is deleted. It is diagnostic, not a
routing or eligibility decision. It does not reveal the buyer or advertiser,
other entries in the buyer’s list or other sellers’ products. The matching
domains are only the overlap with this source’s own product properties.
demandImpact.buyerRequestsAffectedByAdvertiserPropertyExclusions repeats the
affected-request count.
Canonical reporting evidence
reporting is an independent projection of the canonical reporting ledger for
this exact source. It does not derive reporting health from generic source
activity or copy one source’s result onto its Agent.
availabilitysays whether canonical reporting evidence is supported or unsupported, and isnullwhen none was observed.healthiswaiting,healthy,delayed,action_requiredorcomplete.sourceProvenance: acquiredappears only when an immutable acquisition plan proves the source attribution.nullmeans that proof was not observed, not that the Agent lacks reporting capability.obligationscarries period, expected time, required finality, coverage, missing-first-report state, issue ownership and latest revision evidence.lastSuccessfulRevision,dataThrough,nextExpectedAtandfreshnessdescribe the most recent usable reporting state.- Truncation flags mark bounded obligation and related-media-buy collections. A response over the obligation-row limit returns nullable aggregate reporting state instead of projecting health from partial evidence.
Local synthetic demo sources
A code-owneddemo-* source under your storefront’s active, unexpired Demo
lease uses local synthetic verification. Seller Setup reports all nine required
source steps ready, and the diagnostics label it Local synthetic. No vendor
endpoint, credentials, protocol trace, capability refresh or live source test
exists for it. The classification is read-only: it does not create, extend or
reactivate a Demo lease, change capabilities or publish synthetic inventory. A
missing or expired lease, a different tenant, or a source without a demo-*
recipe uses the ordinary live-source model.
Run a check
Two checks answer most questions, and both arerefresh_inventory_source_health
with the sourceId. See Refresh a source’s health
and Run one check on a source
for the checks, outcomes and scope values.
The discovery test (the Page’s Run discovery test) calls the selected
external sales agent’s get_products with a read-only brief. It creates no
media buy, spends nothing and does not test reporting or webhooks. Its outcome,
product count, step and debug identifiers are recorded as a durable source test
run. A discovery test never starts or counts toward certification.
If your agent’s get_adcp_capabilities declares account.required_for_products
with buyer-declared accounts (require_operator_auth: false), the test buys as a
test persona shaped like real demand: the brand acmeoutdoor.example, the
agency pinnacle-agency.example as operator, and Apostra as the agent. It first
calls sync_accounts for that account, using a billing mode from your
supported_billing, then sends the account with get_products. If
sync_accounts itself fails, for example by timing out, the test still sends
the account so the result reflects your agent’s own get_products answer, and
the result says the registration failed.
The test is marked as test traffic the way AdCP marks it: sandbox: true on the
account, when your capabilities declare account.sandbox: true. AdCP has no
request-level test marker, so if your agent does not support sandbox accounts,
the test uses a live account and its result says so. Either way it sends only a
no-spend get_products. If your agent assigns its own account ids
(require_operator_auth: true), the test sends no account and reports that one
is required, because it has no operator credential to use. Live buyer requests
always carry the buyer’s own brand and the operator acting for it.
A validation window with no qualifying calls reads untested, not failed. For
certification, see Certification.
If your sales agent later starts requiring a credential, add one to the same
source without creating a new one, in Source settings on the
Source diagnostics Page. Credentials are
entered only there, never as tool arguments. See
Connecting an ad server for why.
When no buyer demand shows up
An all-zerodiscoveryParticipation does not prove that no buyer demand
existed, and does not prove the storefront was absent from every candidate set.
It means diagnostics observed no source call or source-test skip in that
window.
Buyer discovery selects storefronts, not the private inventory
sources behind them. For an ordinary buyer, an unfiltered request can include a
storefront when it is listed on Apostra, not paused or archived, and able to
settle in a supported currency. A seller-sponsored buyer is confined to its
sponsoring storefront. After a storefront is selected, Apostra can still finish
its call without contacting a source: a blocked transaction-readiness check, an
unsupported requested currency, an account-scoping rejection, a request that
needs clarification, or a storefront that serves a cached or composed catalog.
Only a source-attributed get_products exchange proves the source was called.
Two setup fields are often misread as routing gates:
- Empty storefront-card
regionsorchannelsdo not by themselves remove a storefront from fan-out. Requested-channel prefiltering uses the agent’s advertised channel capabilities, and unknown coverage stays eligible. Country constraints are passed in the brief for the storefront or source to evaluate. linkedStorefronton an inventory source is kept for compatibility and is alwaysnull. It does not attach anAGENTsource to its storefront and is not a routing requirement.
guidance object is the canonical
explanation: why it failed, where it stops the buyer path, the exact fix,
implicated sources and typed evidence. Apostra support can correlate a
storefront’s buyer-path records with source activity when you need to know
whether it took part in one request.
What this does not answer yet
The diagnostics show source state, latency percentiles, timeout counts and source-level skipped or excluded evidence for the window. For missed product opportunities, lost buyer demand, revenue impact or longer-term trends, no read returns that exact rollup today. CombinesourceHealth, get_status and your
own agent’s logs, and ask Apostra support for the rest.
Empty catalog from a version mismatch (VERSION_UNSUPPORTED)
If a source’s products vanish from your catalog and its failing call carries a
VERSION_UNSUPPORTED error, for example AdCP version '3.1' is not supported. Supported: ['3.0', ...], the source’s AdCP server is rejecting the protocol
version Apostra pins instead of serving a compatible one.
This is almost always a source-side issue. Under 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.
Apostra does not retry component warming at 3.0 and does not reinterpret a 3.0
response as a component catalog. A 3.0-only source may still answer live buyer
briefs through the pass-through path, but its components stay absent until the
source’s developer upgrades the server. Share the source
name and the sanitized VERSION_UNSUPPORTED payload with them, and point them
at AdCP versioning and 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 source is
ACTIVE. - Confirm credentials are configured if the source requires them.
- Confirm the source advertises the capability you need, especially
get_productsfor product discovery. - Read
sourceHealthfor the latest error, success and check times. - Run
refresh_inventory_source_healthand read the outcome of each check. - Call
get_statusfor blockers that stop work before a request reaches any source. - If the failure is still unclear, share the source name, the operation id from
sourceHealth.operations, the time and the finding’s summary with your Agent’s developer or Apostra support.
Related
Source diagnostics Page
The same evidence for a person, and the checks you can run
Troubleshoot source problems
What each finding means and how to fix it
Reading your setup checklist
Setup, go-live state and source-health diagnoses in one call
Errors
The shared Apostra error contract