List the Forge runs of a node run's node.
GET/api/v1/node-runs/{node_run_id}/forge-invocationsforge:read
注記
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The Forge invocations of the node that produced this node run, for its workflow item, newest first: what a recipient reads to learn why their step failed. Needs View Forge Function Invocations. A run's document must be one you can read, and you must hold View All Forge Function Invocations on an internal account or see the run's workflow.
| スコープ | forge:read (機密性の高いスコープ) |
| 非同期 | いいえ |
| MCP ツール | list_node_run_forge_invocations |
| Portal の権限 | view_forge_function_invocations |
| ページング | keyset |
| 既定の並び順 | -started_at, forge_invocation_id |
| 並べ替えに使えるフィールド | started_at, forge_invocation_id |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
node_run_id | path | string | 必須 | |
limit | query | integer | 任意 | 既定値: 50; ≥ 1 |
cursor | query | string | 任意 | |
sort | query | string | 任意 | Comma-separated sort fields, - for descending. |
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 object |
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 |
410 | cursor_expired | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, 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 |
200 の本文
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
items | ForgeInvocation の配列 | 必須 | |
next_cursor | string または null | 必須 | |
warnings | object の配列 | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
ForgeInvocation
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
acknowledged_at | string (date-time) または null | 必須 | When the function acknowledged the run. |
billed_duration_ms | integer または null | 必須 | |
closed_at | string (date-time) または null | 必須 | |
closure_deadline | string (date-time) または null | 必須 | When the platform gives up waiting for the function's answer. |
closure_payload | object または null | 必須 | The closure body as received (format forge_closure_payload): to tell the function's output from the platform's; null in lists. |
duration_ms | integer または null | 必須 | |
error | object または null | 必須 | What the run recorded as its error (format forge_invocation_error); null when none. |
forge_function_id | string | 必須 | |
forge_function_version_id | string | 必須 | |
forge_function_version_number | integer または null | 必須 | |
forge_invocation_id | string | 必須 | |
has_traceback | boolean | 必須 | |
is_live | boolean | 必須 | The run is still going (dispatched or awaiting its closure), so more log lines may arrive. |
log_line_count | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
log_truncated | boolean | 必須 | |
memory_used_mb | integer または null | 必須 | |
mode | string | 必須 | |
node_id | string | 必須 | The workflow step the run was dispatched for. |
provider_request_reference | string または null | 必須 | The cloud provider's own reference for the run, to quote to support. |
route_key | string または null | 必須 | |
started_at | string (date-time) または null | 必須 | |
status | string | 必須 | |
timings | object または null | 必須 | Milliseconds per execution phase (format forge_invocation_timings); null when none. |
traceback | ForgeTraceback または null | 必須 | The stack trace captured for a failed run; null in lists and when none was captured. Get the invocation to read it. |
workflow_id | string または null | 必須 | |
workflow_item_id | string または null | 必須 |
ForgeTraceback
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
frames | ForgeTracebackFrame の配列 | 必須 | |
frames_source | string または null | 必須 | output when the frames were scraped from what the process printed. |
hint | string または null | 必須 | What to try next, for the kinds where the answer is not in the stack. |
kind | string または null | 必須 | How it died: timeout, out_of_memory, native_crash, startup_failure, bad_response or unhandled_exception (open). |
message | string または null | 必須 | |
raw | string または null | 必須 | |
raw_truncated | boolean | 必須 | |
source | string または null | 必須 | function (the function reported it), runtime (the language runtime raised it) or output (recovered from captured output) (open). |
type | string または null | 必須 | |
user_frame | ForgeTracebackFrame または null | 必須 | The deepest frame in the developer's own code: the line to look at first. |
ForgeTracebackFrame
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
code | string または null | 必須 | The source line, when the runtime included it. |
file | string または null | 必須 | |
function | string または null | 必須 | |
is_user_code | boolean | 必須 | false for frames inside the language runtime or the cloud bootstrap. |
line | integer または null | 必須 |