Check Draft Placement, Overlap and Claims
Find places to answer related questions, review passages that may need edits, and check claims against approved facts.
Find a place to answer a question
Use query_fanout_coverage to see which related questions have an answer, partial coverage, or a gap. A placement suggestion identifies an eligible page and heading where you can add an answer or internal link. If no destination qualifies, read the reason before deciding where to make an edit.
Review merge and trim advice
Use passage_overlap to review passages that may need merging or trimming. Read the cited passages and their source locations before deciding which edits to make. Apply any edits in your own publishing workflow.
Check a claim
Use verify_answer_claims to check whether approved facts support or contradict a claim. Review the referenced fact when the result includes one. Treat insufficient evidence as an unresolved claim.
Estimate, start and read
Use an Optimizer account and a key with access to the brand. The key needs analytics:read. To read the job, also grant collections:read. To request an estimate or start a run, use an editor, owner, or service role.
- Request a credit estimate with
POST /v2/runsandestimateset totrue. Keep the estimate ID and check when it expires. The estimate creates no run. - Start the same workflow with
POST /v2/runs. Use the same inputs, the estimate ID, your credit cap inmax_units, and anIdempotency-Keyheader. When you retry, send the same key and request body. - Follow the returned
data.poll_urlwithGET /v2/runs/{run_id}. Readdata.statebefore using the result. For paginated results, sendmeta.next_cursorascursoron the next read.
Estimates and result reads use zero credits. Delivered results can use credits up to the accepted estimate and your cap.
For passage_overlap, also grant optimizations:read and audits:read.