Summary
Search Workflows
Description
Search Workflows with Options
Route
POST /workflow_engine/workflows/search
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
options |
object |
yes |
expand, fields, query, limit, skip, sort |
Copied to Clipboard
{
"options": {
"expand": [
"created_by",
"user",
"owner",
"owner"
],
"fields": {
"name": 1
},
"limit": 50,
"local": false,
"skip": 0,
"sort": {
"name": -1
}
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
workflows |
object |
Search Results |
Copied to Clipboard
{
"results": [
{
"name": "My Workflow",
"type": "automation",
"tasks": {
"workflow_start": {
"name": "workflow_start",
"summary": "workflow_start",
"groups": [],
"x": 0.36142061281337046,
"y": 0.502092050209205
},
"workflow_end": {
"name": "workflow_end",
"summary": "workflow_end",
"groups": [],
"x": 0.36142061281337046,
"y": 0.502092050209205
}
},
"transitions": {},
"groups": [
"e14821153602b8483d15efce",
"f85808142a87c616316a623c",
"b2431cdc3d84277b6efb82c0",
"ace82888fbbb1adf1c57d0e9"
],
"_id": "e12411e1-f3a8-6747-baae-049cad684f79",
"description": "sunt voluptate qui ad",
"font_size": 12,
"created": "2014-09-21T06:21:47.581Z",
"created_by": "dc147d1c8d6c3dd72d9d70f6",
"last_updated": "1967-08-09T20:44:37.416Z",
"last_updated_by": "5f93cb45f023d00e8323d301"
}
],
"skip": 0,
"limit": 50,
"total": 100
}