POST
/
assistant
/
files
/
{assistant_name}

Authorizations

Api-Key
string
headerrequired

Pinecone API Key

Path Parameters

assistant_name
string
required

The name of the assistant to upload files to.

Query Parameters

metadata
string

Optional JSON-encoded metadata for files.

Body

multipart/form-data
file
file
required

The file to upload.

Response

200 - application/json

Response to a file upload request

name
string
required
id
string
required
metadata
object | null
created_on
string
updated_on
string
status
enum<string>
Available options:
Processing,
Available,
Deleting,
ProcessingFailed
percent_done
number | null

The percentage of the file that has been processed

signed_url
string | null

A signed url that gives you access to the underlying file