Back
AI summary
Written by AI from the official notes. Check them for exact details.The Files API now allows users to set expiration policies for uploaded files.
- Set expiration using
expires_afterorexpires_attimestamp. - Expired files are automatically deleted.
- Refer to Files API docs for more details.
Why it matters: Users managing file uploads should implement expiration policies to optimize storage.
Full release notes
You can now set an expiration policy on uploaded files using expires_after or an explicit expires_at timestamp. Expired files are automatically deleted. For more details, see the Files API docs.