Get what an API Request node did for its item.
GET/api/v1/node-runs/{node_run_id}/api-reportworkflows:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
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.
| スコープ | workflows:read |
| 非同期 | いいえ |
| MCP ツール | get_node_run_api_report |
| Portal の権限 | view_workflow_api_data |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
node_run_id | path | string | 必須 | |
Docwize-Version | header | string (date) | 任意 | |
If-None-Match | header | string | 任意 | Answers 304 when the representation is unchanged (resources that publish an ETag). |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json ApiNodeReport |
304 | Not modified (If-None-Match matched the ETag). | |
400 | invalid_version | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
| コード | ステータス |
|---|---|
invalid_version | 400 |
token_expired | 401 |
unauthenticated | 401 |
forbidden | 403 |
insufficient_scope | 403 |
token_owner_inactive | 403 |
not_found | 404 |
method_not_allowed | 405 |
not_acceptable | 406 |
wrong_region | 421 |
validation_failed | 422 |
internal_error | 500 |
tenant_unavailable | 503 |
unavailable | 503 |
timeout | 504 |
スキーマ
ApiNodeConfig
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
auth_method | string または null | 必須 | |
concurrency_policy | string または null | 必須 | JSON text exactly as the step stores it. |
failure_routes | string または null | 必須 | JSON text exactly as the step stores it. |
method | string または null | 必須 | |
pagination_multiplier | string または null | 必須 | |
pagination_variable | string または null | 必須 | |
retry_policy | string または null | 必須 | JSON text exactly as the step stores it. |
save_raw_data | string または null | 必須 | |
transformation_steps | string または null | 必須 | JSON text exactly as the step stores it. |
url | string または null | 必須 |
ApiNodeReport
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
attempts | ApiRequestAttempt の配列 | 必須 | Every request the node made for the item, oldest first. |
config | ApiNodeConfig | 必須 | |
node_id | string | 必須 | The node's ID in its template, in lower case. |
node_run_id | string | 必須 | |
summary | ApiNodeSummary | 必須 | |
workflow_item_id | string | 必須 |
ApiNodeSummary
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
attempt_count | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
configured_secrets | string の配列 | 必須 | The credential inputs the node has set (Password, Token, Headers, Body ...). Their values are never returned. |
failed_count | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
is_abandoned | boolean | 必須 | |
is_completed | boolean | 必須 | Whether the latest request completed. |
is_queued | boolean | 必須 | Whether the latest request is waiting for a slot in its lane. |
is_retry_scheduled | boolean | 必須 | |
lane | string または null | 必須 | The latest request's lane. |
last_status_code | integer または null | 必須 | |
total_lock_wait_ms | string | 必須 | Milliseconds the requests together waited for a free slot in their lanes. |
ApiRequestAttempt
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
api_request_id | string | 必須 | |
attempt | integer | 必須 | 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 | 必須 | Whether the request stored a payload: get_api_request_response_data and export_api_request have something to answer. |
lane | string または null | 必須 | What the node's concurrency policy queues requests by (for example the URL); null for a node with no policy. |
lock_wait_ms | integer または null | 必須 | How long the request waited for a free slot in its lane, in milliseconds. |
max_retries | integer または null | 必須 | |
next_retry_at | string (date-time) または null | 必須 | When the next retry is due, for a request waiting to be retried. |
pagination_count | integer または null | 必須 | The pages the request fetched after its first. |
retry_attempt | integer または null | 必須 | 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) または null | 必須 | |
status | string | 必須 | pending, completed, failed, queued, retry_scheduled, abandoned or another status the engine names (open). |
status_code | integer または null | 必須 | The HTTP status the other system answered; null before it answered or when the request never got an answer. |