Skip to content
Get started

Delete Pipeline Document

DELETE/api/v1/pipelines/{pipeline_id}/documents/{document_id}

Delete a document from a pipeline. Initiates an async job that will:

  1. Delete vectors from the vector store
  2. Delete the document from MongoDB after vectors are successfully deleted
Path ParametersExpand Collapse
pipeline_id: string
document_id: string
Cookie ParametersExpand Collapse
session: optional string

Delete Pipeline Document

curl https://api.cloud.llamaindex.ai/api/v1/pipelines/$PIPELINE_ID/documents/$DOCUMENT_ID \
    -X DELETE \
    -H "Authorization: Bearer $LLAMA_CLOUD_API_KEY"
Returns Examples