Delete an uploaded file from an assistant.
This operation is asynchronous. The response includes an operation ID that can be used to poll for completion via the describe operation endpoint.
Processing operation. The error_message field is present only when the operation status is Failed.Pinecone API Key
Required date-based version header
The name of the assistant that contains the file.
The identifier of the file to be deleted.
The request to delete the file has been accepted. The deletion will be processed asynchronously.
The OperationModel describes the status of an ongoing or completed server operation.
The unique identifier for the operation.
"op-1234-abcd-5678"
The kind of action represented by this operation, such as uploading or deleting a file.
"upload_file"
The status of the operation.
Processing: The operation is in progress.Completed: The operation finished successfully.Failed: The operation failed. See error_message for details."Processing"
The timestamp when the operation was created, in ISO 8601 format.
"2025-10-01T12:30:00.000Z"
The identifier of the file being operated on.
"my-file-id-123"
The timestamp when the operation completed or failed, in ISO 8601 format. Present only when status is Completed or Failed.
"2025-10-01T12:35:00.000Z"
The progress made by the operation, as a percentage (0-100).
0 <= x <= 10042
A message describing the error that caused the operation to fail.
Present only when status is Failed.
"File processing failed: unsupported file format."