Repository Public
1# Abuse monitoring23Google is committed to the responsible development and use of AI. To ensure the4safety and integrity of the Gemini API, we have created these policy guidelines.5By using the Gemini API, you agree to the following guidelines, the [Gemini API6Additional Terms of Service](https://ai.google.dev/gemini-api/terms) and Generative AI [Prohibited7Use Policy](https://policies.google.com/terms/generative-ai/use-policy).89## How We Monitor for Misuse1011Google's Trust and Safety Team employs a combination of automated and manual12processes to detect potential misuse of the Gemini API and Google AI Studio13in order to enforce our policies.1415- **Automated Detection:** Automated systems scan API usage for violations of our Prohibited Use Policy, such as hate speech, harassment, sexually explicit content, and dangerous content.16- **Manual Detection:** If a project consistently exhibits suspicious activity, it may be flagged for manual review by authorized Google personnel.1718## How We Handle Data1920Google retains the following data for fifty-five21(55) days for the purposes of detecting and preventing violations of the22Prohibited Use Policy to maintain the safety and security of the Services, and23any required legal or regulatory disclosures:2425- **Prompts:** The text prompts you submit to the API.26- **Contextual Information:** Any additional context you provide with your prompts.27- **Output:** The responses generated by the Gemini API.2829## How We Investigate Potential Issues3031When prompts or model outputs are flagged by safety filters and abuse detection32systems described above, authorized Google employees may assess the flagged33content, and either confirm or correct the classification or determination based34on predefined guidelines and policies. Data can be accessed for human review35only by authorized Google employees via an internal governance assessment and36review management platform. When data is logged for abuse monitoring, it is used37solely for the purpose of policy enforcement and preventing policy violations.38It is not used to train or fine-tune any AI/ML models besides those used39specifically for policy enforcement.4041## Working with You on Policy Compliance4243If your use of Gemini doesn't align with our policies, we may take the following44steps:4546- **Get in touch:** We may reach out to you through email to understand your use case and explore ways to bring your usage into compliance.47- **Temporary usage limits:** We may limit your access to the Gemini API by adjusting rate limits or changing which model answers a specific request, for example.48- **Temporary suspension:** We may temporarily pause your access to the Gemini API.49- **Account closure:** As a last resort, and for serious violations, we may permanently close your access to the Gemini API and other Google services.5051If we reach out to you regarding a suspension or account closure, we will also52provide a link where you can appeal.5354## Scope5556These policy guidelines apply to the use of the Gemini API and AI Studio.