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": "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 imported 3 of 4 documents", "data": { "_id": "4fffda9893a436d9f95950cd", "font_size": 60576207, "type": "automation", "created": "1952-03-04T09:06:13.437Z", "last_updated": "1954-12-05T03:08:23.992Z", "createdVersion": "60878535.030636356.0748238941-7761.32961366769.5823834271.98305929", "lastUpdatedVersion": "72504.564.386234982", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": -88061812, "name": "myCoolDocumentName", "description": null, "preAutomationTime": -19943409.220277175, "sla": -11594168.036615431, "decorators": [ { "type": "encryption", "pointer": "/Sq9l/ZN4/R/opX/~0/~0/~0" }, { "type": "encryption", "pointer": "/eXPJv" }, { "type": "encryption", "pointer": "/~0" } ], "status": "running", "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 } ], "warnings": [ { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "cillum" }, { "task": "error_handler", "name": "myCoolDocumentName" }, { "task": "workflow_end", "name": "myCoolDocumentName", "message": "non labore adipisicing magna" }, { "task": "error_handler", "name": "myCoolDocumentName" } ], "ancestors": [ "7e0e340bc4872125d4d6459d", "0133e51ae9f69190ec06d1b7", "5561d5f9dc691376a17a5084", "fb11893644382516faf26a17" ], "validationErrors": [ { "keyword": "dolore in ut ex consequat", "dataPath": "amet laborum eiusmod elit", "schemaPath": "ex Ut ut aliqua", "message": "cupidatat pariatur sunt laborum sit" } ], "created_by": null, "last_updated_by": "9121861c1ecc2a785977d386", "tasks": { "9": { "actor": "job", "groups": [ "21e1f552165605c4dfa72786", { "_id": "36694ff95243c98710ac4c38", "provenance": "non id eiusmod sed", "name": "consequat do sint ea", "description": "cupidatat dolor", "memberOf": [ { "groupId": "24522661c141e02bf6b835b9", "aaaManaged": true }, { "groupId": "7e3586d583a783c61c1d8057", "aaaManaged": false }, { "groupId": "dc5010220a8c1b4ab8ffff7a", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "sint deserunt dolore" }, { "roleId": "do aute velit in" } ], "inactive": true, "_meta": { "created": "1975-04-19T14:45:55.959Z", "updated": "1984-04-16T06:18:55.274Z", "migrationVersion": 37043293 } }, "90008e0c82ec36c4b45fad69", { "_id": "587e4f85130bb0ab8748940d", "provenance": "cillum ex exercitation commodo occaecat", "name": "consectetur in deserunt", "description": "occaecat dolore ut velit tempor", "memberOf": [ { "groupId": "cb03417f48c2d1eb087a8c05", "aaaManaged": false }, { "groupId": "8daf077ea5a6880457f6528d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "do eu" }, { "roleId": "esse dolor culpa cupidatat tempor" }, { "roleId": "fugiat Ut Duis do irure" }, { "roleId": "consequat velit" }, { "roleId": "Lorem in adipisicing sit" } ], "inactive": true, "_meta": { "created": "1953-01-02T09:34:42.689Z", "updated": "1950-04-11T15:51:15.388Z", "migrationVersion": 56713397 } } ], "iterations": [], "x": -37711422.708033696, "y": -97411183.39727542, "gridCoordinate": { "x": 52342071.893612236, "y": 32354683.6997962 }, "name": "voluptate est nostrud ex", "location": "Broker", "locationType": "ad eu", "app": "consectetur in dolore dolor quis", "canvasName": "in sit deserunt", "displayName": "laboris elit magna mollit", "summary": "culpa", "description": "adipisicing veniam nostrud tempor elit", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/MDxK/~0/WU/c.jG,/eTI/~1/~0/~1/~0" }, { "type": "encryption", "pointer": "/g.8TO07dZb/~1/kkMEQ3Z/Nt6khL3/~1/i/~0/~0/~0" }, { "type": "encryption", "pointer": "/I/~1/~1/Q6JtL+PnJ/kc,PRs./~0/~0/RnK+YJt/~0" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "qui in et", "highlightString": "dolore cupidatat dolor" }, { "key": "nisi ipsum", "highlightString": "et cillum Lorem minim culpa" }, { "key": "sed minim", "highlightString": "proident ut" } ], "status": "failure", "previous": { "incomplete": [ "e28f" ], "complete": [ "workflow_start", "e28f", "workflow_end" ], "error": [ "workflow_start", "3a1f" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "standard" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ], "error": [ { "task": "error_handler", "type": "loop" }, { "task": "workflow_end", "type": "loop" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "in exercitation", "start_time": "2009-08-31T07:29:43.647Z", "end_time": -73952179.88217273, "finish_state": "success", "retrySettings": { "state": [ "success", "error", "error" ], "autoRetry": false, "limit": 73147930, "delay": 87706005, "count": 89579872, "finishedRetrying": false }, "type": "manual", "view": "magna enim consectetur" }, "workflow_start": { "x": 16197749.538839549, "y": 33847557.26502569, "gridCoordinate": { "x": 88027593.37205982, "y": 70179413.67681614 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 11486604.26537247, "finish_state": "failure", "user": "Pronghorn" }, "groups": [ "default", "default", "ae0a5aa31ad9228f20d0f59e" ], "iterations": [ "7E3EF6e4-C22d-43Bb-5B31-Bfc5AE8ffe0A", "A3DDCfe0-f2eC-e2C7-5acc-dF4179CAae7D", "0bdd4cb1-914d-DAe6-B17d-F38EB6D002BC" ] }, "workflow_end": { "x": 87047294.62286282, "y": 3468978.4272548407, "gridCoordinate": { "x": -22825567.065665588, "y": 54042989.28646383 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_end", "workflow_end" ], "complete": [ "workflow_end", "3a1f", "workflow_start" ], "error": [ "workflow_start", "error_handler", "3a1f", "e28f", "workflow_start" ] }, "metrics": { "end_time": 45005712.248407334, "run_time": -51467479.96736782 }, "groups": [ "75632d4b2730a2c44749d72c", { "_id": "5ea34424e70103b71bee7550", "provenance": "reprehenderit quis aute", "name": "esse velit eiusmod", "description": "amet esse id non consectetur", "memberOf": [ { "groupId": "f83b74680e6e1b80fa672879", "aaaManaged": true }, { "groupId": "8dd33a39acbff4cf77742de4", "aaaManaged": false }, { "groupId": "189f3c38ee93613689c01a9a", "aaaManaged": false }, { "groupId": "ba6c0210668abc458f445295", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "est sed" }, { "roleId": "ipsum" }, { "roleId": "eu nulla est ad dolor" } ], "inactive": false, "_meta": { "created": "1972-07-09T05:56:11.158Z", "updated": "1951-12-04T10:35:37.094Z", "migrationVersion": 60612137 } }, "fab3cc4138ef085e678c3c56" ], "iterations": [] }, "error_handler": { "x": 14366169.30527936, "y": -28645512.803405866, "gridCoordinate": { "x": -91256092.84589525, "y": -80059383.30269071 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "nostrud incididunt", "canvasName": "pariatur", "displayName": "irure", "summary": "quis pariatur ex sed", "description": "laborum", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/FOWxi-r/bTjq7cOxS1" }, { "type": "encryption", "pointer": "/~1/XBbL/~0/duIQNa0UY./oae/SamLafks-j/~0/B3OT58P8/~0/r12xB944v/~0" }, { "type": "encryption", "pointer": "/~1/~1/~1/~1/~1/KV/w9mclwf/FS9/RcxZPL/~0" }, { "type": "encryption", "pointer": "/~1/kYJmd/M-T2/~1/~1/H/hCyRuX8Qp9/~1/~1" }, { "type": "encryption", "pointer": "/~0/QXy/Ej/~1/Y-LfKa/u1-4u/~1/U/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "in in", "highlightString": "cupidatat in do adipisicing Lorem" }, { "key": "enim dolor nisi culpa et", "highlightString": "enim proident culpa aliquip et" }, { "key": "fugiat pariatur consequat anim Ut", "highlightString": "ut sed" }, { "key": "Excepteur occaecat nostrud", "highlightString": "nisi magna aute" }, { "key": "velit esse ut quis do", "highlightString": "sit aute" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_start", "e28f", "workflow_start", "workflow_end", "workflow_start" ], "complete": [ "workflow_end", "3a1f", "e28f", "workflow_end" ], "error": [ "e28f", "e28f", "e28f", "workflow_start", "error_handler" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "3a1f", "type": "loop" } ], "failure": [ { "task": "workflow_end", "type": "loop" }, { "task": "error_handler", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "workflow_start", "type": "loop" } ] }, "serverId": "proident", "start_time": "1989-10-29T08:59:12.155Z", "end_time": 63431256.420435876, "finish_state": "error", "retrySettings": { "state": [ "error", "failure", "success", "error" ], "autoRetry": false, "limit": 65042849, "delay": 9971278, "count": 88402386, "finishedRetrying": true }, "type": "operation", "actor": "1da9e1db2c4239b12295091e", "groups": [ "8beead99b0aa680f673ef598", "default", "b528d6a05008448b6f2f4322", "7d0b95547ae1f2b28e753751", { "_id": "477621f151fdd4025573ab16", "provenance": "laboris reprehenderit officia", "name": "pariatur voluptate deserunt minim", "description": "ad mollit consequat adipisicing Duis", "memberOf": [ { "groupId": "9d1f963b2501b27911ffdada", "aaaManaged": false }, { "groupId": "2478bd211bb77aa16d6301fd", "aaaManaged": true }, { "groupId": "08d6901681b79c920d6323be", "aaaManaged": false }, { "groupId": "aacc4d5579b0a0d2dd131acd", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "reprehenderit magna dolore mollit" }, { "roleId": "incididunt laboris" }, { "roleId": "reprehenderit officia cillum eu" } ], "inactive": true, "_meta": { "created": "1986-07-08T21:08:22.18Z", "updated": "2025-03-22T01:39:25.57Z", "migrationVersion": -93246330 } } ], "iterations": [] } }, "parent": { "job": "labore in incididunt ad commodo", "task": "Excepteur Lorem consequat", "iteration": 36265755.89937952, "element": -22892579.706270903 }, "errorHandler": null, "groups": [ "f8e10f7bc1cd55b8c13b4505", "b44e995b5a29bd339aba662e", "9581729650a5f80a9115134b", "default", "6fd9de7362ff791fa637e278" ], "watchers": [ "fd45f4e5081e1bac5c4e4448", null, "5a2a5ea83ba8d499d6aaacb2", "Pronghorn" ], "metrics": { "start_time": -41815450.190164596, "progress": 0.24432446320340495, "end_time": 65391543.32066074, "user": "cf09f0c589acabfb143f631f", "owner": "4fa8d1004bb044b9f7263507" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }