{"version":"2.1.283","anchor":"files-api-upload-can-send-expires-in-seconds","canonical_anchor":"files-api-upload-can-send-expires-in-seconds","heading":"File uploads can ask the server to expire the file later","tier":"internal","area":"Elsewhere","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283\/e\/files-api-upload-can-send-expires-in-seconds","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283","markdown":"### File uploads can ask the server to expire the file later\n\nUploads to the Files API can now include an expiry time when one is given\n\n**Unclear.** Nothing in Claude Code appears to pass an expiry to this upload yet, so it may not be used.\n\n**What**\n\nWhen Claude Code uploads a file to Anthropic's Files API and an expiry is given, the upload now includes an `expires_in_seconds` field.\n\n**Why**\n\nThis would let uploaded files be deleted on the server after a set time.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5"}