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

List an invocation's log lines.

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

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

Log lines in sequence order; filter by levels (repeat for OR). The invocation says whether the run is still live and how many lines it has. Needs View Forge Invocation Logs. 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 ツールlist_forge_invocation_logs
Portal の権限view_forge_invocation_logs
ページングkeyset
既定の並び順sequence
並べ替えに使えるフィールドsequence
フィルターlevels

パラメーター​

名前場所型必須説明
forge_invocation_idpathstring必須
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
levelsquerystring の配列任意
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 の本文​

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

エラー​

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

スキーマ​

ForgeInvocationLog​

フィールド型必須説明
levelstring必須
messagestring必須
sequenceinteger必須≥ -2147483648; ≤ 2147483647
streamstring必須
timestampstring (date-time) または null必須