Files API
A file management API provided by Anthropic for Claude that supports uploading, listing, and expiration management of file resources for reference by the model in conversations or skills.
Timeline (last 90 days)
The enforcement scope of the IP allowlist covers four API surfaces: the Messages API, Batches API, Files API, and Admin API.
The Files API and Skills API required specific beta request headers during the beta stage, which are no longer needed after GA.
After GA, file expiration can be set to a maximum of 90 days, whereas the expiration policy during beta may have been shorter.
The pagination mechanism has switched from the previous pagination approach to cursor-based pagination.
If the code still enables the beta features of Files or Skills via the anthropic-beta header, requests may be rejected due to unknown header fields or behave inconsistently with expectations.
The migration steps include: upgrading to an SDK version that includes GA support; removing the beta header configuration related to Files/Skills; adjusting the expiration time in file creation calls to a maximum of 90 days; changing the pagination parameters of list calls to cursors; running type checks and fixing errors; and finally verifying the file upload, list, and skill invocation flows in a test environment.
The response format when the Files API triggers rate limiting is typically HTTP 429 with a Retry-After header.
Anthropic announced that Computer Use, Skills API, and Files API have officially reached General Availability (GA), with the Beta header removed.
All Facts (8)
The enforcement scope of the IP allowlist covers four API surfaces: the Messages API, Batches API, Files API, and Admin API.
50%UnverifiedThe Files API and Skills API required specific beta request headers during the beta stage, which are no longer needed after GA.
50%UnverifiedAfter GA, file expiration can be set to a maximum of 90 days, whereas the expiration policy during beta may have been shorter.
50%UnverifiedThe pagination mechanism has switched from the previous pagination approach to cursor-based pagination.
50%UnverifiedThe migration steps include: upgrading to an SDK version that includes GA support; removing the beta header configuration related to Files/Skills; adjusting the expiration time in file creation calls to a maximum of 90 days; changing the pagination parameters of list calls to cursors; running type checks and fixing errors; and finally verifying the file upload, list, and skill invocation flows in a test environment.
50%UnverifiedThe response format when the Files API triggers rate limiting is typically HTTP 429 with a Retry-After header.
50%UnverifiedIf the code still enables the beta features of Files or Skills via the anthropic-beta header, requests may be rejected due to unknown header fields or behave inconsistently with expectations.
50%UnverifiedAnthropic announced that Computer Use, Skills API, and Files API have officially reached General Availability (GA), with the Beta header removed.
50%