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 retrieved search results", "data": { "_id": "493d1ec9c63f6e6f0daa7e9a", "font_size": 64904207, "type": "automation", "created": "1978-01-22T02:03:48.034Z", "last_updated": "1963-03-26T01:20:27.449Z", "createdVersion": "62.5146296.9-3541.3947279.72679992673", "lastUpdatedVersion": "17154598.8081696.48-9928.39.52.06300194", "canvasVersion": 2, "encodingVersion": 1, "migrationVersion": -36382402, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 20126128.54135254, "sla": -73596732.68206888, "decorators": [ { "type": "encryption", "pointer": "/~1/~1/K8/~1/O+kqgTwV" }, { "type": "encryption", "pointer": "/Uysfe4p" } ], "status": "complete", "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 }, { "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_end", "name": "myCoolDocumentName", "message": "ut in deserunt occaecat" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "laborum" }, { "task": "workflow_start", "name": "myCoolDocumentName", "message": "ut in reprehenderit voluptate" }, { "task": "3a1f", "name": "myCoolDocumentName" }, { "task": "3a1f", "name": "myCoolDocumentName", "message": "cillum officia nulla proident incididunt" } ], "ancestors": [ "cb89c8a37e454561d62d53e5", "de1c1b79bf3d0f8f247eb70e" ], "validationErrors": [ { "keyword": "cupidatat consequat Duis", "dataPath": "quis", "schemaPath": "occaecat velit ea minim fugiat", "message": "ex" }, { "keyword": "do", "dataPath": "cupidatat Lorem ullamco", "schemaPath": "do", "message": "quis dolor magna ipsum" }, { "keyword": "voluptate", "dataPath": "qui ut cillum labore", "schemaPath": "tempor", "message": "proident" } ], "created_by": "Pronghorn", "last_updated_by": "Pronghorn", "tasks": { "0": { "x": -66401064.83011543, "y": -50371992.669133544, "gridCoordinate": { "x": 15661261.571692765, "y": 71728292.18041033 }, "name": "ut", "location": "Adapter", "locationType": null, "app": "et aute dolore", "canvasName": "minim mollit deserunt ipsum", "displayName": "reprehenderit aliquip voluptate id ex", "summary": "occaecat consequat irure tempor", "description": "et ut", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/~0/~0/~0/me/~0/ZYy/~0" }, { "type": "encryption", "pointer": "/z6iXYq" }, { "type": "encryption", "pointer": "/u/DK6n1yzU/bOjC-C0/bg/P3aVU/~1/C+itb/~0" }, { "type": "encryption", "pointer": "/C0yyEERvPMh/WUvu/~1/g4W80I//KesvGjSL,Y/Uz/J4k1xGMT/~1/n5ZLufWy0/~0" }, { "type": "encryption", "pointer": "/Q9Ns+W0K/KzVUSs4" } ] }, "deprecated": true, "scheduled": false, "matched": [ { "key": "veniam", "highlightString": "tempor nostrud" } ], "status": "scheduled", "previous": { "incomplete": [ "workflow_start", "3a1f" ], "complete": [ "e28f", "workflow_start", "error_handler" ], "error": [ "workflow_start", "workflow_start", "workflow_end" ] }, "taskId": "3a1f", "transitions": { "success": [ { "task": "error_handler", "type": "standard" }, { "task": "e28f", "type": "loop" }, { "task": "workflow_end", "type": "revert" }, { "task": "e28f", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "revert" }, { "task": "3a1f", "type": "loop" }, { "task": "3a1f", "type": "revert" }, { "task": "e28f", "type": "loop" } ], "error": [ { "task": "e28f", "type": "standard" } ] }, "serverId": "aute", "start_time": "2021-11-02T23:09:04.855Z", "end_time": 35675887.44975233, "finish_state": "error", "retrySettings": { "state": [ "failure", "success", "success", "failure", "error" ], "autoRetry": true, "limit": 35328106, "delay": 47714154, "count": 7395791, "finishedRetrying": true }, "type": "operation", "actor": { "_id": "220f5637f0d6010dfe60a25c", "provenance": "Lorem commodo quis deserunt eiusmod", "username": "anim culpa magna ut ad", "firstname": "ipsum velit cupidatat laboris quis", "memberOf": [ { "groupId": "33a0f82519b5ebe244cfaa08", "aaaManaged": true }, { "groupId": "8be776596f122378ae835896", "aaaManaged": false }, { "groupId": "2ee745606d79e95e5f545d4a", "aaaManaged": false }, { "groupId": "efe8cef4b576318e2664382e", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "nulla" } ], "inactive": false, "lastLogin": "1990-07-13T05:44:58.675Z", "_meta": { "created": "2022-12-31T03:05:50.762Z", "updated": "1947-11-11T12:58:40.154Z", "migrationVersion": -12582886 }, "email": "dolore magna qui nulla commodo" }, "groups": [ { "_id": "ad26752d182a832f999a55bb", "provenance": "ut nostrud ex", "name": "minim in et ex", "description": "Ut do veniam in", "memberOf": [ { "groupId": "d2bff6a1379c9f10a1b5f498", "aaaManaged": false }, { "groupId": "76d4870c28b6ccd78d55aa88", "aaaManaged": true }, { "groupId": "4b566254a22e71717809f8f9", "aaaManaged": false }, { "groupId": "b2f9758acb289daf46c2f2e2", "aaaManaged": false }, { "groupId": "1cb3f910d58999b339fe5eb5", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "eiusmod veniam" }, { "roleId": "officia dolore" }, { "roleId": "sunt anim sed voluptate nostrud" }, { "roleId": "in" } ], "inactive": true, "_meta": { "created": "1995-09-18T10:54:20.281Z", "updated": "1947-10-31T05:08:07.439Z", "migrationVersion": -12888888 } }, "default", "cde959658a719c674fe2255e" ], "iterations": [ "15D2fb3f-6CeF-96bC-6e17-8efDf8caC7Cd", "102ddDAb-f2c9-fF13-E7AA-CD4EdcbDE525" ] }, "workflow_start": { "x": 15575839.819085464, "y": 39847272.77494803, "gridCoordinate": { "x": 18130628.423141852, "y": -2461203.1020932794 }, "name": "workflow_start", "summary": "workflow_start", "taskId": "workflow_start", "metrics": { "start_time": 36930687.04518092, "finish_state": "failure", "user": "2b9463f03a5e0cc9b4b075ea" }, "groups": [ "e9e09b7273c54e7aaa00184c" ], "iterations": [] }, "workflow_end": { "x": 62880831.84399316, "y": 34011334.514743075, "gridCoordinate": { "x": 95752970.89389297, "y": -75099991.4124157 }, "name": "workflow_end", "summary": "workflow_end", "taskId": "workflow_end", "endTasks": { "incomplete": [ "workflow_start", "workflow_end", "workflow_start", "workflow_start" ], "complete": [ "workflow_start" ], "error": [ "workflow_start" ] }, "metrics": { "end_time": -20248574.918257937, "run_time": 73622944.29584685 }, "groups": [ { "_id": "358fafb74eb38c4fb6625d1d", "provenance": "nisi nulla", "name": "in nulla magna", "description": "et anim", "memberOf": [ { "groupId": "69afa4722944a6fbefa916d6", "aaaManaged": true }, { "groupId": "ddebc7bf9575c6852029a89d", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "amet ad" }, { "roleId": "minim aliqua" }, { "roleId": "proident" }, { "roleId": "ut et" }, { "roleId": "esse veniam" } ], "inactive": false, "_meta": { "created": "1970-12-26T20:05:30.827Z", "updated": "1977-01-08T10:37:14.139Z", "migrationVersion": -5117239 } } ], "iterations": [ "b5838938-4fb6-2ccb-efDe-1ceDeaCAc5a0" ] }, "error_handler": { "x": -65412371.88919719, "y": -96347737.25550403, "gridCoordinate": { "x": 82213791.25373396, "y": -64038574.14033891 }, "name": "childJob", "location": "Broker", "locationType": null, "app": "id", "canvasName": "in dolor labore consequat", "displayName": "cillum veniam adipisicing", "summary": "incididunt proident consequat exercitation dolor", "description": "consequat fugiat", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/~0/Uk1o/2OPH/~0/ovn7/KsLdG-Lx5X/~0/~1/~0/bVAqG1q" }, { "type": "encryption", "pointer": "/HKg" }, { "type": "encryption", "pointer": "/vVvL301/~0/~0/l0iq4/H7/~1/~1/~0" } ] }, "deprecated": false, "scheduled": true, "matched": [ { "key": "enim proident ad minim dolor", "highlightString": "culpa aliqua reprehenderit" }, { "key": "amet aute cupidatat eu do", "highlightString": "ad" }, { "key": "reprehenderit occaecat id", "highlightString": "proident eiusmod" }, { "key": "reprehenderit dolore fugiat", "highlightString": "nostrud ut" }, { "key": "velit", "highlightString": "ex commodo Lorem dolore Excepteur" } ], "status": "complete", "previous": { "incomplete": [ "workflow_start", "error_handler" ], "complete": [ "3a1f", "error_handler", "e28f", "error_handler" ], "error": [ "error_handler", "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_end", "type": "standard" }, { "task": "workflow_end", "type": "loop" } ], "failure": [ { "task": "3a1f", "type": "loop" }, { "task": "e28f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "standard" } ] }, "serverId": "ut tempor adipisicing eu Lorem", "start_time": "2021-06-09T17:37:29.888Z", "end_time": 95222091.45243403, "finish_state": "failure", "retrySettings": { "state": [ "failure", "failure", "error", "success", "success" ], "autoRetry": false, "limit": 54332046, "delay": 98092250, "count": 46386313, "finishedRetrying": true }, "type": "operation", "actor": "job", "groups": [ { "_id": "1ac45bacb0c712ca83030c56", "provenance": "officia", "name": "Duis", "description": "sed cupidatat dolore", "memberOf": [ { "groupId": "9d60fb4865876a22eab0d05e", "aaaManaged": true }, { "groupId": "531069aefeceb314dcab9a61", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "in Duis" }, { "roleId": "mollit irure" }, { "roleId": "enim" }, { "roleId": "anim Duis" } ], "inactive": false, "_meta": { "created": "2021-09-12T11:01:15.511Z", "updated": "2004-12-06T09:16:17.952Z", "migrationVersion": -44378735 } } ], "iterations": [ "5E13761D-9a2c-4CFf-D353-c492faA9ACA5" ] } }, "parent": { "job": "exercitation", "task": "Duis qui", "iteration": -23962673.219712898, "element": 70369365.9672235 }, "errorHandler": { "x": -26465653.025352374, "y": -10097067.528441668, "gridCoordinate": { "x": 9682786.765058488, "y": 25446180.984639406 }, "name": "magna elit do minim", "location": "Broker", "locationType": "aute fugiat anim aliqua", "app": "aliqua", "canvasName": "ullamco in qui nisi", "displayName": "id est Ut in nulla", "summary": "occaecat fugiat voluptate", "description": "elit sit in aute", "variables": { "error": "", "decorators": [ { "type": "encryption", "pointer": "/wlvrM+zeX/~1/~0/T.nv33/hT46bwv" } ] }, "deprecated": false, "scheduled": false, "matched": [ { "key": "Lorem", "highlightString": "enim irure Excepteur" } ], "status": "running", "previous": { "incomplete": [ "3a1f", "workflow_end", "workflow_end", "workflow_end" ], "complete": [ "workflow_end", "e28f", "3a1f", "workflow_start" ], "error": [ "workflow_start", "workflow_start", "workflow_end", "workflow_end" ] }, "taskId": "e28f", "transitions": { "success": [ { "task": "workflow_end", "type": "revert" } ], "failure": [ { "task": "error_handler", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "workflow_start", "type": "revert" }, { "task": "3a1f", "type": "standard" }, { "task": "workflow_start", "type": "revert" } ], "error": [ { "task": "e28f", "type": "revert" }, { "task": "workflow_start", "type": "loop" }, { "task": "error_handler", "type": "loop" }, { "task": "3a1f", "type": "standard" } ] }, "serverId": "eiusmod officia irure", "start_time": "1992-12-11T14:10:07.228Z", "end_time": -42196817.132366516, "finish_state": "failure", "retrySettings": null, "type": "operation", "actor": "job", "groups": [ "cd948450049478282e86ae5e", "default", "3f629af614e042489d181e96", "default" ], "iterations": [ "EB4dDdA6-E0e0-74FF-Fb12-cbF4eaA6B4d1", "4c9aF8dc-93C6-b47d-fAcD-2d27aDF458De" ] }, "groups": [ { "_id": "6e49e3c0a031c0131a64203a", "provenance": "ea", "name": "ullamco velit ex veniam voluptate", "description": "ut elit", "memberOf": [ { "groupId": "d3b8cab0388b5ab8e6ab91d5", "aaaManaged": false } ], "assignedRoles": [ { "roleId": "veniam" }, { "roleId": "sit in" }, { "roleId": "ut tempor dolore labore" }, { "roleId": "dolore incididunt aliqua non commodo" }, { "roleId": "qui nulla" } ], "inactive": true, "_meta": { "created": "1959-08-16T11:14:13.394Z", "updated": "1961-03-06T19:31:00.988Z", "migrationVersion": -9849846 } }, "84960439a2f3c58a6c66c8cb", { "_id": "b1ab7cc5268a312a1f978a24", "provenance": "quis non ipsum pariatur dolore", "name": "in dolore quis ut", "description": "ipsum culpa consectetur proident", "memberOf": [ { "groupId": "84fecb7b64d0d61582a92abd", "aaaManaged": true } ], "assignedRoles": [ { "roleId": "veniam adipisicing ex" } ], "inactive": false, "_meta": { "created": "2001-06-18T11:04:38.858Z", "updated": "1961-09-21T12:53:56.551Z", "migrationVersion": -74599817 } }, "default", "8f3f161b816ca011bfb23a01" ], "watchers": [ "3fa5e1c22ad270b6a84ee775", "51b32cb7d89f83ed2a337d9a", "Pronghorn" ], "metrics": { "start_time": -46020440.11205879, "progress": 0.5911891453394, "end_time": 93166306.3837595, "user": "Pronghorn", "owner": "ba7d7be6775192e96950e891" } } }
{ "title": "job", "allOf": [ { "$ref": "common-api#/definitions/success-response" }, { "type": "object", "properties": { "data": { "$ref": "job-api" } } } ] }