DeepFellow DOCS

Remove a file's documents from the knowledge graph

DELETE
/v1/graph/files/{file_id}

Remove every knowledge-graph document ingested from a file, keeping the file itself.

Returns 409 while the file's latest job is in_progress, unless it has had no update for graph.ingestion_stale_after_seconds (abandoned): a worker still running it then finds the job gone, stops, and undoes the document it was ingesting.

Authorization

headerAuthorizationBearer <token>

Path Parameters

file_id*string

A 24-character hexadecimal MongoDB ObjectId string.

Match^[0-9a-fA-F]{24}$

Header Parameters

OpenAI-Organization?|

Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.

OpenAI-Project?|

Project Id from OpenAi compatible endpoint. Required to project access for organization api key or User / Admin User access with OpenAI-Organization

Response Body

Successful Response

Example Request
curl -X DELETE 'https://deepfellow-server-host/v1/graph/files/5eb7cf5a86d9755df3a6c593'
Example Response
Empty

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.