Get the status of a graph ingestion job
Get the status of a background graph-ingestion job.
AuthorizationBearer <token>job_id*stringA 24-character hexadecimal MongoDB ObjectId string.
^[0-9a-fA-F]{24}$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
Successful Response
application/json- response
API-facing view of a graph-ingestion job.
id*stringfile_id*stringstatus*GraphIngestionStatusStatus of a background graph-ingestion job.
PENDING is not set by current code (jobs are created IN_PROGRESS); it is kept so previously
stored jobs still validate, and is resumable like FAILED.
"pending""in_progress""completed""failed"document_count*integerdocument_counts*How many of a job's documents are in each status.
documents*array<>last_error?string|nullstale?booleanWhether the job is in_progress but has had no update for graph.ingestion_stale_after_seconds, so it can be resumed or removed.
falsecreated_at*stringdate-timeupdated_at*stringdate-timecurl -X GET 'https://deepfellow-server-host/v1/graph/ingestion_jobs/5eb7cf5a86d9755df3a6c593'{ "id": "string", "file_id": "string", "status": "pending", "document_count": 0, "document_counts": { "pending": 0, "in_progress": 0, "completed": 0, "failed": 0, "removed": 0 }, "documents": [ { "index": 0, "name": "string", "content": "string", "source": "message", "source_description": "string", "status": "pending", "document_id": "string", "error": "string", "warnings": [ "string" ] } ], "last_error": "string", "stale": false, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}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.