Skip to main content

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.

Scopecustom_fields:read
AsynchronousNo
MCP toolresolve_graph
Portal permissionsrun_graph_resolve_previews

Parameters​

NameInTypeRequiredDescription
Docwize-Versionheaderstring (date)Optional

Request body​

Content typeType
application/jsonGraphResolveInput

Responses​

StatusDescriptionBody
200Success.application/json GraphDocument
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
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

GraphDocument​

FieldTypeRequiredDescription
documentobjectRequiredThe Portal's own document; its format says which.

GraphResolveInput​

FieldTypeRequiredDescription
custom_field_template_idsarray of stringOptionalOnly these templates; every configured one when left out.
document_idstringRequired