Skip to main content
POST
cURL

File Limitations

  • Maximum 100 files
  • Maximum 100MB per file
  • Files retained for 180 days

Authorizations

Authorization
string
header
required

Use the following format for authentication: Bearer

Body

multipart/form-data
purpose
enum<string>
default:user_data
required

Upload purpose

Available options:
user_data,
agent
file
file
required

File to upload. agent limit to 100MB, user_data limit to 1T. agent allowed formats: pdf, doc, xlsx, ppt, txt, jpg, png, user_data allowed formats: pptx, ppt, docx, doc, xlsx, xls, pdf.

Response

Processing successful

id
string

Unique identifier of the uploaded file.

object
string

Object type.

bytes
integer

File size in bytes.

filename
string

Name of the uploaded file.

purpose
string

Purpose of the uploaded file.

created_at
integer

Timestamp of file creation.