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": "47d2c1e4089260f5c197ea06", "font_size": -77878643, "type": "automation", "created": "1989-05-06T17:36:32.363Z", "last_updated": "1984-10-27T12:31:12.734Z", "createdVersion": "14428352.4331.3857", "lastUpdatedVersion": "60306393364.5224536.7690368502-5997.53690142.35.31", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 36961508, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": -65441667.34278747, "sla": 96291833.15453383, "decorators": [ { "type": "encryption", "pointer": "/udLIdR0bd/~1/~1" }, { "type": "encryption", "pointer": "/rF+19X/y4p/~1/~0/~0/~1/~1/QA2/~1/N+//a6W" }, { "type": "encryption", "pointer": "/vIOqyVa/~1/x/WZcQO0e/~1/~0/~0/~0" }, { "type": "encryption", "pointer": "/~1/~0/u4./KHS/~1/mgg-/~1/ZCmV0UgcTe/~0/~0" }, { "type": "encryption", "pointer": "/~1/~1" } ], "status": "canceled", "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": "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 } ], "warnings": [ { "task": "workflow_end", "name": "myCoolDocumentName", "message": "aliquip ea" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "ea" }, { "task": "3a1f", "name": "myCoolDocumentName" } ], "ancestors": null, "validationErrors": [ { "keyword": "aliquip id officia ex", "dataPath": "sit id aliquip sunt est", "schemaPath": "veniam Lorem laborum", "message": "ex" }, { "keyword": "ullamco velit", "dataPath": "fugiat Ut reprehenderit adipisicing elit", "schemaPath": "aliqua adipisicing cillum", "message": "amet tempor ad" }, { "keyword": "elit", "dataPath": "tempor ullamco", "schemaPath": "exercitation", "message": "aute" } ], "created_by": "a5643a0731548380f50de230", "last_updated_by": "d8043ad6d635ed0f0572e395", "tasks": { "workflow_start": { "x": 11878904.54950136, "y": 73113637.95658258, "gridCoordinate": { "x": 45590579.33508411, "y": 24981299.069475636 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -46867550.448146835, "finish_state": "success", "user": "Pronghorn" }, "groups": [ "765453d5903faa4636540f91", { "_id": "1aedc363aeb75a2658ce0e34", "provenance": "deserunt", "name": "commodo pariatur", "description": "ea enim", "memberOf": [ { "groupId": "6e985d68c86487f0f7170b84", "aaaManaged": false }, { "groupId": "3750f0d6cb97ff8a4b04770f", "aaaManaged": true }, { "groupId": "25b842d71ddea15510790627", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "elit eiusmod pariatur cillum" }, { "roleId": "Ut proident ex culpa" } ], "inactive": false, "_meta": { "created": "1965-12-03T14:29:00.446Z", "updated": "1974-06-10T10:11:55.682Z", "migrationVersion": 61390992 } }, { "_id": "4ba6c36231879a8ac29c71fe", "provenance": "deserunt dolor", "name": "Excepteur officia et sed minim", "description": "aute aliquip", "memberOf": [ { "groupId": "4f0cd22f78826b8bfe213324", "aaaManaged": true }, { "groupId": "3c6c06632265b2d27381d181", "aaaManaged": true }, { "groupId": "530fdbbc8c74c99656754e53", "aaaManaged": false }, { "groupId": "cc505b1db14cb25a59a8346d", "aaaManaged": true }, { "groupId": "3efe25cf5d5a733b36cc420e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam et pariatur in irure" }, { "roleId": "ea nostrud" }, { "roleId": "est" }, { "roleId": "voluptate exercitation" }, { "roleId": "nulla" } ], "inactive": false, "_meta": { "created": "2012-02-12T06:23:49.17Z", "updated": "2012-06-26T02:09:29.12Z", "migrationVersion": 51050753 } }, { "_id": "e823dc9efef5a807de4121fc", "provenance": "in in tempor consectetur nisi", "name": "reprehenderit in", "description": "aliquip ad", "memberOf": [ { "groupId": "bac1e701961c6dff3312e6d4", "aaaManaged": true }, { "groupId": "21a032403f0f96ed74167bf1", "aaaManaged": false }, { "groupId": "b6b26fe77479ec400e4750a0", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "do" }, { "roleId": "veniam qui incididunt" }, { "roleId": "do cillum nulla nisi voluptate" }, { "roleId": "irure dolor sunt officia" } ], "inactive": false, "_meta": { "created": "1981-08-16T17:07:07.166Z", "updated": "1996-02-22T08:41:38.514Z", "migrationVersion": -66065098 } } ], "iterations": [] }, "workflow_end": { "x": -89377438.2519652, "y": -66701118.33375456, "gridCoordinate": { "x": -77726034.83559558, "y": 63912702.086141765 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler", "workflow_end", "e28f", "workflow_start" ], "complete": [ "e28f", "e28f", "e28f" ], "error": [ "3a1f", "e28f" ] }, "metrics": { "end_time": 71893504.09832379, "run_time": 72873423.77111036 }, "groups": [ "default" ], "iterations": [] }, "error_handler": { "x": 40899456.52293494, "y": 6570150.549139738, "gridCoordinate": { "x": 9977793.296571985, "y": 72800386.8954373 }, "name": "childJob", "location": "Adapter", "locationType": null, "app": "tempor anim laborum", "canvasName": "esse", "displayName": "Duis proident", "summary": "Lorem consectetur velit sint laborum", "description": "adipisicing", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/dDsYv83/Ql0agQk/j60RkLri-3A" }, { "type": "encryption", "pointer": "/E7onjsn/w37/JjV/~0/~1/~1/~1/~1" }, { "type": "encryption", "pointer": "/~0/P-8L/uZNit/~1/~1/ofn/ckN8/AAmb.95te" }, { "type": "encryption", "pointer": "/~0/~1/IViqIc57M/~1/~1/~1/ay0ZcR/gduQ18zIqxk" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "ut ullamco", "highlightString": "sit amet qui cillum" } ], "status": "error", "previous": { "incomplete": [ "error_handler", "3a1f", "workflow_start", "workflow_end" ], "complete": [ "workflow_start", "e28f", "e28f", "3a1f", "workflow_start" ], "error": [ "3a1f" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "e28f", "type": "loop" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ] }, "serverId": "culpa exercitation tempor nisi Duis", "start_time": "1986-08-30T07:30:14.619Z", "end_time": -13202381.432748705, "finish_state": "error", "retrySettings": null, "type": "operation", "actor": "Pronghorn", "groups": [ "default", "default", "default", { "_id": "8433910bd883da4198d70bee", "provenance": "elit non ex dolore velit", "name": "amet cupidatat aliquip", "description": "elit irure", "memberOf": [ { "groupId": "d84b10918ca863f7ea9f537e", "aaaManaged": true }, { "groupId": "fa3250aad35ead69fe04b5ce", "aaaManaged": false }, { "groupId": "79683ff0923484e0d5f88a67", "aaaManaged": false }, { "groupId": "a8bc3f8753ec670ba210f9a9", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "aliquip anim" }, { "roleId": "Excepteur sit" } ], "inactive": true, "_meta": { "created": "1960-12-24T17:45:13.485Z", "updated": "1970-02-15T02:55:20.543Z", "migrationVersion": 87764730 } } ], "iterations": [] }, "4b8d": { "x": 35686830.673140794, "y": -27091154.77568634, "gridCoordinate": { "x": -88655842.54191896, "y": -96819365.07900706 }, "name": "Lorem nisi", "location": "Adapter", "locationType": "anim nisi aute ipsum", "app": "et sit quis", "canvasName": "in id dolor officia", "displayName": "cupidatat exercitation velit", "summary": "Ut", "description": "Ut non", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/lL,yo/nYra/H/oQr9x/~0/zMGAM+GW/KW5JRiC/~0/Ao/O/~0/~0" }, { "type": "encryption", "pointer": "/~1/~0/RwvtwZY/~1/PrcH8O/bksQzhEz/~0/~0/~1" }, { "type": "encryption", "pointer": "/Z5A-xxxNPIv/~1/~0/aDUQ0hY1a6V/SQJq/tZJDL7LMG2" }, { "type": "encryption", "pointer": "/lD3iCLm7pbu/~1/LyU+IlS0E/TTTk/~0/IMr" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "veniam", "highlightString": "sed in consectetur" }, { "key": "do enim", "highlightString": "ut quis in culpa" }, { "key": "do Ut dolore ad irure", "highlightString": "Lorem anim id ad in" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_end", "workflow_start", "workflow_start", "workflow_end" ], "complete": [ "error_handler", "workflow_start", "workflow_end", "error_handler" ], "error": [ "e28f", "workflow_end", "3a1f", "3a1f", "3a1f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "revert" } ], "error": [ { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "e28f", "type": "standard" } ] }, "serverId": "id", "start_time": "2025-06-11T17:39:29.465Z", "end_time": 68877540.38683784, "finish_state": "error", "retrySettings": { "state": [ "error" ], "autoRetry": true, "limit": 83245002, "delay": 41773882, "count": 88856535, "finishedRetrying": false }, "type": "operation", "actor": { "_id": "0f21bed969c50e933e1169b8", "provenance": "reprehenderit", "username": "dolor laborum id", "firstname": "ut sint", "memberOf": [ { "groupId": "7e6d56834a554b8035a79719", "aaaManaged": false }, { "groupId": "fb604d3cb1f696b383434850", "aaaManaged": true }, { "groupId": "8cbec7a5714efee6795196cf", "aaaManaged": false }, { "groupId": "be4cabf04766096476d2454c", "aaaManaged": false }, { "groupId": "35afdca9e56738fd202181e3", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "irure" }, { "roleId": "incididunt velit" }, { "roleId": "reprehenderit proident do labore" }, { "roleId": "dolore culpa aute tempor" } ], "inactive": true, "lastLogin": "2007-07-20T22:31:58.969Z", "_meta": { "created": "2021-02-12T19:15:38.29Z", "updated": "2014-11-04T11:36:27.657Z", "migrationVersion": 88717911 }, "email": "ipsum elit laborum cupidatat exercitation" }, "groups": [ "default", "default", "16384d3cccb111aa994f7454", { "_id": "556d4ca18cbd69f5ad3af610", "provenance": "deserunt aliqua est nostrud", "name": "occaecat anim fugiat Duis", "description": "in aliquip ut cillum", "memberOf": [ { "groupId": "7a8acfd9f59c6bf7d8459920", "aaaManaged": false }, { "groupId": "8ab98ad7020a8c21b4407049", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sed Duis nostrud ut cillum" } ], "inactive": true, "_meta": { "created": "1998-05-19T12:41:52.327Z", "updated": "1955-02-16T10:27:34.926Z", "migrationVersion": 8573300 } } ], "iterations": [] } }, "parent": { "job": "ullamco", "task": "dolore in mollit enim", "iteration": -42401340.81864562, "element": -53350644.717553794 }, "errorHandler": null, "groups": [ "d403063e46a82613876410e8" ], "watchers": [ "Pronghorn", "6ac67b2273fdc16d97607d28", { "_id": "5f42970454681e201297d61e", "provenance": "dolor", "username": "qui velit tempor dolor laborum", "firstname": "non", "memberOf": [ { "groupId": "b13d42285b6533d09fabe80c", "aaaManaged": false }, { "groupId": "55ca5acc89402464c7c7f1ef", "aaaManaged": false }, { "groupId": "3e4b647f2bfcc055b8bd2fdd", "aaaManaged": true }, { "groupId": "40f8c3cbc3492615321aa397", "aaaManaged": false }, { "groupId": "fad439a1cf635690e6992744", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "ex dolore qui nisi reprehenderit" }, { "roleId": "voluptate" }, { "roleId": "pariatur est adipisicing nulla" }, { "roleId": "ullamco" } ], "inactive": true, "lastLogin": "2004-01-27T08:18:28.057Z", "_meta": { "created": "1954-08-03T21:17:45.735Z", "updated": "1973-06-22T15:21:14.834Z", "migrationVersion": 35409353 }, "email": "ullamco enim" }, "Pronghorn" ], "metrics": { "start_time": 73257640.55810419, "progress": 0.6178008241890236, "end_time": 67165531.7847771, "user": "Pronghorn", "owner": { "_id": "4b1c180a1a1777498e9feaa8", "provenance": "nisi sit", "username": "Duis", "firstname": "ut labore cupidatat in", "memberOf": [ { "groupId": "ff9edbb60bff3fcc9df49779", "aaaManaged": true }, { "groupId": "24da1ff3570884cee3e42a2f", "aaaManaged": false }, { "groupId": "843812ea1ab49767042f2421", "aaaManaged": false }, { "groupId": "ae46f3d5b92114816108447e", "aaaManaged": false }, { "groupId": "2ea61361dd851819d4357f1c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "voluptate eu ut veniam culpa" }, { "roleId": "quis est" }, { "roleId": "fugiat dolor" } ], "inactive": false, "lastLogin": "1965-10-19T05:03:10.289Z", "_meta": { "created": "2022-04-04T15:27:37.163Z", "updated": "2022-08-01T23:10:10.805Z", "migrationVersion": -78641126 }, "email": "Ut" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }