Per-Request Provider Filtering — only, ignore, ZDR
2026-03-23
What We Built
Per-request provider filtering via provider field in the completions request body:
provider.only: ["anthropic"]— only use listed providersprovider.ignore: ["deepseek"]— exclude listed providersprovider.zdr: true— zero data retention mode (Anthropic, Azure only)- Mutual exclusion validation, unknown provider detection with suggestions
- ZDR response header:
X-BR-ZDR: true
Lockstep Checklist
- [x] API: Provider filter parsing + validation
- [x] SDK-TS:
ProviderFiltertype exported - [x] Tests: 13 tests for validation, filtering, ZDR, provider lists
- [x] Docs: Ship log