Get what an API Request node did for its item.
Every request the node made for the item, oldest first, with its status, the HTTP status the other system answered, its retry counters, the lane it waited in and how long it waited for a slot; the node's configured inputs (URL, method, authentication method, retry, concurrency, failure routes, transformation steps), and a roll-up that says where the time went. Credentials, headers and the body are never returned: configured_secrets names the ones that are set. node_run_id is any run of the node for the item (list_workflow_item_node_runs). The workflow must be one you may open.
| |
|---|
| Scope | workflows:read |
| Asynchronous | No |
| MCP tool | get_node_run_api_report |
| Portal permissions | view_workflow_api_data |
Parameters
| Name | In | Type | Required | Description |
|---|
node_run_id | path | string | Required | |
Docwize-Version | header | string (date) | Optional | |
If-None-Match | header | string | Optional | Answers 304 when the representation is unchanged (resources that publish an ETag). |
Responses
Errors
The problem codes this operation can answer with. Each code links to its page.
Schemas
ApiNodeConfig
| Field | Type | Required | Description |
|---|
auth_method | string or null | Required | |
concurrency_policy | string or null | Required | JSON text exactly as the step stores it. |
failure_routes | string or null | Required | JSON text exactly as the step stores it. |
method | string or null | Required | |
pagination_multiplier | string or null | Required | |
pagination_variable | string or null | Required | |
retry_policy | string or null | Required | JSON text exactly as the step stores it. |
save_raw_data | string or null | Required | |
transformation_steps | string or null | Required | JSON text exactly as the step stores it. |
url | string or null | Required | |
ApiNodeReport
| Field | Type | Required | Description |
|---|
attempts | array of ApiRequestAttempt | Required | Every request the node made for the item, oldest first. |
config | ApiNodeConfig | Required | |
node_id | string | Required | The node's ID in its template, in lower case. |
node_run_id | string | Required | |
summary | ApiNodeSummary | Required | |
workflow_item_id | string | Required | |
ApiNodeSummary
| Field | Type | Required | Description |
|---|
attempt_count | integer | Required | ≥ -2147483648; ≤ 2147483647 |
configured_secrets | array of string | Required | The credential inputs the node has set (Password, Token, Headers, Body ...). Their values are never returned. |
failed_count | integer | Required | ≥ -2147483648; ≤ 2147483647 |
is_abandoned | boolean | Required | |
is_completed | boolean | Required | Whether the latest request completed. |
is_queued | boolean | Required | Whether the latest request is waiting for a slot in its lane. |
is_retry_scheduled | boolean | Required | |
lane | string or null | Required | The latest request's lane. |
last_status_code | integer or null | Required | |
total_lock_wait_ms | string | Required | Milliseconds the requests together waited for a free slot in their lanes. |
ApiRequestAttempt
| Field | Type | Required | Description |
|---|
api_request_id | string | Required | |
attempt | integer | Required | 1 for the node's first request for the item, 2 for the next, in the order they were made. ≥ -2147483648; ≤ 2147483647 |
has_payload | boolean | Required | Whether the request stored a payload: get_api_request_response_data and export_api_request have something to answer. |
lane | string or null | Required | What the node's concurrency policy queues requests by (for example the URL); null for a node with no policy. |
lock_wait_ms | integer or null | Required | How long the request waited for a free slot in its lane, in milliseconds. |
max_retries | integer or null | Required | |
next_retry_at | string (date-time) or null | Required | When the next retry is due, for a request waiting to be retried. |
pagination_count | integer or null | Required | The pages the request fetched after its first. |
retry_attempt | integer or null | Required | Which automatic retry this is; null for a request that is not a retry or a node with no retry policy. |
started_at | string (date-time) or null | Required | |
status | string | Required | pending, completed, failed, queued, retry_scheduled, abandoned or another status the engine names (open). |
status_code | integer or null | Required | The HTTP status the other system answered; null before it answered or when the request never got an answer. |