Skip to content

Upload Assistant File

Pinecone

Pinecone

Upload Assistant File

Upload a file to an assistant with optional metadata and multimodal processing.

ActionAI Tool

Inputs

Name Type Required Description
assistantHosttextRequiredAssistant host URL returned by assistant creation/status, for example https://prod-1-data.ke.pinecone.io.
assistantNametextRequiredAssistant name.
filefilesRequiredSingle file to upload to assistant.
metadatatextOptionalOptional JSON metadata (raw string); query encoding is handled automatically.
multimodalselectOptionalSet true for multimodal PDF processing. (options: true, false)

Outputs

Name Type Description
statusCodenumberHTTP status code
bodyobjectUploaded assistant file metadata.
idtextUnique identifier for the uploaded file.
nametextName of the uploaded file.
sizenumberFile size in bytes.
metadataobjectOptional metadata associated with the file.
created_ontextUpload timestamp in ISO 8601 format.
updated_ontextLast update timestamp in ISO 8601 format.
statustextFile status (Processing, Available, Deleting, ProcessingFailed).
signed_urltextTemporary signed URL for read-only file access.
multimodalyes/noWhether the file was processed as multimodal.