Runs the view with parameter values under the caller's access and records the caller's visit (bookkeeping the Portal keeps for since last_visit; nothing else is written). run is the Portal's own document (format graph_view_run): parameters, since, expand, decision, context, payload. The answer is the exploration's, with the view and the visit. Needs Run Graph Views.
| |
|---|
| Scope | graph:read |
| Asynchronous | No |
| MCP tool | execute_graph_view |
| Portal permissions | run_graph_views |
Parameters
| Name | In | Type | Required | Description |
|---|
graph_view_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
Request body
Responses
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
GraphView
| Field | Type | Required | Description |
|---|
definition | object or null | Required | The saved query (format graph_view_definition): the Portal's own document. |
description | string or null | Required | |
graph_view_id | string | Required | |
is_active | boolean | Required | |
is_owner | boolean | Required | The caller owns the view. |
is_question | boolean | Required | The Atlas offers the view as a question. |
last_opened_at | string or null | Required | The caller's last visit, as the Portal records it; null when never opened or in a list. |
name | string | Required | |
owner_user_id | string or null | Required | |
parameters | object or null | Required | The declared parameters (format graph_view_parameters). |
slug | string | Required | |
visibility | string | Required | private (its owner's) or shared. |
| Field | Type | Required | Description |
|---|
run | object or null | Optional | The run (format graph_view_run): parameters, since, expand, decision, context, payload. None: the view's own. |
GraphViewRunResult
| Field | Type | Required | Description |
|---|
previous_visit_at | string or null | Required | The visit before this one, which since last_visit reads. |
result | object | Required | The exploration's answer (format graph_exploration_result). |
view | GraphView | Required | |
visited_at | string | Required | This visit. |