OPTINROUTER / DEVELOPER DOCS

Tracing, provenance & insight

Connect the request, controls, inference and action graph without treating private content as telemetry.

Contract preview · Production API access is closed. All /v1 endpoints currently return 401.Install CLI
01

Trace event example

Trace IDs and parent event links correlate stages. Reports expose the effective policy, allowed route reasons, processing boundary evidence and usage. This event shape deliberately omits prompt and response bodies.

json
{
  "event_id": "evt_example",
  "parent_event_id": null,
  "trace_id": "trace_example",
  "request_id": "req_example",
  "policy_ref": "pol_engineering@3",
  "stage": "input",
  "outcome": "allowed",
  "location": "customer_server",
  "region": "eu",
  "region_evidence": "verified",
  "duration_ms": 12,
  "content_retained": false
}
02

What the workspace should explain

Show the model/provider selected, why candidates were excluded, the applied policy and grammar revisions, stage outcomes, branch status, latency and token/cost reconciliation. Display missing evidence instead of filling gaps with guesses.

03

Origin and integrity

Record actor/device assurance, permitted transformation lineage and signed or hash-linked events. Use domain-separated keyed digests where content fingerprints are permitted. Provenance can support integrity and origin claims; it does not prove correctness, human authorship or legal ownership.

04

Reports and retention

Tenant-scoped report APIs export redacted usage, provenance and sovereignty evidence with explicit coverage and uncertainty. Metadata has its own retention policy. Content retention requires separate authorization and never enrolls enterprise data into sale or discount exchange.

Contracts & examples

Download the preview, validate its shape locally and review the capability limits before planning an integration.

OpenAPI preview

OptinRouter AI guide

Product and developer guidance.

A good place to start

What would you
like to know?

Ask about public APIs, policies, grammars, context actions or the product. This guide uses approved information and can’t reveal private details or take actions.

Recent messages stay in this page’s memory. Reload or reset to clear them here.