Skip to content

Proof of search

Selecting a search mode expresses intent. It does not by itself prove that a provider executed search. OpenSenpai records requested and observed search behavior and validates evidence where supported by the adapter.

result.search_activity includes requested, observed, and engine. Observed activity can be executed, not_observed, or unknown. Read it together with the observation status, error, warnings, requested and returned models, and serving provider.

Citations, retrieved sources, and extracted URLs remain useful evidence, but they are not interchangeable proof of execution. An answer can contain a plausible URL without a provider search call. See mentions and citations for the separate evidence types.

For the OpenRouter adapter, supported native-search requests undergo capability checks before paid generation. The serving endpoint is pinned, and unsupported or unknown capability information is rejected. The adapter checks execution counters and matching model, provider, and engine evidence from response metadata or generation analytics.

Contradictory evidence fails verification. Missing analytics alone does not invalidate complete proof already present in the response; missing proof or a substituted engine still fails. This validation depends on upstream evidence and cannot guarantee that the provider’s metadata perfectly describes its execution.

Retrieve the observation with include_raw=true. Preserve the error, any captured output, response metadata, and usage. A verification failure can happen after an upstream request incurred cost. Do not describe the result as a successful searched answer, and do not assume failure means zero charge.

Do not immediately submit replacement paid work. Inspect the durable state first, especially an unknown_outcome, and decide deliberately whether another experiment is needed. Reusing the original idempotency key with identical input recovers the same run rather than creating a fresh attempt.

Your report should identify whether search was requested, whether execution was observed, and any failed or unknown verification. That gives readers enough evidence to assess the limits of the conclusion.