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": 10, "skip": 0, "order": 1, "sort": "name", "include": "description", "exclude": "_id", "in": "occaecat labore sint non in", "not-in": "sit velit irure dolor", "equals": "Lorem nisi labore cupidatat", "contains": "eiusmod consectetur", "starts-with": "laborum irure sint", "ends-with": "nostrud magna occaecat", "dereference": "aliquip nisi sint", "gt": "aliqua consectetur", "gte": "ut", "lt": "cillum consectetur fugiat velit veniam", "lte": "sint", "q": "minim", "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": "dB3Abbc3-Aba2-9Bfe-f6D4-b3dDB9BA93A8", "location": "Broker", "view": "deserunt", "status": "scheduled", "app": "Ut", "name": "dolor", "variables": { "decorators": [ { "type": "encryption", "pointer": "/fw5Xletb" }, { "type": "encryption", "pointer": "/~0" }, { "type": "encryption", "pointer": "/LaGA9bUna/jcX2J/~0/Gm/P" }, { "type": "encryption", "pointer": "/deCy3q0e/AFUay/~1" } ] }, "last_updated": "1964-12-20T21:56:56.937Z", "encodingVersion": 1, "job": { "_id": "4e89392bc426067139b9abcd", "task": "3a1f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "e4a5d4849b3f4eac46c76f83", "f57f7ec51329616bc1058eae", "fb6984a56e63576700a31a6d" ] }, "incomingRefs": [], "groups": [ { "_id": "a601766a84369d7704f85949", "provenance": "commodo eu cupidatat enim", "name": "labore pariatur commodo", "description": "non culpa ullamco mollit dolore", "memberOf": [ { "groupId": "fd63043eefe13f02603fa978", "aaaManaged": false }, { "groupId": "e6c48f31ba83799bfd024353", "aaaManaged": false }, { "groupId": "3700afc5d927ea130f1abc41", "aaaManaged": true }, { "groupId": "f0b50bd69930d39fdac36706", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cillum labore velit esse" }, { "roleId": "Excepteur tempor" } ], "inactive": false, "_meta": { "created": "1985-11-07T19:51:40.782Z", "updated": "2025-11-10T01:27:40.511Z", "migrationVersion": -1796866 } }, "217c00a7852d823e3e609194" ], "type": "operation", "metrics": { "start_time": "dolor sunt", "end_time": 94578858.21221396, "server_id": "dolor deserunt ullamco dolor quis", "finish_state": "success", "run_time": 48411852.047135055, "retrying": false, "user": "Pronghorn", "owner": "Pronghorn" } }, { "_id": "A26F68Cb-3DC4-9E5e-3Cf3-c2eC08C5a921", "location": "Application", "view": null, "status": "scheduled", "app": "nisi irure esse pariatur", "name": "nisi id in eu", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~0/RBdUBPS/W+If/~0/u5b/YjoyKXH6gVx/huOQl3+/~1/W-Y" }, { "type": "encryption", "pointer": "/bqVJ/~0/Ityo" }, { "type": "encryption", "pointer": "/~1/WIBYcxmG+1/K0/G/~0" }, { "type": "encryption", "pointer": "/Qp+OZxHRv/DoeMnvt45/~0/~0" } ] }, "last_updated": "2004-12-23T11:05:41.608Z", "encodingVersion": 1, "job": { "_id": "82dfb38989a4ec5b34c889f6", "task": "b4f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "incomingRefs": [], "groups": [ "00f8c4ebc0375fb63125477a" ], "type": "operation", "metrics": { "start_time": "sit et mollit aute in", "end_time": 74626234.06801409, "server_id": "ut consequat labore velit", "finish_state": "scheduled", "run_time": 51166442.124112606, "retrying": true, "user": "", "owner": { "_id": "9a673bd29d28829b4f4590b7", "provenance": "esse velit culpa aute id", "username": "nisi commodo dolore reprehenderit incididunt", "firstname": "culpa dolore commodo nostrud labore", "memberOf": [ { "groupId": "07c3bee2dd091f8ffd264597", "aaaManaged": false }, { "groupId": "4294529a3dffb3af6bcb7ee5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nostrud Duis qui reprehenderit anim" } ], "inactive": false, "lastLogin": "2021-06-16T11:01:28.067Z", "_meta": { "created": "1991-09-15T22:09:43.896Z", "updated": "1965-06-25T09:56:36.568Z", "migrationVersion": 87955818 }, "email": "ut enim" } } }, { "_id": "DD6D4aE4-0c61-843B-3eC0-f60e18Cf5Afb", "location": "Adapter", "view": "ut enim exercitation labore est", "status": "canceled", "app": "in eiusmod", "name": "irure adipisicing Duis", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~0/cKlnOzP" }, { "type": "encryption", "pointer": "/Aga/HiS2S7xT/~1/at/VpCarf,/~0/Snrq2/c4kzakxH5w/~0" }, { "type": "encryption", "pointer": "/~1/htVRAbevgL3/xYI7,9qJ/iQhfjZg8E/h.oPvFiYUM/z/wYlkhfw9//cTyqWZU8,+/~0/pIZHflq/~1" } ] }, "last_updated": "1952-10-06T13:23:49.664Z", "encodingVersion": 1, "job": { "_id": "5ca0a9728dbf9d0ba768e4c4", "task": "3a1f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "incomingRefs": [], "groups": [ { "_id": "769f3071da8714bdf2706402", "provenance": "do ut Ut", "name": "mollit Excepteur ad minim aliquip", "description": "non sint esse qui exercitation", "memberOf": [ { "groupId": "90ceb1c6faeacc1d33fbd738", "aaaManaged": true }, { "groupId": "ac631a2df79a292176a3e33f", "aaaManaged": true }, { "groupId": "a5f52c4d075bf851ce425632", "aaaManaged": true }, { "groupId": "21560be440aa06d5685710d7", "aaaManaged": true }, { "groupId": "4998daa488e6ba59f64cef4b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nisi aliquip cillum eiusmod deserunt" } ], "inactive": true, "_meta": { "created": "2003-01-06T20:53:03.861Z", "updated": "2000-07-08T17:40:33.574Z", "migrationVersion": 28741664 } }, "cde739c71e4cf27b42b1dfe4", { "_id": "d6761a51bc1d81e93ac1e559", "provenance": "ipsum dolor", "name": "labore tempor", "description": "irure et", "memberOf": [ { "groupId": "68056ea516312d36a02f8642", "aaaManaged": false }, { "groupId": "1afa6bd6aeb0788ff8d5fb06", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "consequat ex in et labore" }, { "roleId": "ad" }, { "roleId": "et" } ], "inactive": false, "_meta": { "created": "2013-07-20T14:28:40.23Z", "updated": "1968-11-15T18:57:21.381Z", "migrationVersion": -44730262 } } ], "type": "operation", "metrics": { "start_time": "amet aute", "end_time": 4936336.258208618, "server_id": "do et sed", "finish_state": "success", "run_time": -65464976.18354645, "retrying": null, "user": { "_id": "cdbbdfcdd3bb6335b61092c9", "provenance": "cupidatat dolor sint minim Excepteur", "username": "mollit", "firstname": "esse aliqua", "memberOf": [ { "groupId": "122562677362d842ecffde61", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "velit sint irure" } ], "inactive": true, "lastLogin": "1996-12-28T17:38:41.023Z", "_meta": { "created": "2019-12-03T09:00:51.766Z", "updated": "2004-06-14T11:27:50.238Z", "migrationVersion": -91132966 }, "email": "ullamco commodo consectetur" }, "owner": "Pronghorn" } }, { "_id": "E90bAfe0-3FdD-7e1F-E5F7-d2cE7c2128aF", "location": "Broker", "view": "id eiusmod ex aliquip non", "status": "scheduled", "app": "officia", "name": "aute minim Ut amet", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~1/nxX/gEFQV/JJQEaJBJs/~1" }, { "type": "encryption", "pointer": "/~1/~0/Z/~0/~0/f5/oVj/~0" }, { "type": "encryption", "pointer": "/h9yMdG/AxmFB/s/~0/~1/vZ/VhtfF/~1/~0/~0/~1/WOR+Iw4ph" }, { "type": "encryption", "pointer": "/~1/cZPvt9Bd0y/iP/cS+gz/pol0fHR2" } ] }, "last_updated": "1976-06-03T04:57:27.438Z", "encodingVersion": 1, "job": { "_id": "29d6fa07ad18d52cd9b68809", "task": "e28f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": null }, "incomingRefs": [], "groups": [ { "_id": "0d6bf58b22d4d5a5f5d8b218", "provenance": "Ut non", "name": "adipisicing cupidatat culpa amet", "description": "cupidatat et occaecat", "memberOf": [ { "groupId": "1fe222cb4cca3a549618350a", "aaaManaged": false }, { "groupId": "f9940416a5b3680ba57a069c", "aaaManaged": false }, { "groupId": "7ff6252a96709a2f7e089025", "aaaManaged": true }, { "groupId": "1ff7fe25ec92e3dc1bf98e5b", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eu" }, { "roleId": "Duis velit" } ], "inactive": false, "_meta": { "created": "1978-02-19T11:58:50.293Z", "updated": "1971-11-11T06:19:22.981Z", "migrationVersion": 17370788 } }, "f06e02cbb51211a695329155", { "_id": "2e744426c7f3f273bfae5c9c", "provenance": "Excepteur", "name": "in commodo nisi irure", "description": "sit laborum esse", "memberOf": [ { "groupId": "a9a5c5b0154e05ea9c461832", "aaaManaged": false }, { "groupId": "dad44319fcd251bd84a5ca56", "aaaManaged": true }, { "groupId": "2a2372b85fefd0f4359f71aa", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eu consectetur cillum" } ], "inactive": true, "_meta": { "created": "1963-07-24T08:16:47.319Z", "updated": "1951-10-11T17:29:41.012Z", "migrationVersion": 81887478 } } ], "type": "operation", "metrics": { "start_time": "eu", "end_time": 66089028.466813505, "server_id": "minim ex", "finish_state": "success", "run_time": 86346641.61441964, "retrying": false, "user": "Pronghorn", "owner": "da49407dbb17b904882fdf46" } }, { "_id": "C7A0ba96-eFB8-20b5-b568-366a6C8ce3f6", "location": "Adapter", "view": "elit culpa dolore est tempor", "status": "complete", "app": "aute Ut", "name": "pariatur Excepteur Duis est", "variables": { "decorators": [ { "type": "encryption", "pointer": "/~1/~0/i7W/~1/~1/gvP/xxbPlNsL.V/ZtUTb,K0OY1/b/~1/~0" }, { "type": "encryption", "pointer": "/LljAo4-Gr/i" } ] }, "last_updated": "1998-06-13T20:45:02.684Z", "encodingVersion": 1, "job": { "_id": "aa2084160441e19bc11eb5ac", "task": "e28f", "name": "myCoolDocumentName", "description": "Some helpful information about the document", "ancestors": [ "aaf29f298fc299db73891eeb", "130bd511b709c11a81336d2f", "66e8c5541526fe62f2216207", "82e2fe2785f58675f0a8d19d", "02aaba26489b30a0283bab79" ] }, "incomingRefs": [], "groups": [ "78a9dcdd04ddb4bdb46af93e", { "_id": "3da242c64a5ec29f2af9313a", "provenance": "minim in Duis quis aliquip", "name": "sed occaecat culpa et ullamco", "description": "officia labore nisi reprehenderit culpa", "memberOf": [ { "groupId": "bfd02b54f1602a62c22e6888", "aaaManaged": true }, { "groupId": "ce1289175411130b63c3daa7", "aaaManaged": true }, { "groupId": "5452949b3df0260039cb948c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ullamco" }, { "roleId": "reprehenderit deserunt aliqua aliquip in" }, { "roleId": "aute eu in enim sed" } ], "inactive": true, "_meta": { "created": "1958-08-24T09:28:22.405Z", "updated": "2000-06-23T15:29:23.609Z", "migrationVersion": 35282306 } }, "809a6b67fa2dd5cb56ea3a62" ], "type": "operation", "metrics": { "start_time": "aliquip fugiat", "end_time": 88583204.46126112, "server_id": "Lorem incididunt", "finish_state": "canceled", "run_time": 68264098.73332593, "retrying": null, "user": { "_id": "9c002d519d122635c24c8127", "provenance": "officia voluptate aute sunt", "username": "cupidatat aute", "firstname": "ipsum magna quis aliqua pariatur", "memberOf": [ { "groupId": "1fccdc69e079a6b0855dc467", "aaaManaged": false }, { "groupId": "eef99a0c214bcdbfc761af4b", "aaaManaged": false }, { "groupId": "02559c4f7718dcb9c64193ab", "aaaManaged": true }, { "groupId": "96e3d255794c601c2596cf0f", "aaaManaged": false }, { "groupId": "05e8c5da06a801fab96a01df", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliqua mollit" } ], "inactive": false, "lastLogin": "1953-07-24T22:05:32.141Z", "_meta": { "created": "2010-02-14T00:49:28.1Z", "updated": "1987-06-11T13:05:10.531Z", "migrationVersion": 69510998 }, "email": "est" }, "owner": { "_id": "e09b92aada0b2c46057fe908", "provenance": "eiusmod ea", "username": "nostrud sit irure", "firstname": "reprehenderit veniam", "memberOf": [ { "groupId": "5cb1250506dab360a88b03bf", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "fugiat adipisicing anim" }, { "roleId": "consectetur" } ], "inactive": true, "lastLogin": "1955-11-30T19:40:51.391Z", "_meta": { "created": "1997-06-12T07:17:17.161Z", "updated": "2016-08-05T04:13:23.547Z", "migrationVersion": -30826447 }, "email": "consequat ad ullamco sed" } } } ], "metadata": { "skip": -18090255, "limit": -9828684, "total": 52515122, "nextPageSkip": 74428502, "previousPageSkip": 58355208, "currentPageSize": -77909540 } }
{ "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" } } } ] }