Summary
Get a Job
Description
Get a Job.
Route
GET /operations-manager/jobs/:id
Roles
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | yes | The id of the Job to get. |
| queryParameters | object | yes | Optional parameters for projecting fields in the Job document. |
{ "queryParameters": { "include": "name,description", "exclude": "description", "dereference": "accounts.createdBy" } }
{ "type": "object", "properties": { "queryParameters": { "title": "queryParameters", "type": "object", "properties": { "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" ] }, "dereference": { "type": "string", "description": "Designates foreign key fields to dereference in the API output.", "examples": [ "tasks", "accounts.createdBy" ] } } } }, "required": [ "queryParameters" ], "additionalProperties": false }
Return
| Name | Type | Description |
|---|---|---|
| job | object | The requested Job. |
{ "message": "Successfully retrieved search results", "data": { "_id": "b01f30327785b4731618629d", "font_size": -58840288, "type": "resource:action", "created": "1955-12-14T21:39:57.04Z", "last_updated": "2021-10-14T16:29:30.409Z", "createdVersion": "22770655384.6.81-8881.1249.7.73", "lastUpdatedVersion": "47.8740.8", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": 68725077, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -75420121.05566745, "sla": -92857629.85951203, "decorators": [ { "type": "encryption", "pointer": "/i8bapFv9iW/~0/~0" }, { "type": "encryption", "pointer": "/EuG9Frg/bV5Zm98,kAq/~0/Wiy/~0/~1" }, { "type": "encryption", "pointer": "/~1/Mx/YDZqj,X/~1/r/~1/~1/~1/~0/~1/rK" } ], "status": "incomplete", "tags": [], "error": [ { "task": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 }, { "task": "job", "message": "Job has no available transitions. c841 could have led to the workflow end task, but did not. These tasks performed in a way that the end of the workflow could not be reached.", "timestamp": 1627323002574 }, { "task": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 }, { "task": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 }, { "task": "f9a9", "message": { "code": 500, "message": { "apiVersion": "1", "method": "transformations.run", "error": { "code": 500, "message": "Missing one of the following required instances: arg2, arg1", "errors": [] } } }, "timestamp": 1627323002561 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": "nisi Lorem cillum" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "eiusmod proident do labore" }, { "task": "workflow_end", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "proident non culpa", "dataPath": "aliqua", "schemaPath": "occaecat id tempor quis Lorem", "message": "enim velit eu dolore consectetur" } ], "created_by": { "_id": "4cca60bb9dba2407e0906b65", "provenance": "in", "username": "anim incididunt pariatur", "firstname": "labore", "memberOf": [ { "groupId": "fd3de85e1605287bc2f11afd", "aaaManaged": false }, { "groupId": "e58a8b5f8f3eb261789ce147", "aaaManaged": false }, { "groupId": "423ee5baf67051c2bb088372", "aaaManaged": false }, { "groupId": "3dd25493c217b2a6d5858f06", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "laboris" }, { "roleId": "enim occaecat officia amet fugiat" } ], "inactive": false, "lastLogin": "1954-10-14T08:29:11.22Z", "_meta": { "created": "2024-06-23T06:33:10.071Z", "updated": "1975-02-23T07:39:31.319Z", "migrationVersion": 61321245 }, "email": "elit aute" }, "last_updated_by": { "_id": "8b9c8443a7af0244e5541e66", "provenance": "sunt ea aliquip", "username": "sint", "firstname": "ut exercitation anim sunt", "memberOf": [ { "groupId": "d333301dec67314e263558e5", "aaaManaged": true }, { "groupId": "aa121430aa65dd008f3233cf", "aaaManaged": true }, { "groupId": "832e895623b413a1b51be540", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "anim" }, { "roleId": "cupidatat deserunt non velit" } ], "inactive": true, "lastLogin": "1974-11-18T05:47:20.654Z", "_meta": { "created": "1958-05-09T01:06:22.113Z", "updated": "1996-07-28T20:44:33.698Z", "migrationVersion": -78784761 }, "email": "culpa dolore qui ut elit" }, "tasks": { "7": { "actor": "$var.job.3OeayT8k", "groups": [ { "_id": "7902edb74fe46e9c4c2207d6", "provenance": "aliquip dolor", "name": "magna voluptate", "description": "cupidatat in proident", "memberOf": [ { "groupId": "55276ce4090e67192915dada", "aaaManaged": false }, { "groupId": "3824f43eba975f88993f759d", "aaaManaged": true }, { "groupId": "a11b12deee98373f4ee7ac43", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eu tempor aute quis" } ], "inactive": true, "_meta": { "created": "2006-01-23T13:40:02.333Z", "updated": "1972-04-15T06:33:22.515Z", "migrationVersion": -10973265 } } ], "iterations": [ "Bfa8667D-3D84-be25-e84D-3d2c8b4BCd51", "Be0c52Ce-1B7f-B268-6EfD-ad9B54eaF1a3", "4F68fF83-655f-3D3A-F1Aa-D1C1d8b0cF55" ], "x": -72203282.69894338, "y": -33734671.21348024, "gridCoordinate": { "x": 87217938.82112277, "y": -1856178.2927515358 }, "name": "ad qui dolore mollit", "location": "Broker", "locationType": "consectetur", "app": "labore pariatur", "canvasName": "et ut cillum", "displayName": "Ut", "summary": "irure", "description": "tempor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/e-a/D/~1/Ct/~0/nrBFzhE1/~1/J1GdbdnS,f" }, { "type": "encryption", "pointer": "/Xg0Spf/~1/JCIWxM/ccWD/~0/JOCKMfk/~1/BQYnYDGJ/~0" }, { "type": "encryption", "pointer": "/~1/Niajf/~0/u1YU/~0/IhFdNuH/cfPx/cM.V0A/~1" }, { "type": "encryption", "pointer": "/~0/Zmb/nmM4fEXkD.s/NL0f4qFJE" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "quis dolore deserunt in", "highlightString": "velit in nisi non" }, { "key": "nostrud Ut", "highlightString": "in laboris deserunt" } ], "status": "failure", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "3a1f", "error_handler", "workflow_start" ], "error": [ "3a1f", "workflow_start", "e28f", "workflow_end", "workflow_end" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "3a1f", "type": "revert" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "standard" } ] }, "serverId": "aute reprehenderit", "start_time": "1964-06-21T22:28:46.644Z", "end_time": -6301890.404316306, "finish_state": "error", "retrySettings": { "state": [ "error", "success", "failure" ], "autoRetry": true, "limit": 69077061, "delay": 46753275, "count": 52448824, "finishedRetrying": false }, "type": "automatic" }, "workflow_start": { "x": -42115210.47050857, "y": -78139249.0080926, "gridCoordinate": { "x": -59662413.409016676, "y": -15889041.509921193 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -9596350.736429572, "finish_state": "failure", "user": "e0d9a3c95dae6a26a946c390" }, "groups": [ "89c71b8c996fccdebdbd80b4", "625e378c8fb043db43c1a4b4", "default", "default" ], "iterations": [ "fC1eECD6-7b48-eB2e-DE89-0817DfE2dccd" ] }, "workflow_end": { "x": -91312724.86106248, "y": -32793039.021451026, "gridCoordinate": { "x": -54226126.95020246, "y": -15648000.716815382 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_start", "error_handler", "3a1f", "3a1f" ], "complete": [ "3a1f", "workflow_end", "e28f", "workflow_end" ], "error": [ "workflow_start", "3a1f", "workflow_end" ] }, "metrics": { "end_time": 63698660.5094994, "run_time": -47510245.134052284 }, "groups": [ { "_id": "1521a233b48c403e8a94bdcb", "provenance": "ex culpa dolor aliquip elit", "name": "reprehenderit qui dolore", "description": "nostrud aliquip aute qui adipisicing", "memberOf": [ { "groupId": "cff1e41a02e1b8392e072cec", "aaaManaged": true }, { "groupId": "89e25735c2bbbabc82cf84cf", "aaaManaged": true }, { "groupId": "66ee738d2ebe60bfd1c6cebc", "aaaManaged": false }, { "groupId": "dbce8b90947d7a7098bf8ba8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "Ut tempor mollit Duis" }, { "roleId": "est sit qui consequat" }, { "roleId": "fugiat" } ], "inactive": false, "_meta": { "created": "1953-05-03T18:24:35.689Z", "updated": "1997-09-29T06:05:41.431Z", "migrationVersion": 46743275 } }, "72161520d46d414afb52052c" ], "iterations": [ "eC8E5D4D-FFEb-433e-6CD3-B40aCEd17ba9", "C5f9Bd64-d5b1-23c5-D3Cd-B6d40cf46E8C" ] }, "error_handler": { "x": -43906037.82800411, "y": 39568229.94802144, "gridCoordinate": { "x": -75221214.45346808, "y": 92211444.26607007 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "enim cillum nisi", "canvasName": "incididunt fugiat adipisicing eiusmod", "displayName": "est culpa", "summary": "consequat aliquip ut eiusmod dolore", "description": "veniam aliquip eiusmod", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/gq/NA7XmCRK/aHe8G/l.Ogvq" }, { "type": "encryption", "pointer": "/~0/~1/~0/~0" }, { "type": "encryption", "pointer": "/anc-vX./~0/NKIaa2Ho1d/~0/~0/~0/IYsH" }, { "type": "encryption", "pointer": "/zr72SCw/X/XHR/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "magna ad labore", "highlightString": "ullamco quis sunt occaecat" }, { "key": "nulla", "highlightString": "quis irure occaecat" }, { "key": "incididunt ut", "highlightString": "labore" } ], "status": "running", "previous": { "incomplete": [ "workflow_start", "workflow_start", "3a1f", "workflow_end" ], "complete": [ "error_handler", "3a1f" ], "error": [ "error_handler", "error_handler", "3a1f", "e28f", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ] }, "serverId": "sed ut in", "start_time": "1977-06-09T22:24:50.134Z", "end_time": 53825448.38768059, "finish_state": "failure", "retrySettings": { "state": [ "error", "failure" ], "autoRetry": true, "limit": 96396336, "delay": 95838758, "count": 94474339, "finishedRetrying": false }, "type": "operation", "actor": "26cd0abe3679598eb17c37de", "groups": [ { "_id": "b12c4a79dffd78eba2ed2894", "provenance": "qui veniam id esse", "name": "tempor veniam magna dolore", "description": "exercitation irure dolor nostrud est", "memberOf": [ { "groupId": "666e66f245c13a96001f9ad6", "aaaManaged": true }, { "groupId": "c987a5c1eb305e6a8c958946", "aaaManaged": true }, { "groupId": "a3d03ff7a3a9bdd346ff8cc1", "aaaManaged": true }, { "groupId": "560d2a2a3678f1e8d236ebdc", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "adipisicing amet officia irure" } ], "inactive": true, "_meta": { "created": "2024-05-27T23:03:31.56Z", "updated": "1959-03-25T14:20:48.459Z", "migrationVersion": -99545412 } }, { "_id": "711e0b463124db5699a82c2b", "provenance": "sunt adipisicing", "name": "esse in tempor fugiat", "description": "tempor veniam in", "memberOf": [ { "groupId": "530a9a151fc98a85776a45c4", "aaaManaged": false }, { "groupId": "2eb93186dba228977a40a026", "aaaManaged": false }, { "groupId": "ca550415cc7dc11b7c3450bf", "aaaManaged": true }, { "groupId": "46a922e2894c3f95e2147050", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut" }, { "roleId": "cillum" }, { "roleId": "nulla cupidatat dolor eiusmod" }, { "roleId": "in fugiat consectetur" }, { "roleId": "eu aliqua" } ], "inactive": true, "_meta": { "created": "1959-08-06T15:16:12.241Z", "updated": "1963-10-29T06:58:06.624Z", "migrationVersion": -20634402 } }, "default", "a9b373f3f756cd2ea1ef4e1f", "default" ], "iterations": [] } }, "parent": { "job": "ipsum", "task": "fugiat ea ex Ut laboris", "iteration": 63136074.282092065, "element": 22492230.626536086 }, "errorHandler": { "actor": "Pronghorn", "groups": [ "e3605266f706f3cc226b9e14", "05d5433a3c48122ba2cf2179", "5890881b556cb5dbb591f877", "da5f5ee69b689c660c99e84d" ], "iterations": [ "af936E7F-de0B-623A-2878-bCEE31a8A396", "7B36eb97-DA30-09aF-fFAf-e0E634b3eF7F" ], "x": -36286431.021927655, "y": 61760844.50829476, "gridCoordinate": { "x": -79514878.95108555, "y": 46349050.88587242 }, "name": "ut sunt tempor", "location": "Application", "locationType": "velit culpa aute", "app": "officia", "canvasName": "deserunt", "displayName": "consectetur", "summary": "cupidatat deserunt ipsum aliquip", "description": "eu aliqua ut velit ad", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/e/EY2fWMf/~0/~1/~1/jT/0S+a7rR/~1/yo,Vd2/~1" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "Lorem et ea", "highlightString": "in in sit ex Lorem" }, { "key": "in aliquip", "highlightString": "Lorem exercitation" }, { "key": "id culpa ad", "highlightString": "non" }, { "key": "in", "highlightString": "anim" } ], "status": "running", "previous": { "incomplete": [ "workflow_start", "e28f" ], "complete": [ "error_handler", "workflow_start", "e28f", "workflow_start" ], "error": [ "e28f", "workflow_start", "e28f", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "loop" } ] }, "serverId": "laboris", "start_time": "2005-07-05T05:35:40.914Z", "end_time": -93006351.7481479, "finish_state": "success", "retrySettings": null, "type": "automatic" }, "groups": [ "default" ], "watchers": [ null, null, "Pronghorn", { "_id": "66d593120f05050792a95112", "provenance": "dolore officia nulla", "username": "ad mollit", "firstname": "occaecat est", "memberOf": [ { "groupId": "d9fd714a311549b1c7b3fc9e", "aaaManaged": false }, { "groupId": "3ffb320f917dd3a1b1cdf5fa", "aaaManaged": true }, { "groupId": "0a8f690549cc5c88ba0add71", "aaaManaged": true }, { "groupId": "ad1d130731e3c725da3f3841", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "id" }, { "roleId": "in cillum Lorem" }, { "roleId": "in quis dolor" }, { "roleId": "eu proident" } ], "inactive": false, "lastLogin": "2017-11-22T07:27:06.293Z", "_meta": { "created": "2000-01-13T19:22:57.316Z", "updated": "2006-05-24T20:25:21.489Z", "migrationVersion": 57044569 }, "email": "et Lorem dolor in" } ], "metrics": { "start_time": 82458181.42244068, "progress": 0.9701596172879121, "end_time": -45098177.38372908, "user": "323501b8bb0dc565473dfa53", "owner": { "_id": "a320e9fd20d1f8e400381d81", "provenance": "cupidatat", "username": "voluptate quis", "firstname": "exercitation ullamco laboris", "memberOf": [ { "groupId": "57bb1b2147e5ae6490dfb039", "aaaManaged": true }, { "groupId": "c2795d5b0c93cb1b4a7851c0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Duis" }, { "roleId": "sunt magna" }, { "roleId": "adipisicing est" }, { "roleId": "tempor laboris sint cillum" }, { "roleId": "Excepteur" } ], "inactive": true, "lastLogin": "1972-08-14T07:33:05.424Z", "_meta": { "created": "1987-01-01T23:08:48.009Z", "updated": "1964-02-13T12:18:33.184Z", "migrationVersion": -56846629 }, "email": "reprehenderit enim ut labore" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }