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": [
"user",
"owner",
"created_by",
"created_by"
],
"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": [
"66a79465c123a6f51e4cbc11",
"134d2abef20e48f67c62a77a"
],
"_id": "b05ee1a0-efc5-6096-0918-252e63eab860",
"description": null,
"font_size": 12,
"created": "1951-07-10T05:04:47.675Z",
"created_by": "56166a2ce2e8dec54e5574b6",
"last_updated": "1972-11-06T08:16:28.418Z",
"last_updated_by": "a7ac6429115a9968ba014c1e",
"tags": []
}
],
"skip": 0,
"limit": 50,
"total": 100
}