Skip to main content

Run an interface's graph view panel.

POST/api/v1/interfaces/{interface_id}/graph-view-panels/{panel_id}/executegraph:read

Runs a graph_view panel of an interface as the caller, as the Interface screen does: the interface must be readable to the caller (403 otherwise), the panel names a shared graph view and binds the interface's filters and its context document to the view's parameters. run (format graph_panel_run) carries filter_values (the filters' current values by filter id; the stored ones when absent), context_id (the document the interface runs with, 0 none), since, expand and decision. The answer is the Portal's own document (format graph_panel_run_result): the view run with the view and the panel's parameter values and where each came from. Results are never cached and the visit is not recorded. Needs Run Graph Views, View Virtual Interfaces and Execute Virtual Interfaces.

Scopegraph:read
AsynchronousNo
MCP toolexecute_interface_graph_view_panel
Portal permissionsrun_graph_views, view_virtual_interfaces, execute_virtual_interfaces

Parameters​

NameInTypeRequiredDescription
interface_idpathstringRequired
panel_idpathstringRequired
Docwize-Versionheaderstring (date)Optional

Request body​

Content typeType
application/jsonGraphViewPanelRunInput

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.

GraphViewPanelRunInput​

FieldTypeRequiredDescription
runobject or nullOptionalThe run (format graph_panel_run): filter_values, context_id, since, expand, decision. None: the stored filter values, no context document.