@@ -74,45 +74,45 @@ async def list_applications() -> dict[str, Any]:
7474async def list_workflows (
7575 application_name : str ,
7676 workflow_uuids : list [str ] | None = None ,
77- workflow_name : str | None = None ,
78- authenticated_user : str | None = None ,
77+ workflow_name : str | list [ str ] | None = None ,
78+ authenticated_user : str | list [ str ] | None = None ,
7979 start_time : str | None = None ,
8080 end_time : str | None = None ,
81- status : str | None = None ,
82- application_version : str | None = None ,
83- forked_from : str | None = None ,
84- parent_workflow_id : str | None = None ,
85- queue_name : str | None = None ,
81+ status : str | list [ str ] | None = None ,
82+ application_version : str | list [ str ] | None = None ,
83+ forked_from : str | list [ str ] | None = None ,
84+ parent_workflow_id : str | list [ str ] | None = None ,
85+ queue_name : str | list [ str ] | None = None ,
8686 limit : int | None = None ,
8787 offset : int | None = None ,
8888 sort_desc : bool | None = None ,
89- workflow_id_prefix : str | None = None ,
89+ workflow_id_prefix : str | list [ str ] | None = None ,
9090 load_input : bool | None = None ,
9191 load_output : bool | None = None ,
92- executor_id : str | None = None ,
92+ executor_id : str | list [ str ] | None = None ,
9393 queues_only : bool | None = None ,
9494) -> dict [str , Any ]:
9595 """List workflows from DBOS Conductor with optional filters.
9696
9797 Args:
9898 application_name (string, required): Name of the DBOS application
9999 workflow_uuids (array of strings, optional): Filter to only these specific workflow IDs
100- workflow_name (string, optional): Filter by workflow function name
101- authenticated_user (string, optional): Filter by the user who started the workflow
100+ workflow_name (string or array of strings , optional): Filter by workflow function name
101+ authenticated_user (string or array of strings , optional): Filter by the user who started the workflow
102102 start_time (string, optional): Filter workflows created after this time (ISO 8601)
103103 end_time (string, optional): Filter workflows created before this time (ISO 8601)
104- status (string, optional): Filter by status - PENDING, SUCCESS, ERROR, CANCELLED, ENQUEUED, or MAX_RECOVERY_ATTEMPTS_EXCEEDED
105- application_version (string, optional): Filter by application version
106- forked_from (string, optional): Filter to workflows forked from this workflow ID
107- parent_workflow_id (string, optional): Filter to child workflows of this parent workflow ID
108- queue_name (string, optional): Filter by workflow queue name
104+ status (string or array of strings , optional): Filter by status - PENDING, SUCCESS, ERROR, CANCELLED, ENQUEUED, or MAX_RECOVERY_ATTEMPTS_EXCEEDED
105+ application_version (string or array of strings , optional): Filter by application version
106+ forked_from (string or array of strings , optional): Filter to workflows forked from this workflow ID
107+ parent_workflow_id (string or array of strings , optional): Filter to child workflows of this parent workflow ID
108+ queue_name (string or array of strings , optional): Filter by workflow queue name
109109 limit (int, optional): Maximum number of workflows to return
110110 offset (int, optional): Number of workflows to skip (for pagination)
111111 sort_desc (bool, optional): Sort by creation time descending (default: false, ascending)
112- workflow_id_prefix (string, optional): Filter to workflow IDs starting with this prefix
112+ workflow_id_prefix (string or array of strings , optional): Filter to workflow IDs starting with this prefix
113113 load_input (bool, optional): Include workflow input data in response (default: false)
114114 load_output (bool, optional): Include workflow output data in response (default: false)
115- executor_id (string, optional): Filter by executor ID running the workflow
115+ executor_id (string or array of strings , optional): Filter by executor ID running the workflow
116116 queues_only (bool, optional): Only return workflows that are on a queue (default: false)
117117
118118 Returns:
0 commit comments