Scenario
Your agent receives a customer email mentioning a company you don’t know much about. You need firmographics and recent priorities to write an informed response — and you want to cite where the information came from.Pattern
Three calls:/validate— confirm the company exists in BETA, get the canonical entity key./enrich— pull firmographics + headline insight + sources used.- Render with citations — surface
meta.sources[]andsources_citedcount to your reader.
Implementation
Why this pattern
/validatefirst filters unknown / ambiguous inputs before paying for/enrich. Avoids 404s and saves a billable call.include: ['intelligence']pulls the synthesized SWOT + priorities + competitors, not just firmographics.- Returning
sources_used+article_countmakes the response auditable. Surface this in your UI.
What to do with confidence
See Citation Contract → Drop-in patterns for the full trust pattern.