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-Version | header | string (date) | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | WorkflowTemplateLintInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json WorkflowTemplateLintResult |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | 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 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
WorkflowTemplateLintInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
steps | WorkflowTemplateStepInput の配列 | 任意 | A draft's steps, instead of a saved template. |
workflow_template_id | string または null | 任意 | A saved template, checked at its latest version. |
workflow_template_version_id | string または null | 任意 | With workflow_template_id: check this version instead. |
WorkflowTemplateLintResult
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
warnings | WorkflowTemplateLintWarning の配列 | 必須 |
WorkflowTemplateLintWarning
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
code | string | 必須 | |
message | string | 必須 | |
node_id | string | 必須 | |
severity | string | 必須 | |
workflow_template_id | string | 必須 |
WorkflowTemplateStepInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
inputs | WorkflowTemplateStepSettingInput の配列 | 任意 | |
label | string または null | 任意 | |
node_id | string | 必須 | |
node_type | string | 必須 | The step type, as list_node_types names it (for example StartNode). |
original_node_id | string または null | 任意 | A source step in the visible parent lineage whose unchanged credentials may be retained, independent of step identity. |
outputs | WorkflowTemplateStepOutputInput の配列 | 任意 | |
previous_node_id | string または 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_id | string または null | 任意 | |
type | string | 必須 | |
value | string または null | 任意 |
WorkflowTemplateStepSettingInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
redacted | boolean | 任意 | 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. |
type | string | 必須 | |
value | string または null | 任意 |