API inputs are stored by the external service by default
Source references: 2The examples do not set store=False, while the Skill states that interactions are stored for 55 days on the paid tier and one day on the free tier. Prompts, document content, and other context may therefore leave the local environment and be retained.
Source code, personal information, credentials, or confidential business material in an input becomes subject to the external service's processing and retention rules.
The Skill explicitly says interactions are stored by default and gives retention periods, while the quick-start request does not opt out. Prompts or context sent through such code may therefore be retained by the external service. The user can request store=False by default, noting that this disables interaction chaining and background tasks.
- **Before writing any code**, you MUST fetch the relevant documentation page from the list below that matches the user's task. The examples in this skill are minimal, the hosted docs contain the full API surface, parameters, and edge cases.- Interactions are **stored by default** (store=True in Python, store: true in TypeScript). Paid tier retains for 55 days, free tier for 1 day.- Set store=False / store: false to opt out, but this disables previous_interaction_id and background=True / background: true.- `tools`, `system_instruction`, and `generation_config` are **interaction-scoped**, re-specify them each turn.Show 1 other places
interaction = client.interactions.create( model="gemini-3.8-flash", input="Tell me a short joke about programming.")print(interaction.output_text)