メインコンテンツまでスキップ

Resolve the graph links of documents in the background.

POST/api/v1/graph/resolve-runscustom_fields:write
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

Resolves the documents as the caller (reads through their access, writes attributed to them). One document runs at once on the interactive lane, with its on-demand DocumentLink fields; several become a backfill run over exactly those documents (backfill_run in the answer), paced on the bulk lane, resumable and without the on-demand fields. preset fast skips the rerank and the LLM verifier; balanced and thorough pick the template budgets. Every document must be one the caller can read (404 naming the documents). Needs Run Graph Resolve Jobs.

スコープcustom_fields:write
非同期いいえ
MCP ツールcreate_graph_resolve_run
Portal の権限run_graph_resolve_jobs

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意
Idempotency-Keyheaderstring任意max 255

リクエスト本文​

Content-Type型
application/jsonGraphResolveRunCreateInput

応答​

ステータス説明本文
201Success.application/json GraphResolveRun または object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409idempotency_in_progressapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422idempotency_key_reused, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

GraphBackfillRun​

フィールド型必須説明
backfill_run_idstring必須
chunk_numberinteger必須≥ -2147483648; ≤ 2147483647
chunk_sizeinteger必須≥ -2147483648; ≤ 2147483647
created_atstring (date-time) または null必須
custom_field_template_idsstring の配列必須The templates the run resolves; empty for each configured template.
documents_failedinteger必須≥ -2147483648; ≤ 2147483647
documents_finishedinteger必須≥ -2147483648; ≤ 2147483647
documents_in_flightinteger必須Documents of the current chunk with no outcome yet. ≥ -2147483648; ≤ 2147483647
documents_queuedinteger必須≥ -2147483648; ≤ 2147483647
documents_skippedinteger必須≥ -2147483648; ≤ 2147483647
documents_with_edgesinteger必須≥ -2147483648; ≤ 2147483647
documents_without_edgesinteger必須≥ -2147483648; ≤ 2147483647
edges_writteninteger必須≥ -2147483648; ≤ 2147483647
finished_atstring (date-time) または null必須
is_stalledboolean必須Some documents of the current chunk have no live claim: only a resume moves the run on.
presetstring または null必須fast, balanced or thorough; null for each template's own budget.
scopeGraphBackfillScope必須
skip_processedboolean必須
started_by_user_idstring または null必須
statusstring必須running, paused or completed (open).
updated_atstring (date-time) または null必須

GraphBackfillScope​

フィールド型必須説明
kindstring必須all, folder, project, doc_type or documents.
valuesstring の配列必須Folder, project or document IDs, or document type names; empty for all.

GraphResolveRun​

フィールド型必須説明
backfill_runGraphBackfillRun または null必須For several documents: the backfill run over exactly those documents; null for one.
resolve_run_idstring必須Written on every link the run makes.
task_idsstring の配列必須The Portal's background tasks (the run's driver for several documents).

GraphResolveRunCreateInput​

フィールド型必須説明
custom_field_template_idsstring の配列任意Only these templates; each configured template when left out.
document_idsstring の配列必須The documents to resolve; each must be readable by the caller.
presetstring または null任意fast, balanced or thorough; each template's own budget when left out.