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

Check a workflow template for problems the builder warns about.

POST/api/v1/workflow-templates/lintworkflows:read
注記

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

Warns about a Sub Workflow or Attachment Split step that starts a workflow with no Complete Workflow step or no Output Node. Pass workflow_template_id (its latest version, or workflow_template_version_id) or steps for a draft. Changes nothing.

スコープworkflows:read
非同期いいえ
MCP ツールlint_workflow_templates
Portal の権限lint_workflow_templates

パラメーター​

名前場所型必須説明
Docwize-Versionheaderstring (date)任意

リクエスト本文​

Content-Type型
application/jsonWorkflowTemplateLintInput

応答​

ステータス説明本文
200Success.application/json WorkflowTemplateLintResult
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/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 のコードです。各コードからそのページに移動できます。

スキーマ​

WorkflowTemplateLintInput​

フィールド型必須説明
stepsWorkflowTemplateStepInput の配列任意A draft's steps, instead of a saved template.
workflow_template_idstring または null任意A saved template, checked at its latest version.
workflow_template_version_idstring または null任意With workflow_template_id: check this version instead.

WorkflowTemplateLintResult​

フィールド型必須説明
warningsWorkflowTemplateLintWarning の配列必須

WorkflowTemplateLintWarning​

フィールド型必須説明
codestring必須
messagestring必須
node_idstring必須
severitystring必須
workflow_template_idstring必須

WorkflowTemplateStepInput​

フィールド型必須説明
inputsWorkflowTemplateStepSettingInput の配列任意
labelstring または null任意
node_idstring必須
node_typestring必須The step type, as list_node_types names it (for example StartNode).
original_node_idstring または null任意A source step in the visible parent lineage whose unchanged credentials may be retained, independent of step identity.
outputsWorkflowTemplateStepOutputInput の配列任意
previous_node_idstring または null任意The step's node_id in the version it was copied from, so it keeps its identity; null for a new step.

WorkflowTemplateStepOutputInput​

フィールド型必須説明
response_node_idstring または null任意
typestring必須
valuestring または null任意

WorkflowTemplateStepSettingInput​

フィールド型必須説明
redactedboolean任意true when the value is a redacted credential the read replaced. Send it back as the marker to keep the credential the step it continues stores (previous_node_id); a marker on a step with no stored credential is refused.
typestring必須
valuestring または null任意