Upload file
documentedUpload a file to be used in Claude interactions.
POST /v1/filesFilesno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.anthropic.com/v1/files" \
-X POST \
-H "x-api-key: {{ANTHROPIC_API_KEY}}" \
-H "anthropic-version: 2023-06-01" \
-H "anthropic-beta: files-api-2025-04-14" \
-F "file=@{{$file_path}}"