Resume a graph backfill run.
POST/api/v1/graph/backfill-runs/{backfill_run_id}/resumecustom_fields:write
Runs again: publishes the current chunk's documents that have no outcome and no live claim (paused, or lost with a dead worker), or the next chunk when the current one is finished. A finished document is never resolved again.
| Scope | custom_fields:write |
| Asynchronous | No |
| MCP tool | resume_graph_backfill_run |
| Portal permissions | resume_graph_backfill_jobs |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
backfill_run_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
Idempotency-Key | header | string | Optional | max 255 |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json GraphBackfillRun or object |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
409 | idempotency_in_progress | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | idempotency_key_reused, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
GraphBackfillRun
| Field | Type | Required | Description |
|---|---|---|---|
backfill_run_id | string | Required | |
chunk_number | integer | Required | ≥ -2147483648; ≤ 2147483647 |
chunk_size | integer | Required | ≥ -2147483648; ≤ 2147483647 |
created_at | string (date-time) or null | Required | |
custom_field_template_ids | array of string | Required | The templates the run resolves; empty for each configured template. |
documents_failed | integer | Required | ≥ -2147483648; ≤ 2147483647 |
documents_finished | integer | Required | ≥ -2147483648; ≤ 2147483647 |
documents_in_flight | integer | Required | Documents of the current chunk with no outcome yet. ≥ -2147483648; ≤ 2147483647 |
documents_queued | integer | Required | ≥ -2147483648; ≤ 2147483647 |
documents_skipped | integer | Required | ≥ -2147483648; ≤ 2147483647 |
documents_with_edges | integer | Required | ≥ -2147483648; ≤ 2147483647 |
documents_without_edges | integer | Required | ≥ -2147483648; ≤ 2147483647 |
edges_written | integer | Required | ≥ -2147483648; ≤ 2147483647 |
finished_at | string (date-time) or null | Required | |
is_stalled | boolean | Required | Some documents of the current chunk have no live claim: only a resume moves the run on. |
preset | string or null | Required | fast, balanced or thorough; null for each template's own budget. |
scope | GraphBackfillScope | Required | |
skip_processed | boolean | Required | |
started_by_user_id | string or null | Required | |
status | string | Required | running, paused or completed (open). |
updated_at | string (date-time) or null | Required |
GraphBackfillScope
| Field | Type | Required | Description |
|---|---|---|---|
kind | string | Required | all, folder, project, doc_type or documents. |
values | array of string | Required | Folder, project or document IDs, or document type names; empty for all. |