Describe the actions open to graph nodes.
The Atlas's action loop for documents and register rows: per readable node, whether the caller can act on it and why not. workflow: the caller's open workflow items on the node's document (workflow_id, workflow_item_id) and whether a workflow can be started on it; action_request: whether a new ad hoc workflow with an action request can be raised, and whether one more request can go on an open workflow item (needs Create Adhoc Action Requests); owner: whether the register's declared owner field can be assigned (the row must be editable to the caller). A register row has no document, so workflow and action_request say no_document. This only reads: the actions are taken with create_workflow, create_workflow_item_action_request and the register row writes. A node the caller cannot read is only counted in unreadable_count. Needs Execute Graph Actions.
| |
|---|
| Scope | graph:read |
| Asynchronous | No |
| MCP tool | describe_graph_item_actions |
| Portal permissions | execute_graph_actions |
Parameters
| Name | In | Type | Required | Description |
|---|
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
GraphItemAction
GraphItemActionRequestAction
| Field | Type | Required | Description |
|---|
available | boolean | Required | |
on_open_item | GraphItemActionState | Required | Whether one more request can go on an open workflow item (needs Create Adhoc Action Requests). |
reason | string or null | Required | Why it cannot be taken, or null: no_document, no_open_workflow, missing_permission, not_a_row, owner_not_declared or not_editable. |
GraphItemActionState
| Field | Type | Required | Description |
|---|
available | boolean | Required | |
reason | string or null | Required | Why it cannot be taken, or null: no_document, no_open_workflow, missing_permission, not_a_row, owner_not_declared or not_editable. |
GraphItemActions
| Field | Type | Required | Description |
|---|
items | array of GraphItemAction | Required | One per readable node, in the order asked. |
unreadable_count | integer | Required | The nodes the caller cannot read: counted, not named. ≥ -2147483648; ≤ 2147483647 |
| Field | Type | Required | Description |
|---|
nodes | array of GraphNodeRefInput | Required | The documents and register rows to describe. |
GraphItemOwnerAction
| Field | Type | Required | Description |
|---|
available | boolean | Required | |
display_type | string or null | Required | |
field | string or null | Required | The register's declared owner field. |
field_label | string or null | Required | |
reason | string or null | Required | Why it cannot be taken, or null: no_document, no_open_workflow, missing_permission, not_a_row, owner_not_declared or not_editable. |
GraphItemWorkflowAction
| Field | Type | Required | Description |
|---|
available | boolean | Required | |
open_items | array of GraphOpenWorkflowItem | Required | The caller's open, inbox-visible workflow items that hold the document. |
reason | string or null | Required | Why it cannot be taken, or null: no_document, no_open_workflow, missing_permission, not_a_row, owner_not_declared or not_editable. |
GraphNodeRef
| Field | Type | Required | Description |
|---|
custom_field_template_id | string or null | Required | The register, for a register row. |
document_id | string or null | Required | The document, for a document. |
kind | string | Required | document or register_row. |
row_id | string or null | Required | The row, for a register row. |
| Field | Type | Required | Description |
|---|
custom_field_template_id | string or null | Optional | The register, for a register row. |
document_id | string or null | Optional | The document, for a document. |
kind | string | Required | document or register_row. |
row_id | string or null | Optional | The row, for a register row. |
GraphOpenWorkflowItem
| Field | Type | Required | Description |
|---|
action_requests_for_me | integer | Required | Live action requests on the item addressed to the caller or their groups. ≥ -2147483648; ≤ 2147483647 |
subject | string or null | Required | |
workflow_id | string | Required | |
workflow_item_id | string | Required | |
workflow_template_id | string or null | Required | |