Sign in

Upload file

documented

Upload a file for batch processing.

POST /v1/filesFilesno implementation yet0 runs
No 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.cerebras.ai/v1/files" \
  -X POST \
  -H "Authorization: Bearer {{CEREBRAS_API_KEY}}" \
  -H "Accept: application/json" \
  -F "file=@{{$path_to_file}};type=application/octet-stream" \
  -F "purpose={{$purpose}}"
Upload file · Cerebras · OpenIntegrations