Files
Upload file to assistant
The upload_file
endpoint uploads a file to the specified assistant.
POST
/
assistant
/
files
/
{assistant_name}
Authorizations
Pinecone API Key
Path Parameters
The name of the assistant to upload files to.
Query Parameters
Optional JSON-encoded metadata for files.
Body
multipart/form-data
The file to upload.
Response
200 - application/json
Response to a file upload request
Available options:
Processing
, Available
, Deleting
, ProcessingFailed
The percentage of the file that has been processed
A signed url that gives you access to the underlying file, available only if include_url is set to true.
A message describing any error during file processing, provided only if an error occurs.
Was this page helpful?