get and search and
kind: "decision".
Only your account can read its decisions. A buyer never sees them.
Decisions are part of the seller beta feature profile. An account that is not on
the beta is refused with
FEATURE_NOT_ENABLED. Decisions are recorded from the
release that added this read; answers your agent gave before it are not on the
record.What a decision records
Today every decision is Apostra’s storefront agent answering a buyer, so
brain
is { kind: "chef", agentId: null }, shadow is false and target is null.
To see the full exchange behind an answer, read its Session with
get({ kind: "session", id: sessionId }).
A brief whose every proposal a platform check held back is a propose decision
with status: "blocked". Today the checks are buyer_price_ceiling_unsatisfied
(nothing could meet the buyer’s maximum CPM) and age_targeting_unavailable
(nothing could meet the age targeting the buyer asked for).
One answer to a buyer is one decision, even when it carries several proposals.
Read one decision
include: ["reasoning"]addsreasoning:{ text }with the rationale Apostra’s storefront agent gave for its answer, ornullwhen it gave none. Foraccept_termsit is the rationale of the answer that proposed those terms. It is alwaysnullfor your own model, which owes Apostra no reasons.include: ["reads"]addsreads: what the agent read to reach the decision, at most 10 reads, each{ tool, returned: [{ id, version }] }. Reads appear once read tracing ships; until then the list is empty.
id is refused with NOT_FOUND.
List decisions
nextCursor; pass it back as cursor with the same filter for the next
page. Decision search takes no query. Narrow it with filter:
Search results leave out
reads and reasoning; read one decision with get
for those.
Who may read decisions
- People with read access on your whole seller account, signed in or with their own API key.
- Your own agents with account-wide read: your account’s API key, an organization key or a registered agent.
- Scope3 staff and Apostra’s own test suites, and only with your account named as the customer on the call.
ACCESS_DENIED: a Buyer account, a buyer’s
agent, a person or credential limited to some advertisers, and the short-lived
read tokens Apostra gives an agent while it answers
one buyer, so an agent answering one buyer never sees your decisions about
another. Decisions made in the simulator and the benchmark are never listed.