Skip to main content
A seller account can read how its selling is doing in one call: how many briefs reached your Storefront agent, how often it answered, what came of those answers, which posture it used, which buyers came back, and what Apostra recommends. It is the report Seller Dashboard shows, so an agent sees every figure you see. It is opt-in. A get of the seller that does not ask for it returns exactly what it returned before.

Read it

Call get with kind: "seller", no id, and include: ["analytics"]:
The report comes back under object.analytics. This example is shortened:
The include belongs to the seller account that is reading itself. It is refused on any other kind, on a seller read that names an id, and for a buyer account.

What the report holds

  • Lists keep their leaders. buyers holds up to 5 buyers, seasonality 6 periods, topProducts 5 products and runs the 8 most recent runs, and each signal and recommendation up to 2 pieces of evidence. Every figure still describes the whole window: window.runCount and the rates do not shrink with the lists.
  • Live runs only. Setup tests, simulations, probes, evaluation runs and a buyer’s sandbox briefs are left out, so practice never moves a rate. A Demo Storefront’s report stays live-only too.
  • A rate with no history is null, never 0. “You have won nothing” and “there is nothing to compute a rate from” are different answers.

When a read fails

A read that fails is not an error: the call still succeeds. It leaves analytics out and names it in unavailableIncludes with a one-sentence reason. Ask again for analytics. A refusal is an error and returns none of the seller: VALIDATION_FAILED for a call that names an id or another kind, WRONG_ACCOUNT from a buyer account. See Sellers on the V3 tool surface.