Files
openrouter-python-sdk-retry…/docs/models/datacollection.md
T
Matt Apperson 5fc522c72f Initial commit: OpenRouter Python SDK
Auto-generated Python SDK for OpenRouter API, providing comprehensive client library with:
- Chat completions and streaming support
- Embeddings API
- Model and provider information
- API key management
- Analytics and usage tracking
- OAuth authentication flows
- Full type hints and error handling
2025-11-13 10:56:25 -05:00

385 B

DataCollection

Data collection setting. If no available model provider meets the requirement, your request will return an error.

  • allow: (default) allow providers which store user data non-transiently and may train on it
  • deny: use only providers which do not collect user data.

Values

Name Value
DENY deny
ALLOW allow