/assistant/previewExactly what an approval card’s change would do, from live data, by the same code that runs it after approval. Read-only; uses no AI.
collector.previewAssistantChange()assistant:useX-Request-Idobject
toolstringrequiredaddToCollection, addToWishlist, updateItems or requestHold.
at most 64 characters
inputanyrequiredThe tool call’s input, as the assistant proposed it.
200OKThe preview.
object
invalid_requestinvalid_jsoninvalid_tool
invalid_request: The query or body doesn’t match the schema (see errors[]).
invalid_json: The body isn’t JSON.
invalid_tool: Only proposed changes have previews.
unauthorized: Not signed in (no session or token, or an expired one).
payload_too_large: The body is over 1,048,576 bytes, this operation’s limit.
rate_limitedtemporarily_blocked
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
internal: Something went wrong on our side (quote the requestId).