---
title: "创建文件（Create a File）-Claude 文件（Files）-API黄页 | 万维易源"
canonical_url: "https://www.showapi.com/playground/anthropic/claude/claude-files"
last_updated: "2026-09-02T20:13:32.645Z"
meta:
  description: "通过Anthropic-Claude的Files API上传和管理文件，简化API请求流程，提升效率，无需重复上传内容。"
  keywords: "Anthropic API文件上传，Claude文件管理，API文件存储，Anthropic文件API，Claude文件上传"
  "og:description": "通过Anthropic-Claude的Files API上传和管理文件，简化API请求流程，提升效率，无需重复上传内容。"
  "og:title": "创建文件（Create a File）-Claude 文件（Files）-API黄页"
---

*

*

*

# **Claude 文件（Files）**

[Anthropic-Claude](https://www.showapi.com/playground/anthropic/claude) [** 产品首页](https://docs.anthropic.com/zh-CN/docs/build-with-claude/files) [**API文档](https://docs.anthropic.com/zh-CN/docs/build-with-claude/files) [**应用示例](https://www.showapi.com/aiapp/anthropic/claude/claude-files.html)

**2420

2025-06-16更新

**109 [提交收录](https://www.showapi.com/island/feedback-page?submitrequire=true) [反馈问题](https://www.showapi.com/island/feedback-page?apiurl=/playground/anthropic/claude/claude-files) [ 创建我的API](https://www.showapi.com/playground)

文件 API 提供了一种简单的方法来上传、下载和管理文件，支持多种文件类型，如 PDF、文本和图像。文件 API 目前处于测试阶段，支持在 Messages 请求中引用文件 ID，但不支持在 Amazon Bedrock 或 Google Vertex AI 上使用。

**基础配置**

**API\_KEY****\*****

用于身份验证的唯一API密钥。

**Version****\*****

要使用的Anthropic API版本。当前最新：2023-06-01

**Anthropic-beta**

指定要使用的beta版本，如beta1、beta2，或为每个beta多次指定标题。

选择接入点：

**POST**

**

**Run

**接入点文档：**[查看](https://docs.anthropic.com/en/api/files-create)

Run: Ctrl+

↵

接入点描述：Files API允许你上传和管理文件，以便在Anthropic API中使用，而无需在每次请求时重新上传内容。

**请求参数**

**file****\***

要上传的文件。

**返回结果**

当前为示例返回

**

返回体

返回头

**使用其他软件测试API**

您可以拷贝Curl语句，直接导入Postman进行测试

**拷贝Curl语句