Test the graph resolver on one document.
POST/api/v1/graph/resolvecustom_fields:read
The DocumentLink builder's "Test on a document": the report of resolving the document, deciding everything a run would and writing nothing. custom_field_template_ids narrows it to some templates. Reads through the caller's access. It can take most of the request's time: 504 timeout says to narrow it to one template or start create_graph_resolve_run. Needs Run Graph Resolve Previews.
| Scope | custom_fields:read |
| Asynchronous | No |
| MCP tool | resolve_graph |
| Portal permissions | run_graph_resolve_previews |
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Docwize-Version | header | string (date) | Optional |
Request body
| Content type | Type |
|---|---|
application/json | GraphResolveInput |
Responses
| Status | Description | Body |
|---|---|---|
200 | Success. | application/json GraphDocument |
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 |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | 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 | 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
GraphDocument
| Field | Type | Required | Description |
|---|---|---|---|
document | object | Required | The Portal's own document; its format says which. |
GraphResolveInput
| Field | Type | Required | Description |
|---|---|---|---|
custom_field_template_ids | array of string | Optional | Only these templates; every configured one when left out. |
document_id | string | Required |