Skip to main content

List the workflow templates the caller can see.

GET/api/v1/workflow-templatesworkflows:read

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.

Scopeworkflows:read
AsynchronousNo
MCP toollist_workflow_templates
Portal permissionsview_workflow_templates
Pagingkeyset
Default orderworkflow_template_id
Sort fieldsworkflow_template_id
Filtersis_active, project_id, document_id

Parameters​

NameInTypeRequiredDescription
searchquerystring or nullOptionalTemplates whose name contains this text.
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
is_activequeryarray of booleanOptional
project_idqueryarray of stringOptional
document_idqueryarray of stringOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
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 body​

FieldTypeRequiredDescription
itemsarray of WorkflowTemplateRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

WorkflowTemplate​

FieldTypeRequiredDescription
current_workflow_template_version_idstringRequiredThe version that runs now; a workflow started from the template runs it.
entity_sub_typestringRequiredThe document type the template applies to; empty for any.
entity_typestringRequiredThe entity the template applies to; empty for any.
is_activebooleanRequiredfalse when the template cannot be started.
namestringRequired
project_idstring or nullRequiredThe project the template applies to; null for any project.
workflow_template_group_idstring or nullRequiredThe template group it sits in; null for none.
workflow_template_idstringRequired