---
title: "Upload File To A Custom Assistant"
method: POST
path: "/v1/assistants/custom/{assistant_id}/files"
tags: ["Custom Assistants"]
---

# Upload File To A Custom Assistant

`POST /v1/assistants/custom/{assistant_id}/files`

## Request

- Base URL: `https://{api_endpoint}`
- URL: `https://{api_endpoint}/v1/assistants/custom/{assistant_id}/files`
- Auth: HTTP bearer

## Path parameters

- `assistant_id` string, required

## Query parameters

- `extraction_strategy` 'express' | 'standard' | 'high_quality'

## Request body `multipart/form-data`

- BodyUploadFileToACustomAssistantV1AssistantsCustomAssistantIdFilesPost
  - `file` string, binary, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ibm/apis/wxo-server-api.md) - [All operations](https://skmtc.dev/ibm/apis/wxo-server-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ibm/apis/wxo-server-api/revisions/82c114c37196?raw)
