Ingest a file's chunks as documents into the knowledge graph
Chunk an uploaded file via the doc-chunker and queue its sections as graph documents.
Without force, acts on the file's latest ingestion job: none yet starts one; completed returns
it as is, after retrying the graph removal of any document whose DELETE failed (503 if that fails
again); failed/pending resumes it (re-chunking if it has no documents yet); in_progress
returns 409, unless it has had no update for graph.ingestion_stale_after_seconds, in which case
it is treated as abandoned and resumed. A running job's worker bumps updated_at periodically (see
GraphIngestionService._heartbeat), so only a job whose worker is gone (e.g. a server restart) goes stale.
AuthorizationBearer <token>file_id*stringA 24-character hexadecimal MongoDB ObjectId string.
^[0-9a-fA-F]{24}$force?booleanfalseOpenAI-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
Successful Response
application/json- response
Result of a file ingest request: queued for background work, or already completed (nothing to do).
status*string"queued""completed"document_count*integerjob_id*stringcurl -X POST 'https://deepfellow-server-host/v1/graph/files/5eb7cf5a86d9755df3a6c593/ingest'{ "status": "queued", "document_count": 0, "job_id": "string"}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.