zdr, data_collection) and provider-specific passthrough options
Fields
| Field | Type | Required | Description | Example |
|---|---|---|---|---|
DataCollection | optionalnullable.OptionalNullable[components.STTRequestDataCollection] | :heavy_minus_sign: | 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. | allow |
Options | *components.ProviderOptions | :heavy_minus_sign: | Provider-specific options keyed by provider slug. Only options for the matched provider are forwarded; the rest are ignored. Unrecognized keys are silently dropped. | { “openai”: { “max_tokens”: 1000 } } |
Zdr | optionalnullable.OptionalNullable[bool] | :heavy_minus_sign: | Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used. | true |