Skip to main content
POST
Upload File via URL
  • Ingests public remote files via HTTP/HTTPS URLs and stores directly into R2
  • Built-in private IP protection and SSRF security defense
  • Files automatically expire and are purged after 72 hours
  • Limit of 2,000 active files per user; returns 429 when quota is exhausted
  • Auth: Authorization: Bearer sk-...

Request Body

Response Example