Start a graph backfill run.
POST/api/v1/graph/backfill-runscustom_fields:write
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
Resolves every document of a scope in paced chunks on the bulk lane, as the caller, until done or paused. scope.kind is all, folder (folder IDs), project (project IDs), doc_type (document type names) or documents (document IDs); every kind but all needs values. preset fast, balanced or thorough sets the budget of the whole run. skip_processed leaves out documents another run resolved (failures are tried again). Follow it with get_graph_backfill_run. Needs Start Graph Backfill Jobs.
| スコープ | custom_fields:write |
| 非同期 | いいえ |
| MCP ツール | create_graph_backfill_run |
| Portal の権限 | start_graph_backfill_jobs |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
Docwize-Version | header | string (date) | 任意 | |
Idempotency-Key | header | string | 任意 | max 255 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | GraphBackfillRunCreateInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
201 | Success. | application/json GraphBackfillRun または object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | 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 |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | 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 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
GraphBackfillRun
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
backfill_run_id | string | 必須 | |
chunk_number | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
chunk_size | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
created_at | string (date-time) または null | 必須 | |
custom_field_template_ids | string の配列 | 必須 | The templates the run resolves; empty for each configured template. |
documents_failed | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
documents_finished | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
documents_in_flight | integer | 必須 | Documents of the current chunk with no outcome yet. ≥ -2147483648; ≤ 2147483647 |
documents_queued | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
documents_skipped | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
documents_with_edges | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
documents_without_edges | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
edges_written | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
finished_at | string (date-time) または null | 必須 | |
is_stalled | boolean | 必須 | Some documents of the current chunk have no live claim: only a resume moves the run on. |
preset | string または null | 必須 | fast, balanced or thorough; null for each template's own budget. |
scope | GraphBackfillScope | 必須 | |
skip_processed | boolean | 必須 | |
started_by_user_id | string または null | 必須 | |
status | string | 必須 | running, paused or completed (open). |
updated_at | string (date-time) または null | 必須 |
GraphBackfillRunCreateInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
chunk_size | integer または null | 任意 | Documents published per chunk, 1 to 1000; 50 when left out. Pacing, not a cap. |
custom_field_template_ids | string の配列 | 任意 | Only these templates; each configured template when left out. |
preset | string または null | 任意 | fast, balanced or thorough; each template's own budget when left out. |
scope | GraphBackfillScopeInput | 必須 | |
skip_processed | boolean または null | 任意 | Leave out documents another run already resolved. True when left out. |
GraphBackfillScope
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
kind | string | 必須 | all, folder, project, doc_type or documents. |
values | string の配列 | 必須 | Folder, project or document IDs, or document type names; empty for all. |
GraphBackfillScopeInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
kind | string | 任意 | all, folder, project, doc_type or documents. |
values | string の配列 | 任意 | Folder, project or document IDs, or document type names; empty for all. |