Summary
Gets Tasks
Description
Search the Task collection.
Route
GET /operations-manager/tasks
Roles
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| queryParameters | object | yes | The query parameters available for this method. |
{ "queryParameters": { "limit": 50, "skip": 1, "order": 1, "sort": "name", "include": "description", "exclude": "_id", "in": "elit cillum", "not-in": "aliquip fugiat", "equals": "proident sint Lorem", "contains": "laboris Ut aute", "starts-with": "et sit pariatur mollit sunt", "ends-with": "mollit Ut sit in occaecat", "dereference": "adipisicing Duis ipsum aliquip sit", "gt": "fugiat amet aliquip Duis in", "gte": "Lorem", "lt": "veniam", "lte": "pariatur anim Lorem amet", "q": "id", "actionableTasks": false } }
{ "type": "object", "properties": { "queryParameters": { "title": "queryParameters", "type": "object", "properties": { "limit": { "type": "integer", "description": "Number of results to return. Used for pagination.", "default": 25, "minimum": 0, "examples": [ 1, 10, 50 ] }, "skip": { "type": "integer", "description": "Number of results to skip. Used for pagination.", "default": 0, "minimum": 0, "examples": [ 1, 10, 50 ] }, "order": { "type": "integer", "description": "Sort direction, 1 for ascending and -1 for descending.", "default": 1, "enum": [ -1, 1 ] }, "sort": { "type": "string", "description": "Field to sort by", "default": "name", "enum": [ "name" ] }, "include": { "type": "string", "description": "Inclusive projection operator formatted as a comma-delineated list. '_id' will be included implicitly unless excluded with 'exclude=_id'. May only be used in conjunction with 'exclude' when 'exclude=_id'.", "examples": [ "name", "description", "name,description" ] }, "exclude": { "type": "string", "description": "Exclusive projection operator formatted as a comma-delineated list. May only be used in conjunction with 'include' when 'exclude=_id'.", "examples": [ "_id", "description", "_id,description" ] }, "in": { "description": "Search for fields exactly matching one of the given list options", "type": "string" }, "not-in": { "description": "Search for fields not exactly matching one of the given list options", "type": "string" }, "equals": { "description": "Returns results where the specified fields exactly match the given match string(s).", "type": "string" }, "contains": { "description": "Returns results where the specified fields contain the given match string(s).", "type": "string" }, "starts-with": { "description": "Returns results where the specified fields start with the given match string(s).", "type": "string" }, "ends-with": { "description": "Returns results where the specified fields end in the given match string(s).", "type": "string" }, "dereference": { "description": "Designates foreign key fields to dereference in the API output.", "type": "string" }, "gt": { "description": "Returns results where the specified fields have values greater than the specified values.", "type": "string" }, "gte": { "description": "Returns results where the specified fields have values greater than or equal to the specified values.", "type": "string" }, "lt": { "description": "Returns results where the specified fields have values less than the specified values.", "type": "string" }, "lte": { "description": "Returns results where the specified fields have values less than or equal to the specified values.", "type": "string" }, "q": { "description": "Accepts a full query expression as a URL-encoded JSON object. Supports all other query operators, in addition to logical conjunction with 'and', disjunction with 'or', and negation with 'not'. May be combined with other top-level operators.", "type": "string" }, "actionableTasks": { "type": "boolean", "description": "If true, only returns actionable tasks that the current user has write access to.", "default": false } } } }, "required": [ "queryParameters" ], "additionalProperties": false }
Return
| Name | Type | Description |
|---|---|---|
| result | object | The Tasks that matched the search query. |
{ "message": "Successfully retrieved search results", "data": [ { "_id": "BdCa1a80-fbDC-0F3A-8bF3-3D38Eba4eeAB", "location": "Adapter", "view": "reprehenderit quis exercitation dolore", "status": "paused", "app": "aute veniam ut ullamco", "name": "irure", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~0/n0J/P.GhRpIh" }, { "type": "encryption", "pointer": "/~1/~0/Lgh4nI/AuVEAKC/jEM/w1+obEC5,Ii/~1" } ] }, "last_updated": "2023-03-26T23:43:58.59Z", "encodingVersion": 1, "job": { "_id": "c4792bb8313e1e4361d5d3e7", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "418dc0e3c3a5cf28b731a00d" ] }, "groups": [ { "_id": "5b4d0c17fbb1b162bbd2fc59", "provenance": "ex Excepteur dolore et", "name": "eiusmod sunt aute pariatur quis", "description": "voluptate ipsum ex", "memberOf": [ { "groupId": "be1d337a8931272d7ce43062", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "exercitation tempor non qui" }, { "roleId": "exercitation in laborum labore" } ], "inactive": false, "_meta": { "created": "1999-10-25T14:24:03.953Z", "updated": "1962-05-12T03:47:46.06Z", "migrationVersion": 92040549 } }, { "_id": "b5f6be14e60e53af4f9f0f21", "provenance": "dolor magna laborum", "name": "labore ea tempor Lorem", "description": "in velit adipisicing aliquip", "memberOf": [ { "groupId": "776062317e6d12c49d6cb00d", "aaaManaged": false }, { "groupId": "5e4f36e039442a739e91e793", "aaaManaged": false }, { "groupId": "f1bf40e4bc40dcf49b8506fe", "aaaManaged": false }, { "groupId": "c78bf03077b8e4bda2e5d051", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "non" }, { "roleId": "sunt dolore consequat" }, { "roleId": "Excepteur elit eu qui cillum" }, { "roleId": "mollit occaecat" }, { "roleId": "consectetur nisi id" } ], "inactive": false, "_meta": { "created": "2002-12-19T09:42:40.873Z", "updated": "1996-09-29T20:28:59.824Z", "migrationVersion": 40687624 } } ], "type": "manual", "metrics": { "start_time": "eu incididunt minim", "claim_time": "2020-06-23T09:13:47.956Z", "end_time": 40249205.65258023, "server_id": "sint deserunt velit proident commodo", "finish_state": "success", "run_time": 41293249.305532336, "user": "eef0805c1e62138c54054b2f", "owner": { "_id": "8c89c1500b0b21776b842fa4", "provenance": "id dolore nisi in", "username": "tempor voluptate ut", "firstname": "Excepteur labore irure occaecat", "memberOf": [ { "groupId": "248659a224d5c14f86d8ede4", "aaaManaged": false }, { "groupId": "da90562b2c22b2d27b9fc237", "aaaManaged": true }, { "groupId": "9f07a07492804eaf8e046592", "aaaManaged": false }, { "groupId": "7f88ac8b6d32a2e669ab7303", "aaaManaged": false }, { "groupId": "091d26fb6ecff2a94d681528", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ipsum pariatur incididunt labore" }, { "roleId": "nulla sit consequat" }, { "roleId": "pariatur commodo cupidatat aliquip in" }, { "roleId": "sint in sunt nulla" }, { "roleId": "consequat proident ipsum" } ], "inactive": false, "lastLogin": "2022-12-07T21:57:19.437Z", "_meta": { "created": "2008-06-28T19:56:19.841Z", "updated": "1989-07-04T18:30:31.209Z", "migrationVersion": -25985453 }, "email": "eu fugiat ut" } } }, { "_id": "3D5D88F9-eeFA-8bd5-d9Bc-EDFe434fbFcB", "location": "Application", "view": "id incididunt", "status": "canceled", "app": "exercitation", "name": "laborum dolore elit reprehenderit quis", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~1/ZTrQA/Hsy61/yED5ObR0/~1/~0" }, { "type": "encryption", "pointer": "/~1/~0/~0/tw/sP./va4A/U6h2BgJYB6d/~1/~1" }, { "type": "encryption", "pointer": "/~0/~1/~1" }, { "type": "encryption", "pointer": "/~0/bMA/96/mA0AfY/~0/~0/~1/sghyb/Z/~1" }, { "type": "encryption", "pointer": "/~1/RGlD/~1/~1/gZIOtHIe/bWg2xVWy" } ] }, "last_updated": "1965-07-25T06:41:11.908Z", "encodingVersion": 1, "job": { "_id": "2dcefa70aa0f4a8445885dc2", "task": "e28f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "groups": [ "2ef0fe52f85599c8d94816a7", { "_id": "175215f9612c9538adc74827", "provenance": "voluptate dolor cupidatat commodo laboris", "name": "do ad culpa consequat", "description": "quis ut minim", "memberOf": [ { "groupId": "78a94ef478ad514e7f32ac3c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "est qui" }, { "roleId": "nisi sit in" }, { "roleId": "anim consequat" }, { "roleId": "ut eu" } ], "inactive": true, "_meta": { "created": "1968-12-10T20:30:00.497Z", "updated": "1994-12-10T06:13:46.349Z", "migrationVersion": 75946742 } }, { "_id": "30d86be1705771d330cec155", "provenance": "Duis ea minim enim", "name": "voluptate enim sint labore", "description": "dolor Duis", "memberOf": [ { "groupId": "796489d607e257ae775fa0a0", "aaaManaged": true }, { "groupId": "1542c75953693bcd51e7eceb", "aaaManaged": true }, { "groupId": "89ffb42d0c9cf12e2ede40b0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "sit" }, { "roleId": "dolore" }, { "roleId": "cupidatat anim exercitation in" }, { "roleId": "sint non" }, { "roleId": "sunt labore anim ut consequat" } ], "inactive": false, "_meta": { "created": "1965-03-06T15:17:29.045Z", "updated": "1973-09-16T01:44:48.25Z", "migrationVersion": -39775463 } }, "37349878bd8302b8d07f7f14", { "_id": "702d6aa0d5358bbbfc5652c8", "provenance": "et labore ullamco do eiusmod", "name": "incididunt quis reprehenderit magna", "description": "reprehenderit culpa qui nostrud", "memberOf": [ { "groupId": "446c2fdfc246900dd70bce09", "aaaManaged": false }, { "groupId": "db2db9aa58fe3411d98cf9dd", "aaaManaged": true }, { "groupId": "1e11dbdc4cdc61f855f96176", "aaaManaged": false }, { "groupId": "7e1e0cf975be01e8090cf2db", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "voluptate" }, { "roleId": "dolore laborum tempor" } ], "inactive": false, "_meta": { "created": "2001-08-07T18:02:29.639Z", "updated": "1950-01-21T23:01:59.523Z", "migrationVersion": 37406160 } } ], "type": "manual", "metrics": { "start_time": "ullamco nostrud sit mollit consectetur", "claim_time": "2023-07-03T03:43:40.523Z", "end_time": 48882133.32287243, "server_id": "fugiat dolore eu sit", "finish_state": "complete", "run_time": -70848397.77319133, "user": { "_id": "b5909128420b21f86c61689d", "provenance": "mollit", "username": "aute irure in dolor ut", "firstname": "fugiat sit ipsum nisi et", "memberOf": [ { "groupId": "c647c1cc6a157189fa6982f7", "aaaManaged": false }, { "groupId": "52dbb19efcc7181799f31b40", "aaaManaged": true }, { "groupId": "f81fb5c121e9ab6f2ce063c7", "aaaManaged": false }, { "groupId": "5c252f24eabeb28b46d61e7f", "aaaManaged": false }, { "groupId": "19e18cce70d9f7150837ef31", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "cupidatat" }, { "roleId": "in occaecat" } ], "inactive": true, "lastLogin": "2012-05-10T17:36:28.57Z", "_meta": { "created": "1989-12-06T19:04:02.059Z", "updated": "1973-02-08T06:32:05.844Z", "migrationVersion": -58111993 }, "email": "minim occaecat" }, "owner": { "_id": "dd3e9140fc057abe0c41de34", "provenance": "minim culpa et ut", "username": "ex sed", "firstname": "deserunt aliquip laborum", "memberOf": [ { "groupId": "dcf08a74fc41edbd874f29bd", "aaaManaged": true }, { "groupId": "17d1d5f741b52660db23c760", "aaaManaged": true }, { "groupId": "00cb23bc47858e6238b73b89", "aaaManaged": true }, { "groupId": "30740013e71046cdd55d141a", "aaaManaged": false }, { "groupId": "613cc3f7614011361e76f4e1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "incididunt proident irure ad et" }, { "roleId": "est amet pariatur" }, { "roleId": "sunt deserunt esse tempor" } ], "inactive": true, "lastLogin": "1990-09-05T05:48:08.569Z", "_meta": { "created": "2025-06-07T23:44:21.324Z", "updated": "1952-10-31T02:12:25.337Z", "migrationVersion": 69040804 }, "email": "ea labore enim eu nostrud" } } }, { "_id": "6e58Bc37-295E-ffaf-5cf0-2F79C2A661d7", "location": "Adapter", "view": null, "status": "failure", "app": "sit", "name": "dolor est labore commodo ad", "variables": { "decorators": [ { "type": "encryption", "pointer": "/J/bFVNnlw/O.z/vMd6K7+/~1/U6/~1/z2/RS1A31/~0/~1" }, { "type": "encryption", "pointer": "/CU3z1/~1/y/QdzgWHe2/Zgfr" } ] }, "last_updated": "1969-01-31T14:10:44.391Z", "encodingVersion": 1, "job": { "_id": "335518eb9d271694e97436e9", "task": "3a1f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "groups": [ { "_id": "e77cf527dbe068875937b3b9", "provenance": "eiusmod non aliquip ea ipsum", "name": "incididunt tempor sunt", "description": "ut ullamco", "memberOf": [ { "groupId": "70bb36b852e895cd0d47dbc8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "cillum dolor dolor" }, { "roleId": "anim" }, { "roleId": "eiusmod" }, { "roleId": "id nisi et" }, { "roleId": "ex incididunt consectetur reprehenderit laboris" } ], "inactive": false, "_meta": { "created": "2012-11-05T19:06:10.249Z", "updated": "1982-06-22T13:27:57.556Z", "migrationVersion": -97920379 } } ], "type": "manual", "metrics": { "start_time": "amet officia veniam quis", "claim_time": "1994-04-21T05:03:05.988Z", "end_time": 98006783.03140092, "server_id": "occaecat exercitation reprehenderit", "finish_state": "success", "run_time": -62106827.37184063, "user": { "_id": "369acb1bb4a7fefa4f827b63", "provenance": "dolor eiusmod aliquip proident velit", "username": "voluptate minim", "firstname": "aute elit", "memberOf": [ { "groupId": "8abd1aedcf5a92183c295329", "aaaManaged": false }, { "groupId": "16344070acbee23014567487", "aaaManaged": false }, { "groupId": "5f4fd72c45386c7423ac363f", "aaaManaged": true }, { "groupId": "1f83ab987b7d5b21820e4162", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "cupidatat nisi" }, { "roleId": "veniam cillum ipsum sit proident" }, { "roleId": "labore qui dolor cupidatat aliquip" } ], "inactive": true, "lastLogin": "2017-04-12T19:55:23.38Z", "_meta": { "created": "1952-12-25T07:38:08.324Z", "updated": "1999-07-20T05:52:52.792Z", "migrationVersion": -27256540 }, "email": "in" }, "owner": "f8a10ea0739aa1af30449d8a" } }, { "_id": "cDc061c6-fFeB-f94B-Be36-a8b321EeF30f", "location": "Application", "view": null, "status": "canceled", "app": "commodo cillum dolor dolor laboris", "name": "cillum anim amet", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~0/jRwOE" }, { "type": "encryption", "pointer": "/~1/o/AmiR9QOv,/XaS,SLBa7+N/~0/~0" }, { "type": "encryption", "pointer": "/~0/jmV6iO/upZY1osKp3/~1/~0/OvIl430g20" }, { "type": "encryption", "pointer": "/~1/~0/cG/~0" } ] }, "last_updated": "1976-07-24T09:29:47.198Z", "encodingVersion": 1, "job": { "_id": "f7cfe4121438ea31fd45219a", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "31c30255eecabe2ccfe7866e", "6165815f836ffaa977fdb61c", "0c307e2e23fa62b9a219ea68", "5665564442c59905532d6210", "e84cdf72bc232ba969296019" ] }, "groups": [ "bfbf7d6d1d38e62d5c3def45" ], "type": "manual", "metrics": { "start_time": "id et officia dolore cupidatat", "claim_time": "1968-08-08T01:18:47.525Z", "end_time": -90844538.2631617, "server_id": "est mollit voluptate ut sed", "finish_state": "success", "run_time": -43896910.48980464, "user": { "_id": "cebfddae01fac47ff82701e9", "provenance": "sint do Excepteur incididunt Ut", "username": "nostrud esse do", "firstname": "in dolore ex", "memberOf": [ { "groupId": "2947755f990e6bacc5c9949c", "aaaManaged": true }, { "groupId": "61288f69c3ce1ff0046d8444", "aaaManaged": true }, { "groupId": "d2cb4b4c70d7d186e2ff0ccd", "aaaManaged": false }, { "groupId": "c60deb73d6ce13745594d4a1", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "incididunt irure" } ], "inactive": true, "lastLogin": "1956-07-15T12:24:46.558Z", "_meta": { "created": "1958-12-08T19:05:33.676Z", "updated": "2024-02-13T13:53:43.169Z", "migrationVersion": -12422635 }, "email": "ex esse veniam" }, "owner": "Pronghorn" } } ], "metadata": { "skip": -23464016, "limit": 12248135, "total": -85202289, "nextPageSkip": null, "previousPageSkip": null, "currentPageSize": 74309960 } }
{ "title": "result", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "task-api" } }, "metadata": { "$ref": "common-api#/definitions/pagination-metadata" } } } ] }