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

Get one invocation.

GET/api/v1/forge-invocations/{forge_invocation_id}forge:read
注記

このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。

The invocation's status, mode, error, per-phase timings, workflow and step ids, request id, the captured traceback (type, message, kind, hint and frames, with the deepest frame in your own code) and the closure body as received. Needs View Forge Function Invocations. A run you may not read is 404: you must hold View All Forge Function Invocations on an internal account or see the run's workflow (View All Workflows, View Own Workflows or View Project Workflows), and be able to read the document of the workflow item the run belongs to.

スコープforge:read (機密性の高いスコープ)
非同期いいえ
MCP ツールget_forge_invocation
Portal の権限view_forge_function_invocations

パラメーター​

名前場所型必須説明
forge_invocation_idpathstring必須
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json ForgeInvocation
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
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

エラー​

この操作が返す可能性のある 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必須