Check an agent's actions against its owner's limits
check_bookDeterministic rule checks of any agent's actions against the limits its owner wrote, the same as POST /v1/check. Send a trading book (snapshot and rulebook, optionally broker and journal) or an actions list with limits (per-transaction and daily spend caps, merchant allow and deny lists, refundability), or, BEFORE booking or subscribing, one offer with limits (Fine-Print Check: total price cap, mandatory fees over the headline price, refundability, free-cancellation window, auto-renewal, renewal price, trial length, and an optional page_text consistency scan; each rule answers MATCH, WARN, STOP or NOT_CHECKED with the figure found). Send plain text you already have. Do not send a URL; booklint will not fetch one. Returns verdict (FLAGGED, CLEAN, NOT_VERIFIED, REFUSED), coverage and flags. Each rule reports passed, failed or not checked; missing data is not checked, never assumed, and a result with zero flags is not a pass. Pass sample=true (sample 1, trading), sample="spend" (sample 2, purchasing and booking), sample="booking" (sample 3) or sample="subscription" (sample 4) with no key, never counted against the free caps, to see a full result. Without api_key the keyless free plan and its daily cap apply. Not advice; nothing is executed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | The current UTC time (ISO 8601). Time rules use it; the server clock is never used. | |
| offer | No | One offer, as structured fields your agent extracted: merchant, currency, headline_price, line_items [{label, amount, mandatory}], refund {refundable, free_cancel_until}, subscription {auto_renews, renewal_price, renewal_interval, trial_ends}. Send with limits. | |
| broker | No | Optional broker export (desk checks). | |
| limits | No | The owner's limits: a rulebook (version, declared, rules). | |
| sample | No | true runs sample 1 (trading); "spend", "booking" or "subscription" runs sample 2, 3 or 4 instead. | |
| actions | No | An agent's actions: each {id, time (ISO 8601; days are UTC), amount, currency, merchant, refundable, kind}. Send with limits. | |
| api_key | No | Optional key (vdk_...). Same as the Bearer header. | |
| journal | No | Optional journal of claims (desk checks). | |
| rulebook | No | The agent's own rules. | |
| snapshot | No | The book: positions, cash, as_of (ISO 8601). | |
| page_text | No | Optional plain text copied from the offer page, at most 64 KB. Scanned for amounts and refund or renewal phrases. Send plain text you already have. Do not send a URL; booklint will not fetch one. |