Skip to main content
POST
/
chat
/
file
Upload Files For Chat
curl --request POST \
  --url https://cloud.onyx.app/api/chat/file \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
files
file[]
required

Response

Successful Response

{key}
FileDescriptor · object[]
I