Anthropic Capability major

Files API goes generally available on the Claude API

The Files API no longer requires the files-api-2025-04-14 beta header. Requests sent without it receive the GA response format, which adds file expiration and cursor pagination; requests that still send the header keep the previous format.

What does this mean for me?

Plan for it
  • Engineering leadership

    Cost, risk, timeline, team impact Plan for it

    Files API is GA. Schedule the header removal deliberately: dropping `files-api-2025-04-14` changes the response format, so it is a code change, not a cleanup. Upside is TTLs of up to 90 days for automatic file cleanup.

  • Engineer

    What to change, what breaks, what to test Plan for it

    Keeping `anthropic-beta: files-api-2025-04-14` preserves today's format. When you remove it, handle the GA shape: `expires_at` on every file object, `expires_in_seconds` on upload (3,600–7,776,000), and cursor pagination via `page`/`next_page` plus an `ids[]` filter of up to 100 IDs.

  • General consumer

    Using the Claude apps, not the API No impact

    Nothing to do — this is an API change and does not affect file uploads in the Claude apps.

The Files API is generally available. Requests to the /v1/files endpoints, and Messages API requests that reference an uploaded file, no longer need the anthropic-beta: files-api-2025-04-14 header.

The header now selects a response format rather than access. A request sent without it gets the GA behaviour: uploads accept an expires_in_seconds form field (an integer from 3,600 seconds to 7,776,000 seconds, that is 1 hour to 90 days), every file object reports an expires_at timestamp that is null for files uploaded without expiry, and listing files is paginated with page and next_page and accepts an ids[] filter of up to 100 file IDs. Requests to /v1/files that still send the beta header keep working and return the previous response format.

The consequence for existing code is that removing the header is not a no-op: list responses change shape. Code that parses the beta list format should be updated in the same change that drops the header.

API surface

ParameterChangeBreakingModels
expires_in_secondsaddedno
expires_ataddedno
pageaddedno
ids[]addedno

Sources

Confidence
high
Verification
Verified: stated on the vendor's own pages
Date precision
exact
How this entry was made
Drafted by an agent, reviewed by a person