> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ttapi.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How long does TTAPI store files? Where are they stored? Is persistence supported?

> Understand TTAPI's file storage mechanism, including storage locations, retention periods, persistence, and best practices for managing your content.

## Storage & Persistence

TTAPI provides temporary storage for generated content. Files' expiration times vary depending on the storage node where they are located.

### Expiration Time Table

| Storage Domain (Host) | Expiration | Description |
| :- | :- | :- |
| `https://cdn.ttapi.io`<br />`https://cdn1.ttapi.io` | 15-30 days | TTAPI's native storage service |
| `https://cloudflarer2.ttapi.io` | 3 days | Cloudflare R2 storage node |
| `https://cdn2.suno.ai`<br />`https://delivery.eu2.bfl.ai`<br />... | Sync with official | Original provider's CDN, follows their official retention policy |

### Usage Recommendations

As the platform provides temporary relay storage, please keep the following in mind to ensure your business stability:

* **Timely Persistence**: We recommend downloading and uploading files to your own cloud storage (e.g., Aliyun OSS, AWS S3) as soon as you receive the results.
* **Avoid Direct Linking**: Do not use the platform's temporary file URLs as long-term access links in your production environment.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.