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

Get one workflow template with its steps.

GET/api/v1/workflow-templates/{workflow_template_id}workflows:read
注記

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

The current version's steps (node_id is the stable node ID) and settings. The builder canvas is added with include=canvas. Credentials are replaced by a redaction marker unless the caller has View Workflow Node Secrets: the Password, Token, TokenSecret and auth_request_config inputs, the value of every header in a Headers input (the names stay), and the same keys in the canvas. Editing credentials requires Edit Workflow Node Secrets. Send the marker back in a credential input (or a canvas credential key) to keep the credential the step stores when you save the template again with create_workflow_template or compile_workflow_template.

スコープworkflows:read
非同期いいえ
MCP ツールget_workflow_template
Portal の権限view_workflow_templates, view_workflow_node_configs, view_workflow_template_io

パラメーター​

名前場所型必須説明
workflow_template_idpathstring必須
includequerystring または null任意canvas adds the builder canvas to the answer.
Docwize-Versionheaderstring (date)任意
If-None-Matchheaderstring任意Answers 304 when the representation is unchanged (resources that publish an ETag).

応答​

ステータス説明本文
200Success.application/json WorkflowTemplateDetail
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 のコードです。各コードからそのページに移動できます。

スキーマ​

WorkflowTemplateDetail​

フィールド型必須説明
canvasobject または null必須The builder canvas (format workflow_canvas, version 1); null unless include=canvas.
current_workflow_template_version_idstring必須
entity_sub_typestring必須
entity_typestring必須
is_activeboolean必須
namestring必須
project_idstring または null必須
redacted_countinteger必須Credential values replaced by the redaction marker in the steps and the canvas. Reading credentials requires View Workflow Node Secrets; changing them requires Edit Workflow Node Secrets. Sent back as the marker in a save, a hidden credential keeps the credential the step stores. ≥ -2147483648; ≤ 2147483647
settingsWorkflowTemplateSettings必須The template's settings, as its Start step holds them.
stepsWorkflowTemplateStep の配列必須
workflow_template_group_idstring または null必須
workflow_template_idstring必須
workflow_template_version_idstring必須The version the steps, settings and canvas belong to: the current version for get_workflow_template, any version for get_workflow_template_version.

WorkflowTemplateSettings​

フィールド型必須説明
late_action_request_emailsboolean必須
late_action_request_send_frequency_secondsinteger必須≥ -2147483648; ≤ 2147483647
main_item_requires_actionsboolean必須
notify_owner_about_action_responseboolean必須
notify_owner_about_completionboolean必須
notify_owner_about_late_action_requestsboolean必須

WorkflowTemplateStep​

フィールド型必須説明
inputsWorkflowTemplateStepSetting の配列必須
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.
outputsWorkflowTemplateStepOutput の配列必須
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.

WorkflowTemplateStepOutput​

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

WorkflowTemplateStepSetting​

フィールド型必須説明
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必須