Upload a file via streaming multipart/form-data
Documentation Index
Fetch the complete documentation index at: https://docs.archetypeai.app/llms.txt
Use this file to discover all available pages before exploring further.
multipart/form-data and the file contents are streamed to reduce memory usage.
The simple upload endpoint accepts files up to 512 MB. For files above this — or for any case where you need resumable uploads — use the direct-to-cloud multipart workflow instead, which supports up to 250 GB. The Developer Console UI caps its uploads through this endpoint at 255 MB; client integrations can go up to the full 512 MB.
multipart/form-data with the file contents in a form field. The exact form-field name depends on the client; most HTTP clients (e.g. curl -F, requests files=) will use the file’s name as the field name.
Authorization: Bearer YOUR_API_KEYContent-Type: multipart/form-data (automatically set by cURL’s -F flag)Content-Type validator accepts:
image/jpeg, image/pngvideo/mp4text/plain, text/csv, application/json