Skip to main content

List the questions a workflow asks people (Runtime Input and Scan Request).

GET/api/v1/workflows/{workflow_id}/user-input-requestsworkflows:read

Every Runtime Input and Scan Request of a workflow you may open, pending and answered, oldest first: what is asked (answer_kind), who it is addressed to, whether you may answer it now, and for an answered one who answered and when. Needs View Workflow Runtime Input Requests.

Scopeworkflows:read
AsynchronousNo
MCP toollist_workflow_user_input_requests
Portal permissionsview_workflow_runtime_input_requests
Pagingkeyset
Default orderuser_input_request_id
Sort fieldsuser_input_request_id

Parameters​

NameInTypeRequiredDescription
workflow_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 UserInputRequestRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

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

Schemas​

UserInputRequest​

FieldTypeRequiredDescription
addressed_toarray of UserRefRequiredThe users a Runtime Input names as its answerers; empty when anyone who can open the workflow may answer (and for a Scan Request, which asks the workflow's starter).
answer_kindstringRequiredWhat the answer is: user (user_ids), group (group_ids), datetime (date_time) or barcode (barcode); open enum.
answered_byUserRef or nullRequiredWho answered; null while pending.
can_be_answered_by_callerbooleanRequiredWhether you may answer it now: it is pending, the workflow is not cancelled, and you are one of those the Portal lets answer.
completed_atstring (date-time) or nullRequired
help_notesstring or nullRequiredThe prompt the person sees.
node_idstringRequiredThe step that asks.
requested_atstring (date-time) or nullRequired
statestringRequiredpending or answered (open enum).
typestringRequiredruntime_input or scan_request (open enum).
user_input_request_idstringRequired
workflow_idstringRequired
workflow_item_idstringRequired

UserRef​

FieldTypeRequiredDescription
display_namestringRequired
kindstring: user, system, integration or stringRequired
user_idstring or nullRequired