Get what a step produced.
GET/api/v1/node-runs/{node_run_id}/resultworkflows:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The Visualization dialog's view of a node run: a table (an Excel, JSON or Table Extraction step, or the rows a step wrote), a Collect or Attach Documents summary, the child workflows of a Sub Workflow step, a Trigger step's query, or why the step failed, by kind. columns and row_count describe a table; content is the rest, an open document whose members depend on the kind (rows, json, late, children). row_limit is how many rows a table gives (default 100); page picks a page of a Collect step's children (from 0). 404 when the step stored no result. An API Request step's data is get_api_request_response_data. The workflow must be one you may open.
| スコープ | workflows:read |
| 非同期 | いいえ |
| MCP ツール | get_node_run_result |
| Portal の権限 | view_workflow_task_progress |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
node_run_id | path | string | 必須 | |
row_limit | query | integer または null | 任意 | How many rows of a table to read (default 100). |
page | query | integer または null | 任意 | A Collect Sub-workflow Results step: the page of children to read, from 0, in place of the summary. |
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 NodeRunResult |
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 |
スキーマ
NodeRunResult
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
columns | string の配列 | 必須 | A table's columns, in order; empty for any other kind. |
content | object または null | 必須 | format node_result_<kind>: an open document with the rest of the result (rows, json, late, children, meta). The Portal owns its shape. |
error | NodeRunResultError または null | 必須 | Why the step failed, for kind error. |
is_error | boolean | 必須 | |
kind | string | 必須 | dataframe (a table), json, jsonl (a Collect step's children page), text, error, sub_workflow (a Sub Workflow step's children), tables (a document's extracted tables) or another kind the Portal adds (open). |
node_run_id | string | 必須 | |
page | integer または null | 必須 | For a page of a Collect step's children: which page. |
page_count | integer または null | 必須 | For a page of a Collect step's children: how many pages the step holds. |
result_type | string または null | 必須 | The stored artifact read (excel_import, json_to_dataframe, webhook_response, subworkflow_collect or attach_result); null for a result read from the step itself or from its document. |
row_count | integer または null | 必須 | The rows the table holds (rows in content may be fewer: row_limit). |
text | string または null | 必須 | The result, for kind text. |
NodeRunResultError
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
exception_message | string | 必須 | |
exception_type | string | 必須 |