Documentation Index
Fetch the complete documentation index at: https://langwatch.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Pairs with: AI Gateway → Anthropic provider. Direct Anthropic API traffic flows through the gateway data plane; Anthropic Enterprise Compliance API exports are a separate bulk feed routed through this ingestion source.
claude_compliance polls Anthropic’s compliance API with a workspace API key. Today the source can be created and the workspace API key is persisted server-side, but the cron worker that calls Anthropic hasn’t shipped, events do not flow yet.
This page documents the configuration contract so admins can pre-stage workspace keys; the matching adapter is on the roadmap.
Currently implemented
- CRUD: the source can be created via the admin composer at
/settings/governance/ingestion-sourcesand viaapi.ingestionSources.create. It will appear inlangwatch ingest listwith statusawaiting_first_event. - Receiver: none. There is no
/api/ingest/claude-compliance/:idendpoint and the OTLP, webhook receivers rejectclaude_compliancesources with400 wrong_endpoint. - Poller: none.
- Normaliser: none.
- Status flip: the source will stay
awaiting_first_eventindefinitely until the poller ships.
What the admin configures upstream
The composer collects:| Field | Required | Stored | Used by |
|---|---|---|---|
| Workspace API key | yes | IngestionSource.payloadConfig.workspaceApiKey (hashed server-side) | (future poller) |
| Polling cadence (seconds) | no | payloadConfig.pollEverySec (default 300) | (future poller) |
What event shape we accept today
None, no events flow until the poller ships.What is still envelope-only, follow-up work
- Compliance API poller worker. A cron job that authenticates with the workspace API key, calls Anthropic’s compliance feed (
/v1/compliance/...), and walks the response for new events since the last watermark. - Compliance event → governance event mapping. Anthropic’s compliance feed has its own JSON schema (organisation ID, workspace ID, model, message metadata, content classification). Mapping into Actor, Action, Target is pending and will live in a
claude-compliance.tsnormaliser. - Watermark + dedup. The poller will track the last seen event timestamp, cursor in
IngestionSource.payloadConfig.watermarkto avoid replays.