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": "description", "exclude": "_id,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": "86d5a677a062212bbd86d863", "font_size": 56972601, "type": "automation", "created": "1984-03-04T23:18:13.993Z", "last_updated": "2009-08-16T22:09:13.305Z", "createdVersion": "09.8012675263.14341774", "lastUpdatedVersion": "3468.27579.3588808", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": -41936309, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 26689526.40107532, "sla": -11124551.249227688, "decorators": [ { "type": "encryption", "pointer": "/PNs/w7D1/~0/~1/~0" }, { "type": "encryption", "pointer": "/RD7nkp,/~1/~0/~0/iyp0Ix4-/~1/~1" } ], "status": "paused", "tags": [], "error": [ { "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": "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_end", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "deserunt minim sunt" }, { "task": "e28f", "name": "myCoolDocumentName", "message": "nostrud voluptate" } ], "ancestors": [ "7317b210c0fd85fa07d9d125", "d50778071fe9533833d9f110", "77743fb03a3406b91d4846e6", "1af94d0b5fb7aba92a47deff" ], "validationErrors": [ { "keyword": "cupidatat sint ut sed", "instancePath": "ex nostrud laborum non exercitation", "schemaPath": "incididunt", "message": "proident veniam enim" }, { "keyword": "sunt", "instancePath": "culpa Duis exercitation", "schemaPath": "cillum Ut", "message": "velit" } ], "created_by": null, "last_updated_by": "Pronghorn", "tasks": { "workflow_start": { "x": -70528515.74797857, "y": -8234587.253790557, "gridCoordinate": { "x": -51474319.154946804, "y": 95082679.88435063 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 74706872.34190008, "finish_state": "success", "user": { "_id": "f337af492947d947457fb210", "provenance": "in veniam aliquip", "username": "ullamco nisi et sed", "firstname": "sunt ullamco ut consectetur ut", "memberOf": [ { "groupId": "9703032171ef98dc8d0904f1", "aaaManaged": false }, { "groupId": "af77794b46c91d67edfc9644", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "tempor et deserunt sit dolor" }, { "roleId": "mollit ipsum" }, { "roleId": "occaecat esse magna commodo culpa" } ], "inactive": true, "lastLogin": "1978-12-26T16:45:09.678Z", "_meta": { "created": "1962-05-10T16:43:21.596Z", "updated": "1960-05-10T05:00:44.311Z", "migrationVersion": -15635023 }, "email": "culpa magna eiusmod officia voluptate" } }, "groups": [ { "_id": "62cf46568d0bebfc7d6de2c7", "provenance": "exercitation reprehenderit", "name": "in velit ut ut", "description": "cillum do", "memberOf": [ { "groupId": "45c23f3a66fe4972dbd3b2aa", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "est enim magna" }, { "roleId": "do" }, { "roleId": "deserunt velit" } ], "inactive": false, "_meta": { "created": "1977-11-12T18:57:16.158Z", "updated": "2018-02-03T09:38:53.618Z", "migrationVersion": 68796464 } }, "5716a9c0fb5fc07597701447", "614b1dddc25dafbb29e2e482", "92d81026b53173eca01b3014", "default" ], "iterations": [ "dF972AAd-C7a6-17c0-2ad8-4fBbCde46bcC" ] }, "workflow_end": { "x": 35182296.352683604, "y": 54741299.661620915, "gridCoordinate": { "x": -42254606.5726042, "y": -88748152.30716404 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler" ], "complete": [ "workflow_end" ], "error": [ "workflow_start", "workflow_start", "3a1f", "error_handler", "workflow_end" ] }, "metrics": { "end_time": -6679938.178409278, "run_time": -78033981.6151558 }, "groups": [ "default", { "_id": "a38ba13a735b51ba716cfe02", "provenance": "qui", "name": "in anim amet sed", "description": "laborum dolore deserunt do", "memberOf": [ { "groupId": "49b021bb208e803e823272c9", "aaaManaged": false }, { "groupId": "ed5c5a47e5a7c5f0308660c0", "aaaManaged": false }, { "groupId": "d745ab0a4935d8f955959b66", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "Excepteur sed cillum" }, { "roleId": "minim sunt do" } ], "inactive": false, "_meta": { "created": "1996-05-20T11:08:06.445Z", "updated": "2022-04-14T13:36:48.272Z", "migrationVersion": -4173632 } }, "b91bb5e1b3d4d2c7bb685ad1" ], "iterations": [ "CE84F518-c9B4-3a3c-3483-EA35f93d0D8E", "5049ce94-DB86-40ad-8b46-2bCE16B4dB32", "c4cAafEa-0C4F-cc34-3680-728f3e5aFa7F", "Ab586884-13F6-3945-7e3a-55AFD40EdEb3" ] }, "error_handler": { "x": -33477252.74171953, "y": -56987075.76617874, "gridCoordinate": { "x": 28454723.042814985, "y": -36960422.74843521 }, "name": "childJob", "location": "Application", "locationType": "aliqua", "app": "reprehenderit esse qui", "canvasName": "reprehenderit laborum ipsum eiusmod", "displayName": "Lorem eiusmod eu dolor amet", "summary": "magna", "description": "consectetur", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/BeRZ/~1/k54IKRG/~0/~0/~0/~1/~1/~1/rAYpW4/~1" }, { "type": "encryption", "pointer": "/~1/VWEC/~0/~1/AmGj1c4Mfkc/C/k5XLxSxedQB" }, { "type": "encryption", "pointer": "/Th/GEZ0lrxAp5/p7B.jJV1U/FzVic1Vhz/vR/iqT/dshVIl/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "nulla veniam velit", "highlightString": "enim" }, { "key": "mollit", "highlightString": "sint do qui" }, { "key": "sunt labore proident in", "highlightString": "Ut eu ullamco ad" }, { "key": "cupidatat do labore et", "highlightString": "et nostrud ullamco cupidatat" }, { "key": "esse deserunt mollit minim", "highlightString": "mollit et Excepteur" } ], "status": "incomplete", "previous": { "incomplete": [ "e28f" ], "complete": [ "workflow_start", "workflow_end" ], "error": [ "3a1f", "3a1f", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "error_handler", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "standard" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "deserunt eu tempor sunt", "start_time": "1966-09-01T22:46:12.801Z", "end_time": 81525855.24076411, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "default", "31630b79780dcbb3c29052f7" ], "iterations": [ "7aA2E54D-eeae-b74D-2e8e-aA0fD8B9dbbb" ] }, "4e1": { "x": -60420944.673858345, "y": -5679826.219153881, "gridCoordinate": { "x": 10932625.134811148, "y": -28187947.855578437 }, "name": "adipisicing", "location": "Adapter", "locationType": null, "app": "labore proident dolor eu et", "canvasName": "fugiat adipisicing id laborum sed", "displayName": "adipisicing nulla Ut", "summary": "ea Excepteur", "description": "do sit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/BuJr" }, { "type": "encryption", "pointer": "/~0/i-SnUfvn7K/~0/Tkyf+Wl-/~0/ZrxBq/~0/~0/WiPp" }, { "type": "encryption", "pointer": "/zRlhZE6/q/pb/~1/wub,DlX+/~0/DAi/Zh/gBg5/D/A36oS" }, { "type": "encryption", "pointer": "/x5rY/XBOUve/HdZs/~1" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "do in Duis", "highlightString": "dolor eu magna irure in" }, { "key": "fugiat nisi esse", "highlightString": "dolore magna" }, { "key": "cupidatat esse sunt", "highlightString": "culpa cillum minim in laboris" } ], "status": "complete", "previous": { "incomplete": [ "e28f", "3a1f", "workflow_start", "e28f", "e28f" ], "complete": [ "workflow_end", "3a1f", "workflow_start" ], "error": [ "workflow_start", "workflow_end", "workflow_end" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "dolore esse aliquip non", "start_time": "1971-07-16T18:16:35.594Z", "end_time": -21937264.557338312, "finish_state": "success", "retrySettings": { "state": [ "success", "error", "failure", "error" ], "autoRetry": false, "limit": 45530638, "delay": 94677720, "count": 14693446, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ "a15a9974c41f83e548bd56ae", "62ae36d6a154845db73f95af" ], "iterations": [] } }, "parent": { "job": "laboris in Lorem fugiat", "task": "aliqua", "iteration": 16458506.201131135, "element": 78349438.74099249 }, "errorHandler": { "x": 45290338.213074565, "y": -86012982.57226193, "gridCoordinate": { "x": -11631100.623989925, "y": -6962865.5761653185 }, "name": "velit occaecat", "location": "Broker", "locationType": null, "app": "nostrud cillum", "canvasName": "sed ut", "displayName": "nulla nostrud culpa", "summary": "laborum", "description": "officia cupidatat consectetur commodo", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/~0/P5usW+jK-" }, { "type": "encryption", "pointer": "/~1/W.nDj8q8/~1/~1/C+YvL/U,u" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "et pariatur", "highlightString": "non magna voluptate deserunt" }, { "key": "ex non esse dolore amet", "highlightString": "elit" }, { "key": "eu", "highlightString": "amet officia eiusmod" }, { "key": "proident ad laborum cillum", "highlightString": "officia" } ], "status": "running", "previous": { "incomplete": [ "e28f", "3a1f" ], "complete": [ "3a1f" ], "error": [ "workflow_start", "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "revert" } ] }, "serverId": "id sit fugiat in", "start_time": "2016-08-23T21:56:22.748Z", "end_time": -13978229.680579707, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ { "_id": "071724acf11b69cb085aafe0", "provenance": "velit irure ex qui", "name": "id ea laboris cupidatat", "description": "fugiat labore ea", "memberOf": [ { "groupId": "8318966eb2137a426ec2edf0", "aaaManaged": false }, { "groupId": "d005d640eb6ae1dc88319d46", "aaaManaged": false }, { "groupId": "e887f60db09f51260acfed59", "aaaManaged": false }, { "groupId": "c047f42415413845c23e7be0", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ea in cillum esse" }, { "roleId": "labore" } ], "inactive": true, "_meta": { "created": "1964-06-23T21:17:41.1Z", "updated": "1989-04-15T02:36:51.777Z", "migrationVersion": -31289403 } }, "default", "default" ], "iterations": [ "0e50AfD0-0E4C-DeC2-194b-e7fC7d8eaa3D", "e2f9C23f-a5a2-CE85-fF68-aeCE70C7F3DD", "c534Fccb-eB1e-CCab-649E-0fD42aFDB3BB", "a0Bf5a4A-8f0B-2e61-9abc-Bc665E23DfE9" ] }, "groups": [ "default", "default", { "_id": "0fbf794a477bdb91d3409fca", "provenance": "minim consectetur Duis ipsum dolore", "name": "Lorem quis id in deserunt", "description": "sit", "memberOf": [ { "groupId": "b6abc7c40d91fdb4db07f39a", "aaaManaged": true }, { "groupId": "3802694aa68c21cfcb824a03", "aaaManaged": false }, { "groupId": "dd25d53c3e7d77aadf1bb0ec", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "fugiat" } ], "inactive": true, "_meta": { "created": "2005-03-13T03:08:01.823Z", "updated": "1956-09-22T08:08:51.391Z", "migrationVersion": -28278630 } }, { "_id": "868dda3bdb1694b16e78e7ea", "provenance": "dolore", "name": "Duis", "description": "id do", "memberOf": [ { "groupId": "353e44386ce1f1627e306c15", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nulla adipisicing ipsum Ut velit" } ], "inactive": true, "_meta": { "created": "2023-03-19T00:44:20.986Z", "updated": "1946-11-28T07:06:56.934Z", "migrationVersion": 79483365 } }, { "_id": "afc7e7d8889ba0bc53ba0ad2", "provenance": "dolor et anim pariatur", "name": "cillum consectetur occaecat", "description": "aliquip labore est ea", "memberOf": [ { "groupId": "7800b0da89f3b3583ebfcd99", "aaaManaged": false }, { "groupId": "70910d1a044ee73632cc6546", "aaaManaged": false }, { "groupId": "acaaf5827812e88fade4f3b8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "qui aute irure dolor" }, { "roleId": "sed non irure occaecat elit" }, { "roleId": "exercitation amet" } ], "inactive": false, "_meta": { "created": "2019-03-07T20:43:29.303Z", "updated": "1976-08-20T13:06:11.296Z", "migrationVersion": 72652289 } } ], "watchers": [ "Pronghorn", "Pronghorn", "Pronghorn", null ], "metrics": { "start_time": -39792885.275209725, "progress": 0.5863826256171742, "end_time": 3867500.047651574, "user": "94102f6ff47b01833abe484b", "owner": "e61a4c07e8a9222de2bbde3a" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }