メインコンテンツまでスキップ

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_idpathstring必須
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 の本文​

フィールド型必須説明
itemsForgeInvocation の配列必須
next_cursorstring または null必須
warningsobject の配列必須

エラー​

この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。

スキーマ​

ForgeInvocation​

フィールド型必須説明
acknowledged_atstring (date-time) または null必須When the function acknowledged the run.
billed_duration_msinteger または null必須
closed_atstring (date-time) または null必須
closure_deadlinestring (date-time) または null必須When the platform gives up waiting for the function's answer.
closure_payloadobject または null必須The closure body as received (format forge_closure_payload): to tell the function's output from the platform's; null in lists.
duration_msinteger または null必須
errorobject または null必須What the run recorded as its error (format forge_invocation_error); null when none.
forge_function_idstring必須
forge_function_version_idstring必須
forge_function_version_numberinteger または null必須
forge_invocation_idstring必須
has_tracebackboolean必須
is_liveboolean必須The run is still going (dispatched or awaiting its closure), so more log lines may arrive.
log_line_countinteger必須≥ -2147483648; ≤ 2147483647
log_truncatedboolean必須
memory_used_mbinteger または null必須
modestring必須
node_idstring必須The workflow step the run was dispatched for.
provider_request_referencestring または null必須The cloud provider's own reference for the run, to quote to support.
route_keystring または null必須
started_atstring (date-time) または null必須
statusstring必須
timingsobject または null必須Milliseconds per execution phase (format forge_invocation_timings); null when none.
tracebackForgeTraceback または null必須The stack trace captured for a failed run; null in lists and when none was captured. Get the invocation to read it.
workflow_idstring または null必須
workflow_item_idstring または null必須

ForgeTraceback​

フィールド型必須説明
framesForgeTracebackFrame の配列必須
frames_sourcestring または null必須output when the frames were scraped from what the process printed.
hintstring または null必須What to try next, for the kinds where the answer is not in the stack.
kindstring または null必須How it died: timeout, out_of_memory, native_crash, startup_failure, bad_response or unhandled_exception (open).
messagestring または null必須
rawstring または null必須
raw_truncatedboolean必須
sourcestring または null必須function (the function reported it), runtime (the language runtime raised it) or output (recovered from captured output) (open).
typestring または null必須
user_frameForgeTracebackFrame または null必須The deepest frame in the developer's own code: the line to look at first.

ForgeTracebackFrame​

フィールド型必須説明
codestring または null必須The source line, when the runtime included it.
filestring または null必須
functionstring または null必須
is_user_codeboolean必須false for frames inside the language runtime or the cloud bootstrap.
lineinteger または null必須