Ingest (or retry) a single document within a graph ingestion job
Ingest a single pending document, or retry a failed or removed one, within a graph ingestion job.
Returns 409 if the document is in another state, if the job was superseded by a newer ingestion
of the file, or if the job isn't running and still has other pending or in_progress documents (the
latter left behind by a worker that stopped): a single-document retry would leave it in_progress
with nothing ingesting those, so the job must be resumed via POST /v1/graph/files/{file_id}/ingest
instead.
In: header
Path Parameters
A 24-character hexadecimal MongoDB ObjectId string.
^[0-9a-fA-F]{24}$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 POST "https://deepfellow-server-host/v1/graph/ingestion_jobs/5eb7cf5a86d9755df3a6c593/documents/0/retry" \ -H "OpenAI-Organization: string" \ -H "OpenAI-Project: string"{
"status": "queued",
"job_id": "string",
"index": 0
}{
"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.