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": "_id,description", "dereference": "tasks" } }
{ "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": "eaf16b4dff4911f5c4a42fd4", "font_size": -75911410, "type": "resource:action", "created": "1984-06-30T18:34:42.515Z", "last_updated": "1998-10-21T08:38:01.875Z", "createdVersion": "609.048608434.9229", "lastUpdatedVersion": "186811.8750368.40256572999-2471.344.43.5", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -26835254, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 69225819.8867802, "sla": -36860585.37662449, "decorators": [ { "type": "encryption", "pointer": "/Xph/kE0DR/cJhO/~1/kLJB/~1/SRZNSNcpU/sFjx2bh/S8N0SZdzU/b3UN6-z68/YUHk2o" }, { "type": "encryption", "pointer": "/ncbe/~0/~1/~1/p-UqY4bZ,/zzqLY/x9GAUI/fDo" }, { "type": "encryption", "pointer": "/v/~0/~0/~1/Sc4qwoaXOx,/b-cys-Y/~1/rIqlm44W/~0/~0/~0" }, { "type": "encryption", "pointer": "/~1/tzzR/~0" }, { "type": "encryption", "pointer": "/~1/qnaPBPryKz/hpGsB34O1g/~1/fawbY,/~0" } ], "status": "running", "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 } ], "warnings": [ { "task": "e28f", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName" } ], "ancestors": [ "091a45ddee3d03cc17a643da", "858d12f7ff8b7b4ae232b706" ], "validationErrors": [ { "keyword": "veniam incididunt ipsum Duis qui", "dataPath": "non dolore", "schemaPath": "non", "message": "exercitation do" }, { "keyword": "Excepteur nisi pariatur consequat", "dataPath": "dolore occaecat dolor sit", "schemaPath": "officia do", "message": "in Ut" }, { "keyword": "esse", "dataPath": "cillum", "schemaPath": "ex", "message": "enim nulla" } ], "created_by": null, "last_updated_by": "7026574248fe1a69f8a9d9cf", "tasks": { "workflow_start": { "x": 79431878.67314783, "y": -61215354.96961821, "gridCoordinate": { "x": -84973534.80243212, "y": -82703295.91108006 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": -73804151.59091674, "finish_state": "error", "user": { "_id": "0f602e22f418c3876558d6bf", "provenance": "consectetur ea sunt", "username": "cillum incididunt esse sed", "firstname": "ipsum occaecat", "memberOf": [ { "groupId": "ae5288c2c37cb544db0e4ab1", "aaaManaged": true }, { "groupId": "6c4ee49802bfe1e0babf5925", "aaaManaged": true }, { "groupId": "d86f2630eb90c2e3dd23c11b", "aaaManaged": false }, { "groupId": "6ee67f4151f5737cbfa2fec4", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "non laborum ullamco esse veniam" }, { "roleId": "in nisi occaecat" }, { "roleId": "eiusmod anim" }, { "roleId": "ullamco qui est" } ], "inactive": true, "lastLogin": "1993-11-29T09:01:05.137Z", "_meta": { "created": "2009-09-05T11:08:08.666Z", "updated": "2016-08-20T08:49:49.443Z", "migrationVersion": -25540738 }, "email": "quis ipsum laborum" } }, "groups": [ { "_id": "a5b6c347a3de6d9e36a1160e", "provenance": "eiusmod deserunt magna", "name": "ea consequat", "description": "dolore sunt sint voluptate in", "memberOf": [ { "groupId": "605e9ac77c6363356fe0925d", "aaaManaged": false }, { "groupId": "55b8226039b9ccd87e365c03", "aaaManaged": false }, { "groupId": "c40412307ce2d84c5c7e5081", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "non" }, { "roleId": "mollit nulla nostrud consectetur" }, { "roleId": "incididunt in" }, { "roleId": "est" } ], "inactive": true, "_meta": { "created": "1993-02-09T01:01:40.805Z", "updated": "1965-08-10T07:24:39.879Z", "migrationVersion": 28684670 } }, "default", { "_id": "15d24d784305f1ae98005e42", "provenance": "laborum", "name": "consectetur", "description": "ex", "memberOf": [ { "groupId": "891f79684cd9f2e6fbc62548", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolor irure consequat" }, { "roleId": "pariatur esse incididunt" } ], "inactive": false, "_meta": { "created": "2024-11-16T14:35:54.911Z", "updated": "2018-03-13T05:14:30.472Z", "migrationVersion": -15705071 } } ], "iterations": [ "D83d96C6-d33E-DacE-a3C4-bdA0e03cec6A", "FB0F9Fa3-FCBd-E3bd-a48D-3Cb949d7CE8c" ] }, "workflow_end": { "x": 72572360.62357473, "y": -76009950.3457596, "gridCoordinate": { "x": 51104922.364441484, "y": -98708855.76412953 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "error_handler" ], "complete": [ "workflow_start", "workflow_end" ], "error": [ "e28f", "3a1f", "3a1f", "workflow_end", "workflow_start" ] }, "metrics": { "end_time": 98451626.384505, "run_time": -15717427.225749463 }, "groups": [ "3d6af5e11e02dba8ac1dbaef", "4ca1534f02bb8d8caed83554", "38e0b940a188a4013e844989", { "_id": "e8494c8c380ffc873a260cfb", "provenance": "minim laborum", "name": "incididunt", "description": "culpa eiusmod id laborum amet", "memberOf": [ { "groupId": "f66b2d296b24ff908eefd3a6", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nulla consectetur" }, { "roleId": "Ut" } ], "inactive": false, "_meta": { "created": "2021-08-14T16:44:25.896Z", "updated": "1982-05-09T22:51:31.559Z", "migrationVersion": 41074177 } } ], "iterations": [] }, "error_handler": { "x": 95246092.06861138, "y": 48004647.65763515, "gridCoordinate": { "x": -28120473.74345705, "y": -9795366.243410528 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "enim commodo nostrud", "canvasName": "elit consequat ea laboris", "displayName": "amet nostrud labore reprehenderit", "summary": "esse", "description": "ex Ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~1/~1/~0" }, { "type": "encryption", "pointer": "/k/8xo/~1/~0/Oi" }, { "type": "encryption", "pointer": "/~1/~0/XWnmwjIJd/ORc/Ozmd0/sSVJngKelie/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "sed occaecat do est", "highlightString": "occaecat veniam laborum aute" }, { "key": "irure", "highlightString": "pariatur in" }, { "key": "Lorem eu sint", "highlightString": "veniam laboris fugiat Duis sunt" }, { "key": "sit dolore Excepteur in exercitation", "highlightString": "tempor" }, { "key": "ea id fugiat", "highlightString": "pariatur sint velit dolore culpa" } ], "status": "error", "previous": { "incomplete": [ "e28f" ], "complete": [ "3a1f", "workflow_start" ], "error": [ "e28f", "error_handler", "workflow_start", "workflow_start" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_end", "type": "loop" }, { "task": "workflow_end", "type": "loop" } ], "error": [ { "task": "3a1f", "type": "revert" } ] }, "serverId": "cupidatat aute", "start_time": "2010-05-11T10:31:07.229Z", "end_time": 97656450.53157842, "finish_state": "success", "retrySettings": { "state": [ "success" ], "autoRetry": false, "limit": 17136624, "delay": 33579110, "count": 21314489, "finishedRetrying": true }, "type": "operation", "actor": "Pronghorn", "groups": [ { "_id": "f7737c1d96f41bf59b3583ef", "provenance": "cupidatat sunt ad", "name": "ut dolor elit", "description": "esse id magna Ut ipsum", "memberOf": [ { "groupId": "2f96fac32af8718e9e272abe", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "irure" }, { "roleId": "elit incididunt" } ], "inactive": false, "_meta": { "created": "1962-04-01T11:48:09.709Z", "updated": "1961-01-11T13:43:22.67Z", "migrationVersion": -43748228 } }, { "_id": "004a06683328f65c5ae9a4e9", "provenance": "laboris ut Ut", "name": "irure pariatur amet incididunt", "description": "anim", "memberOf": [ { "groupId": "cadcd20b595cf0e2bf72e038", "aaaManaged": false }, { "groupId": "8a6ed3faed9e5132cc8c2fea", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "amet cupidatat" } ], "inactive": false, "_meta": { "created": "1954-06-18T20:39:42.394Z", "updated": "1985-03-20T05:33:29.863Z", "migrationVersion": 53565709 } } ], "iterations": [ "a2EFd9F0-8a47-CF71-fEfb-A698efedFaE8", "94AE05dD-111b-87ff-aD78-a3adf1Bc8e7E", "CcaC375c-0fae-F4a7-F66A-B01bfaC837e5" ] }, "76b": { "actor": "$var.job.CuUs7x", "groups": [ { "_id": "0de899ce1ca04ad61052bb5a", "provenance": "nisi in ex", "name": "Duis", "description": "enim magna dolore in", "memberOf": [ { "groupId": "c0f558fa6080591f9cdc7e17", "aaaManaged": true }, { "groupId": "d6b5231b3372d57f87a1728c", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "commodo" }, { "roleId": "cillum eiusmod incididunt labore laboris" } ], "inactive": false, "_meta": { "created": "1969-01-06T04:17:06.019Z", "updated": "2018-08-31T00:46:52.486Z", "migrationVersion": 16846698 } }, "default", "5b8b605caae9cf00b20b9dc6", "default" ], "iterations": [], "x": -83559582.14126669, "y": 48477355.161779106, "gridCoordinate": { "x": -56151476.62436799, "y": 56774351.15102628 }, "name": "est sed officia aliqua magna", "location": "Application", "locationType": "Excepteur Ut sint dolor", "app": "Ut minim", "canvasName": "Lorem", "displayName": "ex nulla Ut labore consectetur", "summary": "Lorem deserunt", "description": "minim dolor fugiat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/RjqQyqI/LM,p./XbJ0/~1/p2Jt/N,0/~1" }, { "type": "encryption", "pointer": "/~0/~1/RNs/~1/TpG3Du//~0/e8i++Qmgu/E5aUQU/~1/WX/I4g8KJF" }, { "type": "encryption", "pointer": "/FwfHDj7/iAqQ/+D/CYWDlF22o/RAOFMyeyA/~0/~0/Q/cdQB,ko5Ld/xC/n3f" }, { "type": "encryption", "pointer": "/uOu/SpozM/MMrzBgDpCZ/~1/~0/i1HpqM/~1/NT" }, { "type": "encryption", "pointer": "/~0/~0/zaq/r/k+/PraWj1Oqj0z/~1/~1" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "reprehenderit irure in sunt", "highlightString": "Duis minim" }, { "key": "in", "highlightString": "deserunt exercitation aliqua veniam do" } ], "status": "canceled", "previous": { "incomplete": [ "e28f", "workflow_end" ], "complete": [ "e28f" ], "error": [ "3a1f", "e28f", "e28f", "workflow_start" ] }, "taskId": "error_handler", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_end", "type": "standard" } ], "error": [ { "task": "e28f", "type": "loop" } ] }, "serverId": "aliqua in ullamco sint", "start_time": "2013-03-14T09:27:52.717Z", "end_time": 9147262.092671499, "finish_state": "failure", "retrySettings": { "state": [ "error", "failure", "error" ], "autoRetry": true, "limit": 58818809, "delay": 71545254, "count": 30971690, "finishedRetrying": true }, "type": "automatic" } }, "parent": { "job": "sed officia adipisicing esse sint", "task": "ipsum adipisicing", "iteration": -60950989.92221111, "element": 98477543.05958629 }, "errorHandler": { "actor": "job", "groups": [ "default", "default", "ce7752757ac52d12d2d15c2a", "default", { "_id": "0bd58852fcde2a93b5fdb61f", "provenance": "elit in veniam dolore exercitation", "name": "cupidatat occaecat", "description": "cupidatat deserunt ipsum reprehenderit", "memberOf": [ { "groupId": "6518e009418f186d76f3b5ed", "aaaManaged": true }, { "groupId": "103e4f65ea669a4e741567bd", "aaaManaged": true }, { "groupId": "746c54c1cc2d6f9d2bd3478a", "aaaManaged": false }, { "groupId": "94c477b0b079d7b2b9d55a61", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sunt amet minim Excepteur esse" }, { "roleId": "officia irure" }, { "roleId": "sed" } ], "inactive": true, "_meta": { "created": "2011-04-19T12:19:53.333Z", "updated": "1973-01-05T18:17:01.528Z", "migrationVersion": 13525013 } } ], "iterations": [ "aB3b01fF-CaAC-FaCe-DEcb-2a4DB081AC1C" ], "x": 62608981.74632597, "y": -36679141.82737899, "gridCoordinate": { "x": -93208279.40368463, "y": -4905013.671031445 }, "name": "ipsum consectetur", "location": "Adapter", "locationType": "incididunt ut tempor exercitation", "app": "reprehenderit qui amet ex nisi", "canvasName": "quis pariatur", "displayName": "enim qui velit aliquip amet", "summary": "ad proident", "description": "enim labore", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~1/A/~0" }, { "type": "encryption", "pointer": "/Fe/aM/BzLYA7P9yCd/~0" }, { "type": "encryption", "pointer": "/~0/H4" }, { "type": "encryption", "pointer": "/OL+/~1" }, { "type": "encryption", "pointer": "/~0/g" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "in", "highlightString": "id" }, { "key": "incididunt", "highlightString": "eiusmod aliquip" } ], "status": "running", "previous": { "incomplete": [ "workflow_start", "workflow_start" ], "complete": [ "workflow_end", "3a1f", "workflow_start" ], "error": [ "e28f", "error_handler", "3a1f", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "3a1f", "type": "loop" }, { "task": "3a1f", "type": "standard" }, { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "loop" } ], "failure": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_end", "type": "revert" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "3a1f", "type": "loop" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "standard" } ] }, "serverId": "veniam ex Lorem sit voluptate", "start_time": "1951-03-04T16:14:56.999Z", "end_time": 74735995.14411333, "finish_state": "failure", "retrySettings": { "state": [ "failure", "failure", "success", "success" ], "autoRetry": false, "limit": 8777370, "delay": 92918740, "count": 57416605, "finishedRetrying": false }, "type": "automatic" }, "groups": [ { "_id": "be190ae988cc428571cb8972", "provenance": "amet", "name": "adipisicing ullamco", "description": "cupidatat", "memberOf": [ { "groupId": "76b9bbc10e38dd9e6ae59620", "aaaManaged": true }, { "groupId": "ccf50d501c9ef3f138fd2cdd", "aaaManaged": false }, { "groupId": "cd7ee60c7df02cb1ccfea5ff", "aaaManaged": false }, { "groupId": "8250f27e7198f86bb284a08d", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "dolore" }, { "roleId": "et in est" } ], "inactive": false, "_meta": { "created": "2023-10-07T07:59:16.439Z", "updated": "1967-12-25T10:09:16.633Z", "migrationVersion": -19731856 } }, { "_id": "e5e963ebab788185030f909b", "provenance": "sed Ut aliqua ut", "name": "incididunt", "description": "Duis ex ipsum sit", "memberOf": [ { "groupId": "f7afba9eaff6b66aa0f100d6", "aaaManaged": false }, { "groupId": "c0b4788274dedbcf925779c9", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "elit sunt" }, { "roleId": "Ut ut mollit qui officia" } ], "inactive": false, "_meta": { "created": "2001-02-28T04:19:41.078Z", "updated": "2012-11-10T20:50:10.815Z", "migrationVersion": 73008828 } }, "c9022c89e5ac3c1f707628e5", "default" ], "watchers": [ "147396bf1845544d01521abb" ], "metrics": { "start_time": 30251767.81740378, "progress": 0.27918673142592665, "end_time": 31557489.19414738, "user": "Pronghorn", "owner": { "_id": "7814a6a0274ef9a3d0dd6028", "provenance": "incididunt nulla", "username": "cillum cupidatat laborum magna", "firstname": "non ea aute", "memberOf": [ { "groupId": "389860ea712e08aa14fba7b5", "aaaManaged": false }, { "groupId": "fdd186bf5aa4d7f83f19b898", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "non" }, { "roleId": "enim" }, { "roleId": "Duis irure" }, { "roleId": "nisi laboris" } ], "inactive": false, "lastLogin": "2018-07-05T00:00:16.589Z", "_meta": { "created": "1979-12-06T16:31:13.56Z", "updated": "1996-03-30T12:11:28.499Z", "migrationVersion": -62943336 }, "email": "nostrud" } } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }