Assistant API
Upload file
This operation uploads a file to a specified assistant.
POST
/
assistant
/
files
/
{assistant_name}
This feature is in public preview.
Authorizations
Api-Key
string
headerrequiredPinecone API Key
Path Parameters
assistant_name
string
requiredThe name of the base to upload files to.
Body
application/octet-stream · file
The body is of type file
.
Response
200 - application/json
name
string
requiredThe name of the file.
id
string
requiredThe UUID of the file.
metadata
object
A dictionary containing metadata for the assistant.
created_on
string
When the file was first uploaded.
updated_on
string
When the file was last updated.
status
enum<string>
The status of the file.
Available options:
Processing
, Available
, Deleting
, ProcessingFailed
Was this page helpful?