You can check here, if your api have billing enable or tier 1. I think it is consider as paid services and your data will not be used as part of training the model.

https://ai.google.dev/gemini-api/docs/billing#paid-api-ai-studio

https://ai.google.dev/gemini-api/terms#paid-services