Skip to main content
Upload File To A Custom Assistant
curl --request POST \
  --url https://{api_endpoint}/api/v1/assistants/custom/{assistant_id}/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file
"<any>"

Authorizations

Authorization
string
header
required

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

Path Parameters

assistant_id
string
required

Query Parameters

extraction_strategy
enum<string>
Available options:
express,
standard,
high_quality

Body

multipart/form-data
file
file
required

Response

Successful Response

The response is of type any.