Files
Upload file to assistant
Upload a file to the specified assistant.
For guidance and examples, see Manage files.
POST
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 desired file to be uploaded and processed into the assistant.
The file to upload.
Response
200
application/json
File upload has been accepted.
AssistantFileModel is the response format to a successful 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
A message describing any error during file processing, provided only if an error occurs.
Was this page helpful?