Upload the file for the LLM to process.Note: The maximum file size is limited to 50MB, with no restrictions on file format.
Request
Example:Bearer {{YOUR_API_KEY}}
Body Params multipart/form-data
Request samples
curl --location --request POST 'https://api.302.ai/upload-file' \
--header 'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--form 'file=@""'
Responses
application/json Modified at 2025-03-28 03:37:44