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' \
  --form files=@example-file
{}

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data

Response

200
application/json

Successful Response

The response is of type object.