Claude Files API

API for uploading and managing files to reference in Claude API requests without re-uploading content each time.

API entry from apis.yml

apis.yml Raw ↑
name: Claude Files API
description: API for uploading and managing files to reference in Claude API requests without re-uploading
  content each time.
image: https://www.anthropic.com/images/icons/anthropic-icon.png
humanURL: https://docs.anthropic.com/en/docs/build-with-claude/files
baseURL: https://api.anthropic.com/v1
tags:
- AI
- Document Processing
- File Management
- Files
properties:
- type: Documentation
  url: https://docs.anthropic.com/en/docs/build-with-claude/files
contact:
- type: Support
  url: https://support.anthropic.com
endpoints:
- name: Upload File
  method: POST
  path: /files
  description: Upload a file to be referenced in future API calls
- name: List Files
  method: GET
  path: /files
  description: List uploaded files
- name: Get File Metadata
  method: GET
  path: /files/{file_id}
  description: Retrieve metadata for a specific uploaded file
- name: Download File
  method: GET
  path: /files/{file_id}/content
  description: Download file content created by skills or the code execution tool
- name: Delete File
  method: DELETE
  path: /files/{file_id}
  description: Delete an uploaded file