cURL
curl --request POST \ --url https://backend.overtenai.com/api/v1/files \ --header 'Content-Type: multipart/form-data' \ --form 'file=<string>' \ --form purpose=context
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Upload a generic file for later reference by file_id.
file_id
Successful Response