Summary
Search Tasks
Description
Search Tasks with Options
Route
POST /workflow_engine/tasks/search
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
filter |
object |
yes |
Search Filter |
options |
object |
yes |
expand, fields, query, local, limit, skip, sort |
Copied to Clipboard
{
"filter": {
"someFieldName": "Some Value to query the against the someFieldName property"
},
"options": {
"expand": [
"owner",
"user",
"owner",
"created_by",
"created_by"
],
"fields": {
"name": 1
},
"query": {
"name": "abcd"
},
"limit": 50,
"local": false,
"skip": 0,
"sort": {
"name": -1
}
}
}
Return
DetailsExampleSchema
Name |
Type |
Description |
tasks |
object |
Search Results |
Copied to Clipboard
{
"results": [
{
"_id": "5cb7b531d06cceb89fd21b1c",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "12ab",
"ancestors": [
"4321abcdef694aa79dae47ad"
],
"name": true,
"description": 31623492
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "nisi"
},
{
"type": "encryption",
"pointer": "nisi"
},
{
"type": "encryption",
"pointer": "ut aute deserunt amet"
},
{
"type": "encryption",
"pointer": "eiusmod cillum pariatur tempor Duis"
},
{
"type": "encryption",
"pointer": "labore elit"
}
]
},
"metrics": {
"retrying": true
},
"name": true,
"summary": true,
"displayName": -67633521,
"type": 99980067.41611451,
"x": 37579241,
"y": 12038500.217616305
},
{
"_id": "4321abcdef694aa79dae47ad",
"job": {
"_id": "5cb7b531d06cceb89fd21b1c",
"task": "cd34",
"ancestors": [
"4321abcdef694aa79dae47ad",
"5cb7b531d06cceb89fd21b1c",
"5cb7b531d06cceb89fd21b1c"
],
"name": false,
"description": 14944653
},
"variables": {
"incoming": {
"inputVariable": "inputValue"
},
"outgoing": {
"outputVariable": null
},
"error": "",
"decorators": [
{
"type": "encryption",
"pointer": "veniam aliqua laborum ex"
},
{
"type": "encryption",
"pointer": "ad proident"
},
{
"type": "encryption",
"pointer": "culpa Excepteur mollit"
},
{
"type": "encryption",
"pointer": "fugiat mollit aliquip"
}
]
},
"metrics": {
"retrying": true
},
"name": 33299226,
"summary": false,
"displayName": false,
"type": true,
"x": false,
"y": true
}
],
"skip": 0,
"limit": 50,
"total": 100
}