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

List the workflow templates the caller can see.

GET/api/v1/workflow-templatesworkflows:read
注記

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

One row per template: its root, with the version that runs now. A template in a group with security is listed only to the users and groups that group names. is_active and project_id narrow the list; search matches part of the name; document_id lists only the templates a start on that document (one you may read) accepts, as create_workflow checks it: a template for a project or a document type applies only to documents of that project and type.

スコープworkflows:read
非同期いいえ
MCP ツールlist_workflow_templates
Portal の権限view_workflow_templates
ページングkeyset
既定の並び順workflow_template_id
並べ替えに使えるフィールドworkflow_template_id
フィルターis_active, project_id, document_id

パラメーター​

名前場所型必須説明
searchquerystring または null任意Templates whose name contains this text.
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
is_activequeryboolean の配列任意
project_idquerystring の配列任意
document_idquerystring の配列任意
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 の本文​

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

エラー​

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

スキーマ​

WorkflowTemplate​

フィールド型必須説明
current_workflow_template_version_idstring必須The version that runs now; a workflow started from the template runs it.
entity_sub_typestring必須The document type the template applies to; empty for any.
entity_typestring必須The entity the template applies to; empty for any.
is_activeboolean必須false when the template cannot be started.
namestring必須
project_idstring または null必須The project the template applies to; null for any project.
workflow_template_group_idstring または null必須The template group it sits in; null for none.
workflow_template_idstring必須