Confirm business facts
confirm_factsConfirm the business facts a site's fixes are based on after showing them to the site owner and receiving their explicit confirmation or corrections. Prevents confirming facts on the owner's behalf.
Instructions
Confirm the business facts a site's fixes are written from, as the site's owner confirms them. Use this only after showing the owner the facts get_fix_facts or get_fix returned (the confirm block, with the business name) and getting their own confirmation or corrections: never confirm facts on the owner's behalf, and never without asking them. facts is the owner's answers, keyed by each fact's fact in the confirm block (the business name under "name"); seen is sent back exactly as it was handed out, unchanged, and the confirmation is refused without it. Returns status "confirmed" with the confirmed block and its new seen. When the site's facts changed since they were shown, nothing is confirmed (status "facts_changed", with the facts as they are now): read them again with get_fix_facts and show the owner before confirming. With status "facts_not_read" the site has not been read yet and there is nothing to confirm. Confirmations are capped over any 24 hours (TOO_MANY_CONFIRMATIONS, with retry_after). Requires a Website Auditor subscription ($49/month; eligible new customers get a 7-day free trial — payment method required, no charge until the trial ends) — if the user doesn't have one, call get_sample_audit first to show them the exact output format, free and with no API key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seen | Yes | Exactly the `seen` that came with the facts shown to the owner, unchanged. Without it, or with it changed, nothing is confirmed. | |
| facts | Yes | The owner's answers, keyed by each fact's `fact` in the confirm block (the business name under "name"). A fact left out or empty is not confirmed. | |
| domain | Yes | The website domain, e.g. "example.com". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seen | No | Present when confirmed: what the block shows now, for a later correction; null when the facts cannot be confirmed again now. | |
| domain | Yes | ||
| status | Yes | "confirmed"; "facts_changed": nothing confirmed, the site's facts changed since they were shown (`confirm` is the block as it is now); "facts_not_read": nothing confirmed, the site has not been read yet. | |
| confirm | No | The confirm block: each fact with what the site says and what the owner confirmed. | |
| message | Yes |