Privacy and data retention
Zero retention: in Projects, open Settings, then Routing, and turn on Don't store prompts and responses. It applies to requests made with that project's keys and to Studio when that project is selected.
| Type | With zero retention on |
|---|---|
| Text and embeddings | Prompts and answers are not stored. Only providers that keep no data serve the request. Identical answers are not cached. |
| Images | Returned in the response. A copy is kept for one download only (up to 60 minutes, then deleted), with no prompt. Studio does not add them to Recent images. With response_format=url the API returns a one-time link on our servers, never a provider link. |
| Video | The prompt is not stored. The file is deleted after your first download, or 60 minutes after it finishes, whichever is first. Videos are not listed in history. |
| Audio | Speech is returned in the response and a copy is kept for one download only (up to 60 minutes), with no text. Transcription files are not kept. Nothing is added to history. |
| Files and batches | The input copy is removed when the batch completes. Output and error files are removed 24 hours after the batch ends. |
Video is asynchronous, so the file must stay until you fetch it. It is deleted right after the first download of GET /v1/videos/{id}/content, or after the media window (60 minutes by default) once the job has finished.
Media retention: each project sets how long generated images, videos and speech are kept on our servers: 1 hour, 1 day, 3 days or 7 days (the default is 1 day), or 0 for not kept. Set it in Projects, Settings, Routing, Media retention, or with PATCH /projects/{id} and mediaRetentionHours (1, 24, 72, 168, or 0). After that time the file is deleted. A shorter setting also applies to items already saved; a longer one applies to new items only. API video objects return expires_at (Unix seconds). Studio uses the selected project, or the default when none is selected.
| Setting | What happens |
|---|---|
| Not kept (0) | Nothing is stored in history and no prompt is kept. Images and speech come back in the response. A one-time download link works once, for up to 60 minutes, then the file is deleted. Same for zero-retention projects. |
| 1 hour | The file stays on our servers for one hour. |
| 1 day (default) | Used when a project has no setting. |
| 3 days | The file stays for three days. |
| 7 days (maximum) | The longest a file is kept. |
| After the file expires | The timeline keeps the record (model, cost, time, status, and the prompt unless zero retention is on) for 90 more days and shows "File expired". Billing and usage totals are not affected. |
Downloads are your own copy and are never deleted by us. Billing and usage records (tokens, cost, time) are kept whatever you choose. Prompts follow the zero-retention switch, not the media setting. Storage is free for now; the stored size per team is reported by GET /playground/media-usage.
One-time files (zero retention, or a media retention of 0): POST /v1/images/generations returns the image inline by default. With response_format=url the item is { "url": "https://.../v1/images/one-time/{id}" }, a link on our servers that needs your API key, works once and expires after the media window (60 minutes by default), then answers 410. It is never a provider link.
Browser copy: Studio can also keep a copy of each image, video and speech you generate in this browser (IndexedDB) so it stays available after the server file expires. It is on by default, per user, can be switched off in the Studio panel How your files are kept, and is limited to 500 MB (oldest copies are removed first). Copies never leave your device and are not available in other browsers. It works with zero retention too, because the copy lives on your own device.