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": [
"owner",
"user",
"owner",
"owner"
],
"fields": {
"name": 1
},
"query": {
"name": "abcd"
},
"limit": 50,
"local": true,
"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": [
"683e19ef47e1a18905138426"
],
"_id": "4cd2542d-c4bf-f0a0-883b-021b739a057d",
"description": "consequat",
"font_size": 12,
"created": "1948-07-05T17:33:15.837Z",
"created_by": "c542976cb2659b59bce392e7",
"last_updated": "1991-05-02T01:36:57.541Z",
"last_updated_by": "2ef5285889038ff5c619dc25",
"tags": []
},
{
"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": [
"4a45fe8a7acc493bc6897440",
"5a9c896fb4b8c620d5fdd163",
"59b472e81525141753ec2f62",
"f27dfa1ed411d01156adfaab"
],
"_id": "9e2e1a73-bae2-81f8-1fbe-0873b8d7a0f7",
"description": null,
"font_size": 12,
"created": "1982-04-18T20:16:54.967Z",
"created_by": "97c4a7cb24bd9fe7143c69bd",
"last_updated": "2006-04-04T07:31:38.537Z",
"last_updated_by": "aa0c48bff71eef8eb2fc4835",
"tags": []
}
],
"skip": 0,
"limit": 50,
"total": 100
}