Search the workflows in the Inbox with a saved view or a filter.
このページの操作の説明は、API の OpenAPI 文書のとおり英語で記載しています。
The Inbox's own search: the workflows you can see, filtered as the Inbox filters them and ordered as it orders them (order_by: last_updated, name, action_count, favorites, overdue or completed). inbox_view_id opens a saved view: its static filters apply, with a rule for each dynamic filter that dynamic_filter_values gives a value. filter_rules adds a rule group of your own (the fields are in list_inbox_filter_fields). search, status_filter and workflow_template_name narrow it further. The workflows whose open tasks you hold are all in a task group are left out, as the Inbox lists them as cards (list_action_request_groups); list_workflows lists them. Rows are the same as list_workflows'. Paging is by position: pass next_cursor back as cursor.
| スコープ | workflows:read |
| 非同期 | いいえ |
| MCP ツール | search_workflows |
| Portal の権限 | view_inbox |
| ページング | snapshot |
| 既定の並び順 | last_updated |
パラメーター
| 名前 | 場所 | 型 | 必須 | 説明 |
|---|---|---|---|---|
limit | query | integer | 任意 | 既定値: 50; ≥ 1 |
cursor | query | string | 任意 | |
Docwize-Version | header | string (date) | 任意 |
リクエスト本文
| Content-Type | 型 |
|---|---|
application/json | WorkflowSearchInput |
応答
| ステータス | 説明 | 本文 |
|---|---|---|
200 | Success. | application/json object |
400 | invalid_version, malformed_json | application/problem+json Problem |
401 | token_expired, unauthenticated | application/problem+json Problem |
403 | forbidden, insufficient_scope, token_owner_inactive | application/problem+json Problem |
404 | not_found | application/problem+json Problem |
405 | method_not_allowed | application/problem+json Problem |
406 | not_acceptable | application/problem+json Problem |
410 | cursor_expired | application/problem+json Problem |
413 | payload_too_large | application/problem+json Problem |
415 | unsupported_media_type | application/problem+json Problem |
421 | wrong_region | application/problem+json Problem |
422 | invalid_cursor, validation_failed | application/problem+json Problem |
500 | internal_error | application/problem+json Problem |
503 | tenant_unavailable, unavailable | application/problem+json Problem |
504 | timeout | application/problem+json Problem |
200 の本文
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
items | Workflow の配列 | 必須 | |
next_cursor | string または null | 必須 | |
warnings | object の配列 | 必須 |
エラー
この操作が返す可能性のある problem のコードです。各コードからそのページに移動できます。
スキーマ
InboxDynamicFilterValueInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
dynamic_filter | string | 必須 | The id of one of the view's dynamic_filter_defs. |
value | string | 必須 | The value, as text; an empty one adds no filter, as in the Inbox. |
UserRef
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
display_name | string | 必須 | |
kind | string: user, system, integration または string | 必須 | |
user_id | string または null | 必須 |
Workflow
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
due_at | string (date-time) または null | 必須 | |
is_cancelled | boolean | 必須 | |
is_completed | boolean | 必須 | |
open_action_count | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
open_action_count_for_me | integer | 必須 | ≥ -2147483648; ≤ 2147483647 |
recipients | WorkflowRecipient の配列 | 必須 | Who the workflow was sent to (its recipients): the people and groups it shows to, beside the requests it sends them. |
started_at | string (date-time) または null | 必須 | |
started_by | UserRef | 必須 | |
status | string | 必須 | cancelled, failed, in_progress, completed or pending (open enum). |
subject | string | 必須 | |
template_name | string または null | 必須 | |
workflow_id | string | 必須 | |
workflow_template_version_id | string または null | 必須 | The version of the template the workflow runs. |
WorkflowRecipient
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
group_id | string または null | 必須 | |
type | string | 必須 | user, group or unknown (open enum). |
type_code | string または null | 必須 | The stored type code, for an unknown recipient type; null otherwise. |
user | UserRef または null | 必須 |
WorkflowSearchInput
| フィールド | 型 | 必須 | 説明 |
|---|---|---|---|
dynamic_filter_values | InboxDynamicFilterValueInput の配列 | 任意 | Values for the dynamic filters of inbox_view_id. |
filter_rules | object または null | 任意 | A rule group to filter by, in the format of a view's static_filters (inbox_view_static_filters, version 1); it adds to the view's filters, and every rule must hold. The fields to name are in list_inbox_filter_fields. |
inbox_view_id | string または null | 任意 | Open this saved view: its static filters apply, and a rule for each of its dynamic filters that dynamic_filter_values gives a value. A view you can see. |
is_ascending | boolean または null | 任意 | false (default) puts the largest or newest first. |
order_by | string: last_updated, name, action_count, favorites, overdue, completed または null | 任意 | last_updated (default), name, action_count, favorites, overdue or completed. |
search | string または null | 任意 | Words in the workflow's subject, its people or its documents, as the Inbox's search box reads them. |
status_filter | string: open_for_me, sent, outstanding または null | 任意 | The Inbox's tab: open_for_me, sent or outstanding. Left out, every workflow you can see that is not cancelled. |
workflow_template_name | string または null | 任意 | Workflows whose template's name contains this text, without regard to case. |