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", "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 imported 3 of 4 documents", "data": { "_id": "d512836d0d7078ccdcfca020", "uuid": "bb712b89-496f-a3d6-4df2-7b15b8910843", "font_size": 46026606, "type": "resource:compliance", "created": "2012-02-27T13:43:58.673Z", "last_updated": "1982-07-07T02:48:59.303Z", "createdVersion": "2607851.8446113325.89700370-5097.4176.4344236572.0188416700", "lastUpdatedVersion": "1782.4.702", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 34718304, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -93365391.5646047, "sla": -57059816.20680358, "decorators": [ { "type": "encryption", "pointer": "/~1/Y,isf/~0/zmnoAt1/x2/Io5uRsc0Ydr" }, { "type": "encryption", "pointer": "/~1/~0/N9b.5qIO/~1/iPuJ" }, { "type": "encryption", "pointer": "/Q+t/~1/~1/~1/K0/~1/sV/G/~1/IwiEgu" }, { "type": "encryption", "pointer": "/jDTCf1n.CAx/B9xpxyyby9/~0" } ], "status": "paused", "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 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "enim" } ], "ancestors": [ "46d4264c51362718b81e4dfc", "99e4461ef2738ff675bfe786" ], "validationErrors": [ { "keyword": "culpa irure", "instancePath": "dolore qui", "schemaPath": "tempor minim consequat quis", "message": "esse" }, { "keyword": "veniam minim do", "instancePath": "elit dolor cillum exercitation cupidatat", "schemaPath": "occaecat deserunt anim", "message": "sed Excepteur quis laboris voluptate" }, { "keyword": "dolore in et minim", "instancePath": "consectetur deserunt", "schemaPath": "id consectetur cupidatat", "message": "exercitation" }, { "keyword": "ipsum voluptate sed", "instancePath": "aliqua", "schemaPath": "enim anim reprehenderit ullamco sint", "message": "do quis" }, { "keyword": "est ea sed nisi", "instancePath": "dolor in consectetur", "schemaPath": "cupidatat magna do reprehenderit", "message": "ullamco Duis Ut do aliqua" } ], "created_by": "1572eb2d1ce42c5715a145a0", "last_updated_by": null, "tasks": { "78": { "actor": "Pronghorn", "groups": [ "37ebbbe0ddb79c144a37ecba", "default" ], "iterations": [ "eCff81af-b91e-cb1D-C6de-45A13824aDA9", "E9D0DE64-90Ca-f2cE-d47A-F4F782FF8D93" ], "x": -48852655.550199844, "y": 99723710.36090934, "gridCoordinate": { "x": -82548791.28604665, "y": 58781711.88116667 }, "name": "fugiat officia ea dolore", "location": "Application", "locationType": null, "app": "velit laborum occaecat sed dolore", "canvasName": "childJob", "displayName": "eiusmod nostrud mollit", "summary": "tempor pariatur magna ut ad", "description": "laborum occaecat eu elit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/Ahu/Kbj/~1/~1/uabIt+d/Su35/g-MpN/AEXUfEe" }, { "type": "encryption", "pointer": "/s/~0/~1/~1/rf/~1/~1/RBlBlT/Qh" }, { "type": "encryption", "pointer": "/kPgiQw2b/ZS-yYXu/~0/~0" }, { "type": "encryption", "pointer": "/~1/b/htaUv9XS//~0/lBDsZljPKon" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "commodo", "highlightString": "incididunt" } ], "status": "complete", "previous": { "incomplete": [ "error_handler" ], "complete": [ "workflow_end" ], "error": [ "workflow_end", "workflow_start", "error_handler" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "standard" }, { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "standard" } ] }, "serverId": "fugiat Excepteur", "start_time": "2010-11-18T10:28:41.878Z", "end_time": -56946955.82802609, "finish_state": "error", "retrySettings": { "state": [ "error", "error", "failure", "error" ], "autoRetry": false, "limit": 52409377, "delay": 93315666, "count": 96821042, "finishedRetrying": true }, "loop": { "atLeastOneComplete": false, "finishedCount": -36866510.46085347, "outgoing": [] }, "childJobs": [ { "_id": "ea culpa", "name": "pariatur ea consectetur irure labore", "iteration": -2740257.5900234133 }, { "_id": "dolore ut deserunt est", "name": "aute ad deserunt", "iteration": 96622799.52088526 }, { "_id": "in Ut dolore veniam sit", "name": "deserunt culpa", "iteration": -96957691.99333663 }, { "_id": "ut", "name": "reprehenderit anim sed amet", "iteration": -60669387.393825814 } ] }, "workflow_start": { "x": -62792500.5253513, "y": -26423676.530253723, "gridCoordinate": { "x": -29974111.374305457, "y": 87022881.43704489 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -72626561.37370893, "finish_state": "error", "user": null }, "groups": [ "0bfd220ac780210a36459329", { "_id": "8fd8283525074311566380f3", "provenance": "sed", "name": "eiusmod sint velit cupidatat est", "description": "consectetur proident sint ipsum ea", "memberOf": [ { "groupId": "da97af7c335c8ac3d34ed3d5", "aaaManaged": true }, { "groupId": "20f21ba33e875f4249eef4d2", "aaaManaged": true }, { "groupId": "2196122a5d06e24c3a2f57d6", "aaaManaged": false }, { "groupId": "48a23e0c923980935b12c55b", "aaaManaged": true }, { "groupId": "ac7c8daed51cc9bc8bd2558a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip ea cillum pariatur" } ], "inactive": true, "_meta": { "created": "2017-12-18T23:47:26.49Z", "updated": "1977-07-29T22:14:27.484Z", "migrationVersion": -264597 } } ], "iterations": [] }, "workflow_end": { "x": 31880804.09619522, "y": 98461563.18565083, "gridCoordinate": { "x": -74236687.52507356, "y": 36488466.40300363 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "error_handler", "3a1f", "workflow_start" ], "complete": [ "workflow_start" ], "error": [ "workflow_end", "error_handler", "workflow_end", "workflow_start", "workflow_end" ] }, "metrics": { "end_time": 88982983.09681278, "run_time": -15890499.34292221 }, "groups": [ "default", { "_id": "862eff3d947230db73286609", "provenance": "dolore Ut incididunt", "name": "eu anim labore", "description": "laboris tempor exercitation culpa eu", "memberOf": [ { "groupId": "aa48014e53a9baf898f078cf", "aaaManaged": true }, { "groupId": "d2992fd9434718472f81d80c", "aaaManaged": false }, { "groupId": "9a08c23fdc36f035c469b51b", "aaaManaged": true }, { "groupId": "099bb2fbecc973192ceaa2f9", "aaaManaged": true }, { "groupId": "e60782d02a2a650565201577", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "ut id" }, { "roleId": "cupidatat aliquip proident et tempor" }, { "roleId": "commodo incididunt pariatur do Ut" }, { "roleId": "consequat" } ], "inactive": false, "_meta": { "created": "1995-09-13T06:28:00.383Z", "updated": "2003-10-17T02:21:07.355Z", "migrationVersion": -86356397 } }, { "_id": "5d907cc0701f8821335e32fc", "provenance": "exercitation dolore Ut do magna", "name": "occaecat", "description": "mollit eiusmod", "memberOf": [ { "groupId": "5a09175efdde4d915c20a2aa", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "commodo proident sint dolore" }, { "roleId": "fugiat" }, { "roleId": "adipisicing do commodo ex" }, { "roleId": "ea velit in anim" }, { "roleId": "velit quis" } ], "inactive": true, "_meta": { "created": "1983-07-10T20:55:09.791Z", "updated": "1948-05-15T08:27:33.984Z", "migrationVersion": 37915176 } } ], "iterations": [ "fCd63b7F-7378-8c7E-C4d8-CBF5499d7Ca1", "aAd9ec0C-66ce-A8ce-8D4b-3E2dA8E37843", "3afaEC59-4e04-45EE-5f3F-30f3FFcad2CF", "13EBD8fe-4B71-e92D-37ae-Bbe8dE09B66e" ] }, "error_handler": { "x": -6612912.506103724, "y": -60023338.6118846, "gridCoordinate": { "x": -85290890.09005913, "y": 79814678.18422937 }, "name": "childJob", "location": "Application", "locationType": null, "app": "aliqua sed", "canvasName": "et ea incididunt", "displayName": "cupidatat est sunt amet", "summary": "culpa sit tempor Duis", "description": "ad ipsum dolor", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/x1E/~0/~0/~0/~0/~0" }, { "type": "encryption", "pointer": "/rFktecREEbP/~0/X3oFIQmQB/~1/~0/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "in velit sit", "highlightString": "esse in" } ], "status": "running", "previous": { "incomplete": [ "workflow_end", "workflow_start", "workflow_start", "workflow_start", "error_handler" ], "complete": [ "3a1f", "workflow_start", "3a1f" ], "error": [ "workflow_end" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "ex dolor", "start_time": "1987-11-16T08:06:14.843Z", "end_time": -23089983.02970217, "finish_state": "success", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ "fe73920df7e8e382df3a0b66" ], "iterations": [ "e40db426-6B5b-c07b-fFd7-BdB1A8D70EFf" ] } }, "parent": { "task": "tempor ut Excepteur", "iteration": 12848459.954403996, "element": -65217570.70436198 }, "errorHandler": { "actor": "980ce890b747881a9ae51c25", "groups": [ "default", { "_id": "fee4794b428a915f76fc0cf3", "provenance": "velit dolore cupidatat Ut deserunt", "name": "velit eu", "description": "sit fugiat in eu", "memberOf": [ { "groupId": "c0e089aed3771e4e0c039b51", "aaaManaged": true }, { "groupId": "65117c35f1a08a227acbc7c5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "cupidatat veniam officia cillum qui" }, { "roleId": "commodo" }, { "roleId": "cupidatat in nisi ex" } ], "inactive": false, "_meta": { "created": "2000-06-05T22:57:06.99Z", "updated": "1975-07-15T05:47:55.192Z", "migrationVersion": 19391284 } }, { "_id": "83afe65946e76ee65ccb529e", "provenance": "elit", "name": "laboris Duis Ut eu", "description": "labore nostrud", "memberOf": [ { "groupId": "30bdef38bcc2d29fb273358d", "aaaManaged": false }, { "groupId": "a8613b8727ba7cdd4e9d63b9", "aaaManaged": false }, { "groupId": "033a78276aeff9221ec1410c", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "exercitation voluptate occaecat et minim" }, { "roleId": "aliquip eiusmod officia ea est" }, { "roleId": "ut aute" }, { "roleId": "pariatur officia cillum tempor sint" } ], "inactive": true, "_meta": { "created": "2007-05-06T00:53:02.953Z", "updated": "2002-05-06T23:12:33.359Z", "migrationVersion": 61099619 } } ], "iterations": [ "833fAe50-c617-61dE-Cc41-Fc7cf3d3B9f2", "5cfFEA9B-1F19-0F0a-adc6-5Ace1Cc5a4A1", "3Cc8F77D-9FE3-0eEB-d6eF-fBf5D827Ef47" ], "x": -45562347.66009007, "y": 37819931.68043116, "gridCoordinate": { "x": 95656051.05229348, "y": -98740992.93841106 }, "name": "eiusmod ex aute", "location": "Broker", "locationType": "irure velit culpa qui ullamco", "app": "officia veniam laboris adipisicing", "canvasName": "childJob", "displayName": "culpa cillum enim non elit", "summary": "deserunt culpa laboris et", "description": "sint commodo Ut reprehenderit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/MvTnGVf/K1xvn" }, { "type": "encryption", "pointer": "/nHCgc/UNNSR7XvC/V8AU/fgrlXVTw/F7/UK7Adxi5/~0/ycg1/~0/cZ+y/TwGgJ/~0" }, { "type": "encryption", "pointer": "/f/~0/~0" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "Lorem proident sit labore pariatur", "highlightString": "dolor deserunt dolore sed exercitation" }, { "key": "ad mollit", "highlightString": "eu qui officia" } ], "status": "running", "previous": { "incomplete": [ "workflow_start", "error_handler", "error_handler" ], "complete": [ "workflow_start", "workflow_end", "workflow_end" ], "error": [ "workflow_end", "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "sint nisi aute", "start_time": "1955-05-25T14:22:26.129Z", "end_time": -22325235.128467336, "finish_state": "failure", "retrySettings": { "state": [ "failure", "error" ], "autoRetry": false, "limit": 16328588, "delay": 90918707, "count": 35615392, "finishedRetrying": true }, "loop": { "atLeastOneComplete": false, "finishedCount": -3487714.337035984, "outgoing": [] }, "childJobs": [ { "_id": "amet occaecat non proident dolore", "name": "in voluptate", "iteration": -71933759.68515517 } ] }, "groups": [ "default", { "_id": "f95bb4b55da2ed1b80101a41", "provenance": "non mollit esse aute nostrud", "name": "Lorem cupidatat commodo dolore eiusmod", "description": "laboris", "memberOf": [ { "groupId": "4214e582a724bd24499fe901", "aaaManaged": true }, { "groupId": "d057b4f270ab564084f6f068", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eu reprehenderit" }, { "roleId": "enim Duis labore laborum" }, { "roleId": "esse sunt et" }, { "roleId": "ullamco" } ], "inactive": false, "_meta": { "created": "2014-10-24T19:44:28.293Z", "updated": "2021-08-29T02:37:34.39Z", "migrationVersion": 15646857 } }, { "_id": "2427eda252245bf7935f7a56", "provenance": "in reprehenderit nostrud deserunt", "name": "pariatur aute quis", "description": "aute pariatur Lorem in dolore", "memberOf": [ { "groupId": "9af28f279e8d03e13f6eea9e", "aaaManaged": true }, { "groupId": "8bd2303e389a44ca0dabeb9e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "commodo fugiat incididunt eiusmod" }, { "roleId": "elit magna" } ], "inactive": false, "_meta": { "created": "1949-08-16T21:48:00.44Z", "updated": "1951-01-23T01:38:23.093Z", "migrationVersion": 14967694 } }, "default" ], "watchers": [ "Pronghorn", null ], "metrics": { "start_time": -91416895.00688179, "progress": 0.10800474243285096, "end_time": -22603191.2214756, "user": "Pronghorn", "owner": "Pronghorn" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }