> ## Documentation Index > Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt > Use this file to discover all available pages before exploring further. # 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. ## Example Usage ```go theme={null} import ( "github.com/OpenRouterTeam/go-sdk/models/components" ) value := components.DataCollectionDeny // Open enum: custom values can be created with a direct type cast custom := components.DataCollection("custom_value") ``` ## Values | Name | Value | | --------------------- | ----- | | `DataCollectionDeny` | deny | | `DataCollectionAllow` | allow |