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",
"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": [
"5cf80c3556df7ee0b4d96e22",
"2695d0962b65e16bdecf7c5a",
"24841005f063a0c9e1741a02",
"363b0afff09e0c61c696b814",
"ba0c9320559b0223e3887c39"
],
"_id": "4321abcdef694aa79dae47ad",
"description": null,
"font_size": 12,
"created": "1952-09-14T15:41:43.419Z",
"created_by": "26b44b82d230db8972b2047a",
"last_updated": "1978-03-13T00:47:22.673Z",
"last_updated_by": "cf7feb640fd4094e43562ed4",
"tags": []
}
],
"skip": 0,
"limit": 50,
"total": 100
}