Dry-run one action through this store’s own gates against its real state, and keep nothing. Answers what each gate would
Changed onDry-run one action through this store’s own gates against its real state, and keep nothing. Answers what each gate would decide — store_rail (the merchant’s rules), policy (kill switch, dry-run, automation, rate limits, credit budget), ownership (who holds field) and the ad-spend and money-out ceilings (via spend or money_out) — as allow, clamp, review, deny, not_evaluated or unavailable, with the refusals and clamps collected; would_run is the field to branch on. mode and autonomy default to the store’s Brain plan and may be set to ask a what-if. Nothing is executed, queued or recorded: the run is one database transaction that is always rolled back, and a run that cannot prove it kept nothing answers simulation_unverified instead of a verdict. field, spend and money_out are asked for the connected app, so a call without one is refused app_required.
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopesautomation:read
Request body
e.g. ads_google, pricing, feed.
The verb, e.g. adjust_budget.
What the store's rules match on (e.g. discount_pct, budget_change_pct).
The field this action writes. Ownership is asked for the calling app.
A store-wide daily ad spend to check against the ad-spend ceilings.
Money leaving the store (a refund, a credit) to check against the refund ceilings.
Response
Tool result
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning