Skip to main content

List the items of a workflow.

GET/api/v1/workflow-itemsworkflows:read

The entities travelling through the workflows you name with workflow_id (required, which you may open), oldest first. An item's document_id is set only for a document you may read.

Scopeworkflows:read
AsynchronousNo
MCP toollist_workflow_items
Portal permissionsview_workflow_details
Pagingkeyset
Default orderworkflow_item_id
Sort fieldsworkflow_item_id
Filtersworkflow_id

Parameters​

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

Errors​

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

Schemas​

WorkflowItem​

FieldTypeRequiredDescription
document_idstring or nullRequiredThe document the item is, for a document item you may read; null for any other item and for a document you may not read.
entity_typestringRequiredWhat the item is: a document, or another entity type the engine names (open).
parent_workflow_item_idstring or nullRequiredThe item this one was split from, or null.
workflow_idstringRequired
workflow_item_idstringRequired
workflow_template_version_idstring or nullRequiredThe version of the template the item runs, when recorded.