DeepFellow DOCS

Ingest (or retry) a single document within a graph ingestion job

POST
/v1/graph/ingestion_jobs/{job_id}/documents/{index}/retry

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.

Authorization

headerAuthorizationBearer <token>

Path Parameters

job_id*string

A 24-character hexadecimal MongoDB ObjectId string.

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

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

application/json
  1. response

Acknowledgement that a single failed document was queued for retry.

status*string
job_id*string
index*integer
Example Request
curl -X POST 'https://deepfellow-server-host/v1/graph/ingestion_jobs/5eb7cf5a86d9755df3a6c593/documents/0/retry'
Example Response
{  "status": "queued",  "job_id": "string",  "index": 0}

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.