Skip to main content

List the fields a starter fills in.

GET/api/v1/workflow-templates/{workflow_template_id}/start-inputsworkflows:read

The Custom Input steps of the template's current version, in the order the builder shows them, then the template choices of its group Sub Workflow steps (kind template_choice: the starter picks which of allowed_workflow_template_ids an entry starts). Answer each one in POST /workflows with its node_id.

Scopeworkflows:read
AsynchronousNo
MCP toollist_workflow_template_start_inputs
Portal permissionsview_workflow_template_io
Pagingkeyset
Default ordersort_order
Sort fieldssort_order

Parameters​

NameInTypeRequiredDescription
workflow_template_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
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 WorkflowTemplateStartFieldRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

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

Schemas​

WorkflowTemplateStartField​

FieldTypeRequiredDescription
allowed_workflow_template_idsarray of stringRequiredFor a template_choice, the root templates the starter may choose, in the author's order; empty for a Custom Input.
askedbooleanRequiredfalse for a field the workflow works out itself (a Calculated Input), so the starter does not answer it.
configobject or nullRequiredThe field's type, label and choices (format workflow_custom_input, version 1); null when it has none.
entry_namesarray of stringRequiredFor a template_choice, the Sub Workflow entries that read the choice; empty for a Custom Input.
kindstringRequiredcustom_input for a Custom Input step; template_choice for a choice of the template a group Sub Workflow entry starts (open enum).
node_idstringRequiredSend the answer with this node_id in POST /workflows. A template_choice's node_id is not a step: the answer is node_type text and node_value one of allowed_workflow_template_ids.
requiredbooleanRequiredfalse when the field may be left empty; a template_choice may always be left empty, and the entry then starts its standard template.
sort_orderintegerRequiredThe field's place among the template's start fields, from 1. ≥ -2147483648; ≤ 2147483647