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

List the workflows the caller can see.

GET/api/v1/workflowsworkflows:read
注記

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

The workflows in the Inbox's view of the caller, newest first, cancelled ones left out (include_cancelled lists them too). status_filter selects open_for_me, sent or outstanding; template_id matches any of its template's versions; template_name matches the template's name; started_at_from and started_at_to bound when it started; created_by_id is who started it; document_id lists the workflows a document is in (a document you may read); action_request_type_id lists the workflows where an open request of that type is yours (addressed to you, to a group of yours, or passed on by you). sort by subject, started_at or due_at as well as workflow_id. include=total_count adds total_count, the number of workflows the filters match: status_filter=open_for_me with it is the number the Inbox badge shows (the workflows waiting on you).

スコープworkflows:read
非同期いいえ
MCP ツールlist_workflows
ページングkeyset
既定の並び順-workflow_id
並べ替えに使えるフィールドworkflow_id, subject, started_at, due_at
フィルターstatus_filter, template_id, template_name, started_at, started_at_from, started_at_to, started_at_is_null, created_by_id, document_id, action_request_type_id

パラメーター​

名前場所型必須説明
searchquerystring または null任意Workflows whose subject, or the description of a document they involve that you may read, contains this text, without regard to case.
include_cancelledqueryboolean または null任意true also lists the workflows that were cancelled (the Document Details Workflows tab does); ignored with status_filter. Default false.
limitqueryinteger任意既定値: 50; ≥ 1
cursorquerystring任意
sortquerystring任意Comma-separated sort fields, - for descending.
includequerystring: total_count の配列任意total_count asks for the number of items the whole list holds for the caller under the same filters (not only this page), counted under the same access rules as the items; the answer then carries total_count. Left out, it is not counted.
status_filterquerystring の配列任意
template_idquerystring の配列任意
template_namequerystring の配列任意
started_atquerystring (date-time) の配列任意
started_at_fromquerystring (date-time)任意
started_at_toquerystring (date-time)任意
started_at_is_nullqueryboolean任意
created_by_idquerystring の配列任意
document_idquerystring の配列任意
action_request_type_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 の本文​

フィールド型必須説明
itemsWorkflow の配列必須
next_cursorstring または null必須
total_countinteger任意total_count asks for the number of items the whole list holds for the caller under the same filters (not only this page), counted under the same access rules as the items; the answer then carries total_count. Left out, it is not counted. ≥ 0; ≤ 2147483647
warningsobject の配列必須

エラー​

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

スキーマ​

UserRef​

フィールド型必須説明
display_namestring必須
kindstring: user, system, integration または string必須
user_idstring または null必須

Workflow​

フィールド型必須説明
due_atstring (date-time) または null必須
is_cancelledboolean必須
is_completedboolean必須
open_action_countinteger必須≥ -2147483648; ≤ 2147483647
open_action_count_for_meinteger必須≥ -2147483648; ≤ 2147483647
recipientsWorkflowRecipient の配列必須Who the workflow was sent to (its recipients): the people and groups it shows to, beside the requests it sends them.
started_atstring (date-time) または null必須
started_byUserRef必須
statusstring必須cancelled, failed, in_progress, completed or pending (open enum).
subjectstring必須
template_namestring または null必須
workflow_idstring必須
workflow_template_version_idstring または null必須The version of the template the workflow runs.

WorkflowRecipient​

フィールド型必須説明
group_idstring または null必須
typestring必須user, group or unknown (open enum).
type_codestring または null必須The stored type code, for an unknown recipient type; null otherwise.
userUserRef または null必須