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": "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": "72aa97b0b15d1dbf4564333b", "font_size": 43380718, "type": "resource:action", "created": "2021-10-30T10:42:51.999Z", "last_updated": "1985-04-19T06:46:41.313Z", "createdVersion": "190.93.30446", "lastUpdatedVersion": "20123106658.484805158.8", "canvasVersion": 1.5, "encodingVersion": 1, "migrationVersion": -54029851, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -74420593.16340299, "sla": -2530984.202769652, "decorators": [ { "type": "encryption", "pointer": "/~0/~1/~0/~1/~0/~0/Rjd-/dBCUB/IOHDnwZ7/~0/z8PgX" } ], "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 }, { "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 } ], "warnings": [ { "task": "workflow_end", "name": "myCoolDocumentName", "message": "reprehenderit cillum amet ullamco laboris" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName" }, { "task": "error_handler", "name": "myCoolDocumentName", "message": "dolore aliquip dolor magna" } ], "ancestors": null, "validationErrors": [ { "keyword": "nisi ipsum", "dataPath": "quis do adipisicing id labore", "schemaPath": "nostrud officia", "message": "deserunt aliqua est cillum" }, { "keyword": "voluptate aliquip nostrud enim", "dataPath": "nulla aute et eiusmod", "schemaPath": "mollit nostrud ullamco", "message": "officia non ad aute" }, { "keyword": "Excepteur dolor qui do pariatur", "dataPath": "Ut sunt irure", "schemaPath": "in tempor nulla fugiat", "message": "occaecat" } ], "created_by": "Pronghorn", "last_updated_by": { "_id": "c598be6b125a1ccb210673eb", "provenance": "aliquip fugiat ut adipisicing", "username": "dolore aute culpa", "firstname": "ea ut Excepteur", "memberOf": [ { "groupId": "24c08567d5cfdd2ce46c835d", "aaaManaged": false }, { "groupId": "1068f24397a08e23f5203995", "aaaManaged": false }, { "groupId": "d5fae7be33f50af60e7f30b8", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "nostrud do est" }, { "roleId": "deserunt consequat nostrud veniam aute" }, { "roleId": "labore" } ], "inactive": true, "lastLogin": "1993-04-01T08:10:11.007Z", "_meta": { "created": "2003-09-13T22:37:28.474Z", "updated": "2025-07-12T08:18:12.712Z", "migrationVersion": 24780151 }, "email": "tempor ex" }, "tasks": { "workflow_start": { "x": 35397634.86816692, "y": 73343272.23372898, "gridCoordinate": { "x": -14282679.433547199, "y": 93262597.18539628 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 73802768.94419283, "finish_state": "failure", "user": "c9c7022f79106e8db2f30442" }, "groups": [ "default", { "_id": "aa28fb2d3d0652cfefd1b05b", "provenance": "in adipisicing sunt aute", "name": "consectetur laborum mollit ullamco sint", "description": "magna anim in", "memberOf": [ { "groupId": "17e1e9c6dee2883fd911b01b", "aaaManaged": true }, { "groupId": "adbe108549f8f0ea6d1dd00e", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "quis velit irure" }, { "roleId": "dolore" } ], "inactive": false, "_meta": { "created": "2006-01-03T12:00:45.534Z", "updated": "2013-04-08T08:39:19.265Z", "migrationVersion": -74943657 } }, { "_id": "66b201534e23adcc02508278", "provenance": "in in", "name": "adipisicing nulla", "description": "fugiat magna ut", "memberOf": [ { "groupId": "0a10224e45f4a0c090347fd8", "aaaManaged": false }, { "groupId": "1760f50974be7544619d34f4", "aaaManaged": false }, { "groupId": "094f90b43c9fe8af70d924f9", "aaaManaged": true }, { "groupId": "d58fac4ec82ed803cd86c0e7", "aaaManaged": false }, { "groupId": "ee52ead0fb3609b97d57a3f8", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "do minim mollit" } ], "inactive": false, "_meta": { "created": "2009-01-17T22:37:59.125Z", "updated": "1996-11-28T09:37:47.755Z", "migrationVersion": 4774497 } }, "default", { "_id": "72a970daf5f97efcdf0db787", "provenance": "aute mollit aliquip esse", "name": "consectetur tempor ipsum dolore mollit", "description": "ex dolore", "memberOf": [ { "groupId": "f6b1650a47acb5da3fd19804", "aaaManaged": false }, { "groupId": "c21677a68f45e420883a60a1", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "eiusmod deserunt commodo" } ], "inactive": false, "_meta": { "created": "2001-06-22T14:37:05.299Z", "updated": "1985-08-18T06:03:17.075Z", "migrationVersion": 50051572 } } ], "iterations": [] }, "workflow_end": { "x": 67867300.58060163, "y": 6926226.447263464, "gridCoordinate": { "x": -85329103.43460585, "y": 99237898.09326884 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "error_handler", "workflow_start", "e28f" ], "complete": [ "workflow_start", "workflow_end", "workflow_end", "workflow_start", "workflow_start" ], "error": [ "e28f", "workflow_start", "workflow_end" ] }, "metrics": { "end_time": 22932228.283608317, "run_time": -32828163.156723678 }, "groups": [ "default", "218a2059e0095676b78952e2", { "_id": "cd3714ad8a99eb7a161756dd", "provenance": "et ipsum sunt voluptate", "name": "ad amet ea et", "description": "consectetur elit id", "memberOf": [ { "groupId": "353b79817c89d6b4a5f3d443", "aaaManaged": false }, { "groupId": "36b37167048976dc2114d447", "aaaManaged": true }, { "groupId": "7b01000fa2cbb1a46e549fd5", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "cupidatat mollit aliquip Excepteur" }, { "roleId": "tempor culpa ex" }, { "roleId": "dolor occaecat" }, { "roleId": "dolore consequat exercitation" }, { "roleId": "enim aliquip nulla" } ], "inactive": false, "_meta": { "created": "1994-03-01T06:32:43.539Z", "updated": "2000-07-24T09:10:15.451Z", "migrationVersion": 44432415 } }, { "_id": "ac10dfddfcbb7ef3d8d2fafb", "provenance": "dolore do culpa labore", "name": "consequat incididunt qui ut magna", "description": "dolore anim exercitation", "memberOf": [ { "groupId": "576cc24e3a6cd56c7a9ea73d", "aaaManaged": false }, { "groupId": "f87bba31cd7a4cac5bd36789", "aaaManaged": true }, { "groupId": "caadfa9cf7cdccce4e20e77e", "aaaManaged": false }, { "groupId": "f5bfdffbd123194da1bed127", "aaaManaged": true }, { "groupId": "66a03b3d4b1542f545e02399", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "labore nisi in amet" } ], "inactive": false, "_meta": { "created": "1960-02-13T08:34:10.566Z", "updated": "1954-08-04T12:40:11.213Z", "migrationVersion": -12785927 } } ], "iterations": [ "CCBe8EEF-25Ab-dA9A-Ece3-0E0A0c503131" ] }, "error_handler": { "x": -10067393.409893602, "y": -72703169.08866468, "gridCoordinate": { "x": 90551419.94236684, "y": -86122851.39857492 }, "name": "childJob", "location": "Adapter", "locationType": "consectetur", "app": "laborum", "canvasName": "in aliquip pariatur esse", "displayName": "aliquip consequat sit minim enim", "summary": "enim dolor Ut ad", "description": "sit in ad sunt", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/B" }, { "type": "encryption", "pointer": "/~1/~1/jM/~0/BM8C.Vee/~1/lmU/LYMBYU/~1/~0/XHRw" }, { "type": "encryption", "pointer": "/~1/f5,boNt8q/xNcOSwc/tMI+bH/ZNE/~0/O/~1/~0/~0/~0" }, { "type": "encryption", "pointer": "/~1/C,T5FKdGH1/~0" }, { "type": "encryption", "pointer": "/s/UE/~1/Nly0dW/ajWjRRi/YICGW" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "reprehenderit", "highlightString": "sunt" }, { "key": "esse quis irure", "highlightString": "in" }, { "key": "eiusmod eu aute occaecat", "highlightString": "dolor in" }, { "key": "Lorem officia eiusmod esse velit", "highlightString": "sit deserunt culpa irure" } ], "status": "complete", "previous": { "incomplete": [ "3a1f" ], "complete": [ "workflow_end", "workflow_end" ], "error": [ "3a1f" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "workflow_start", "type": "revert" }, { "task": "error_handler", "type": "standard" }, { "task": "error_handler", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "error_handler", "type": "loop" } ] }, "serverId": "incididunt fugiat", "start_time": "1952-10-19T00:11:40.001Z", "end_time": -11842817.516348079, "finish_state": "error", "retrySettings": { "state": [ "success", "error", "failure", "failure", "error" ], "autoRetry": true, "limit": 27989768, "delay": 19877597, "count": 65756498, "finishedRetrying": true }, "type": "operation", "actor": "763e5c121a712480978c11cb", "groups": [ "default", "default", "default" ], "iterations": [ "4Cf533e9-cDc4-81bd-2FCd-EC20aC6C113B", "246bA232-3CB8-AB33-Aea5-E6E9488D49b7", "C41ed3dc-cf58-187c-64AD-AA96e0d4a18b" ] }, "63f": { "actor": "job", "groups": [ "8ff954ecce8d0b71ae3c6660", "default", "072506986759781b61259513" ], "iterations": [ "bbae154B-452e-FfBd-A1C9-eEE0744d9b5E" ], "x": -44867207.68769987, "y": 56287297.94004896, "gridCoordinate": { "x": -66966869.56118603, "y": 35880157.471132755 }, "name": "pending", "summary": "ea aute pariatur commodo consectetur", "description": "ullamco id" } }, "parent": { "task": "in", "iteration": -73934865.45653318, "element": -22781655.14859745 }, "errorHandler": null, "groups": [ "e6d84b46fd2db9228daf813e" ], "watchers": [ null, null ], "metrics": { "start_time": -42368561.07235565, "progress": 0.7222547621068014, "end_time": 34773000.854706526, "user": null, "owner": "41af4993cc3bd65d1c0be3ca" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }