Files
Upload file to assistant
The upload_file
endpoint uploads a file to the specified assistant.
POST
/
assistant
/
files
/
{assistant_name}
Authorizations
Api-Key
string
headerrequiredPinecone API Key
Path Parameters
assistant_name
string
requiredThe name of the assistant to upload files to.
Query Parameters
metadata
string
Optional JSON-encoded metadata for files.
Body
multipart/form-data
file
file
requiredThe file to upload.
Response
200 - application/json
Response to a file upload request
name
string
requiredid
string
requiredmetadata
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, available only if include_url is set to true.
Was this page helpful?