Skip to main content
Attach a grounding block to a Yes/No, Choice, Scale, or Tags request to let Sage fetch fresh web evidence before deciding. Useful for recency- or fact-heavy questions.

Request

{
  "content": "Has there been a major Cloudflare incident this month?",
  "question": {"id": "incident", "kind": "yesno", "instructions": "Is this likely true?"},
  "grounding": {"trigger": "low_confidence", "confidence_floor": 0.8}
}

Options

FieldDescription
triggernever, low_confidence (default), or always
confidence_floorFor yes/no, default 0.80 requires roughly p ≤ 0.10 or p ≥ 0.90 to skip search

Response

The response gains grounding_meta with triggered, queries, sources, and timing.
Grounding requires the server to be configured for it. If it is not, omit the block.
For Tags, low_confidence triggers when any tag’s confidence is below the floor (weakest-link); Sage then re-scores all tags on the expanded content.

Pricing

When Sage actually runs a search (grounding_meta.triggered is true), that decision costs an extra cent on top of the usual per-decision price. No search, no surcharge. See Pricing for the full breakdown.

Batch placement

On /decide, grounding is a top-level field. On /decide/batch, there is no group-level grounding — each question in a group’s questions list carries its own optional grounding block (sort questions still reject it).