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 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.
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 Files API and Skills API required specific beta request headers during the beta stage, which are no longer needed after GA.
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.
DeepSeek上线了免费的Files API,图片只需上传一次即可通过File ID重复引用
All Facts (8)
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.
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 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%UnverifiedDeepSeek上线了免费的Files API,图片只需上传一次即可通过File ID重复引用
50%