Delete a document from the knowledge graph
Delete a document by ID from the knowledge graph, marking its ingestion records removed.
Returns 503 if the document was marked removed but removing it from the graph failed (e.g. the
graph database is unavailable): the request is safe to retry, and until then the file's next
POST /v1/graph/files/{file_id}/ingest retries the removal, whatever the job's status.
In: header
Path Parameters
Header Parameters
Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.
Project Id from OpenAi compatible endpoint. Required to project access for organization api key or User / Admin User access with OpenAI-Organization
Response Body
curl -X DELETE "https://deepfellow-server-host/v1/graph/documents/string" \ -H "OpenAI-Organization: string" \ -H "OpenAI-Project: string"{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.