> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.itential.com/itential-platform/2023-2/api-reference/operations-manager/get-jobs/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.itential.com/_mcp/server. # Get jobs GET http://localhost:3000/operations-manager/jobs Searches the Job collection. Reference: https://docs.itential.com/itential-platform/6/api-reference/operations-manager/get-jobs ## Authentication - `Authorization` header (basic auth, required) — Basic authentication of the form `Basic `. ## Response ### 200 The Jobs that matched the search query. - `message` (string, required) — A human-readable message summarizing the result of the operation - `data` (list of object, required) — Any successfully retrieved information related to the request. - `_id` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `uuid` (string, optional) - `font_size` (integer, optional) - `type` (enum, optional) - Allowed values: `automation`, `resource:action`, `resource:compliance` - `created` (string, optional) — An ISO 8601 date string - `last_updated` (string, optional) — An ISO 8601 date string - `createdVersion` (string, optional) - `lastUpdatedVersion` (string, optional) - `canvasVersion` (enum, optional) - Allowed values: `1`, `1.5`, `2`, `3` - `encodingVersion` (enum, optional) - Allowed values: `1` - `migrationVersion` (integer, optional) — The current document version of this document. - `name` (string, optional) — The name of the document - `description` (string, optional, nullable) - `preAutomationTime` (double, optional) - `sla` (double, optional) - `decorators` (list of object, optional) - `type` (any, optional) - `pointer` (string, optional) - `transitions` (object, optional) - `status` (enum, optional) - Allowed values: `error`, `complete`, `running`, `canceled`, `incomplete`, `paused` - `variables` (object, optional) - `tags` (list of any, optional) - `error` (list of object, optional) - `task` (any or enum or string, optional) - `message` (map from string to any or string, optional) - `timestamp` (double, optional) — The time at which this error occurred, designated by a unix timestamp - `warnings` (list of object, optional) - `task` (enum or string, optional) - `name` (string, optional) — The name of the document - `message` (map from string to any or string, optional) - `ancestors` (list of string, optional, nullable) - `validationErrors` (list of object, optional) - `keyword` (string, optional) - `instancePath` (string, optional) - `schemaPath` (string, optional) - `params` (object, optional) - `message` (string, optional) - `namespace` (object, optional) - `created_by` (any or string or object, optional, nullable) - object - `_id` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `provenance` (string, optional) - `username` (string, optional) - `firstname` (string, optional) - `memberOf` (list of object, optional) - `groupId` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `aaaManaged` (boolean, optional) - `assignedRoles` (list of object, optional) - `roleId` (string, optional) - `inactive` (boolean, optional) - `lastLogin` (string, optional) — An ISO 8601 date string - `_meta` (object, optional) - `created` (string, optional) — An ISO 8601 date string - `updated` (string, optional) — An ISO 8601 date string - `migrationVersion` (integer, optional) — The current document version of this document. - `email` (string, optional) - `last_updated_by` (any or string or object, optional, nullable) - object - `_id` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `provenance` (string, optional) - `username` (string, optional) - `firstname` (string, optional) - `memberOf` (list of object, optional) - `groupId` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `aaaManaged` (boolean, optional) - `assignedRoles` (list of object, optional) - `roleId` (string, optional) - `inactive` (boolean, optional) - `lastLogin` (string, optional) — An ISO 8601 date string - `_meta` (object, optional) - `created` (string, optional) — An ISO 8601 date string - `updated` (string, optional) — An ISO 8601 date string - `migrationVersion` (integer, optional) — The current document version of this document. - `email` (string, optional) - `tasks` (object, optional) - `workflow_start` (object, optional) - `x` (double, optional) — Stores the x coordinate used by canvasType = 1 workflows - `y` (double, optional) — Stores the y coordinate used by canvasType = 1 workflows - `gridCoordinate` (object, optional) — Stores the coordinates used by canvasType = 2 workflows - `x` (double, optional) - `y` (double, optional) - `name` (any, optional) - `summary` (any, optional) - `taskId` (any, optional) - `metrics` (object, optional) - `start_time` (double, optional) - `finish_state` (enum, optional) - Allowed values: `success`, `failure`, `error` - `user` (any or string or object, optional, nullable) - object - `_id` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `provenance` (string, optional) - `username` (string, optional) - `firstname` (string, optional) - `memberOf` (list of object, optional) - `assignedRoles` (list of object, optional) - `inactive` (boolean, optional) - `lastLogin` (string, optional) — An ISO 8601 date string - `_meta` (object, optional) - `email` (string, optional) - `groups` (list of string or object or any, optional) - object - `_id` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `provenance` (string, optional) - `name` (string, optional) - `description` (string, optional) - `memberOf` (list of object, optional) - `groupId` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `aaaManaged` (boolean, optional) - `assignedRoles` (list of object, optional) - `roleId` (string, optional) - `inactive` (boolean, optional) - `_meta` (object, optional) - `created` (string, optional) — An ISO 8601 date string - `updated` (string, optional) — An ISO 8601 date string - `migrationVersion` (integer, optional) — The current document version of this document. - `iterations` (list of string or map from string to any, optional) - `workflow_end` (object, optional) - `x` (double, optional) — Stores the x coordinate used by canvasType = 1 workflows - `y` (double, optional) — Stores the y coordinate used by canvasType = 1 workflows - `gridCoordinate` (object, optional) — Stores the coordinates used by canvasType = 2 workflows - `x` (double, optional) - `y` (double, optional) - `name` (any, optional) - `summary` (any, optional) - `taskId` (any, optional) - `endTasks` (object, optional) - `incomplete` (list of enum or string, optional) - `complete` (list of enum or string, optional) - `error` (list of enum or string, optional) - `metrics` (object, optional) - `end_time` (double, optional) - `run_time` (double, optional) - `groups` (list of string or object or any, optional) - object - `_id` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `provenance` (string, optional) - `name` (string, optional) - `description` (string, optional) - `memberOf` (list of object, optional) - `groupId` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `aaaManaged` (boolean, optional) - `assignedRoles` (list of object, optional) - `roleId` (string, optional) - `inactive` (boolean, optional) - `_meta` (object, optional) - `created` (string, optional) — An ISO 8601 date string - `updated` (string, optional) — An ISO 8601 date string - `migrationVersion` (integer, optional) — The current document version of this document. - `iterations` (list of string or map from string to any, optional) - `error_handler` (object, optional) - `x` (double, optional) — Stores the x coordinate used by canvasType = 1 workflows - `y` (double, optional) — Stores the y coordinate used by canvasType = 1 workflows - `gridCoordinate` (object, optional) — Stores the coordinates used by canvasType = 2 workflows - `x` (double, optional) - `y` (double, optional) - `name` ("childJob", optional) - `location` (enum, optional) - Allowed values: `Adapter`, `Application`, `Broker` - `locationType` (string, optional, nullable) - `app` (string, optional) - `canvasName` (string, optional) - `displayName` (string, optional) - `summary` (string, optional) - `description` (string, optional) - `variables` (object, optional) - `incoming` (object, optional) - `outgoing` (object, optional) - `error` (string, optional) - `decorators` (list of object, optional) - `type` (any, optional) - `pointer` (string, optional) - `deprecated` (boolean, optional) - `scheduled` (boolean, optional) - `matched` (list of object, optional) - `key` (string, optional) - `highlightString` (string, optional) - `status` (enum, optional) - Allowed values: `incomplete`, `scheduled`, `running`, `complete`, `canceled`, `error`, `failure`, `paused` - `previous` (object, optional) - `incomplete` (list of enum or string, optional) - `complete` (list of enum or string, optional) - `error` (list of enum or string, optional) - `taskId` (enum or string, optional) - `transitions` (object, optional) - `success` (list of object, optional) - `task` (enum or string, optional) - `type` (enum, optional) - Allowed values: `standard`, `revert`, `loop` - `failure` (list of object, optional) - `task` (enum or string, optional) - `type` (enum, optional) - Allowed values: `standard`, `revert`, `loop` - `error` (list of object, optional) - `task` (enum or string, optional) - `type` (enum, optional) - Allowed values: `standard`, `revert`, `loop` - `serverId` (string, optional) - `start_time` (string, optional) — An ISO 8601 date string - `end_time` (double, optional) - `finish_state` (enum, optional) - Allowed values: `success`, `failure`, `error` - `retrySettings` (object, optional, nullable) - `state` (list of enum, optional) - Allowed values: `success`, `error`, `failure` - `autoRetry` (boolean, optional) - `limit` (integer, optional) - `delay` (integer, optional) - `count` (integer, optional) - `finishedRetrying` (boolean, optional) - `type` (any, optional) - `actor` (any or string or object or any, optional) - `groups` (list of string or object or any, optional) - object - `_id` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `provenance` (string, optional) - `name` (string, optional) - `description` (string, optional) - `memberOf` (list of object, optional) - `groupId` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `aaaManaged` (boolean, optional) - `assignedRoles` (list of object, optional) - `roleId` (string, optional) - `inactive` (boolean, optional) - `_meta` (object, optional) - `created` (string, optional) — An ISO 8601 date string - `updated` (string, optional) — An ISO 8601 date string - `migrationVersion` (integer, optional) — The current document version of this document. - `iterations` (list of string or map from string to any, optional) - `parent` (object, optional) - `job` (string or map from string to any, optional) - `task` (string, optional) - `iteration` (double, optional) - `element` (double, optional) - `errorHandler` (object, optional, nullable) - `actor` (any or string or object or any, optional) - `groups` (list of string or object or any, optional) - object - `_id` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `provenance` (string, optional) - `name` (string, optional) - `description` (string, optional) - `memberOf` (list of object, optional) - `groupId` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `aaaManaged` (boolean, optional) - `assignedRoles` (list of object, optional) - `roleId` (string, optional) - `inactive` (boolean, optional) - `_meta` (object, optional) - `created` (string, optional) — An ISO 8601 date string - `updated` (string, optional) — An ISO 8601 date string - `migrationVersion` (integer, optional) — The current document version of this document. - `iterations` (list of string or map from string to any, optional) - `groups` (list of string or object or any, optional) - object - `_id` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `provenance` (string, optional) - `name` (string, optional) - `description` (string, optional) - `memberOf` (list of object, optional) - `groupId` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `aaaManaged` (boolean, optional) - `assignedRoles` (list of object, optional) - `roleId` (string, optional) - `inactive` (boolean, optional) - `_meta` (object, optional) - `created` (string, optional) — An ISO 8601 date string - `updated` (string, optional) — An ISO 8601 date string - `migrationVersion` (integer, optional) — The current document version of this document. - `watchers` (list of any or string or object, optional) - object - `_id` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `provenance` (string, optional) - `username` (string, optional) - `firstname` (string, optional) - `memberOf` (list of object, optional) - `groupId` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `aaaManaged` (boolean, optional) - `assignedRoles` (list of object, optional) - `roleId` (string, optional) - `inactive` (boolean, optional) - `lastLogin` (string, optional) — An ISO 8601 date string - `_meta` (object, optional) - `created` (string, optional) — An ISO 8601 date string - `updated` (string, optional) — An ISO 8601 date string - `migrationVersion` (integer, optional) — The current document version of this document. - `email` (string, optional) - `metrics` (object, optional) - `start_time` (double, optional) - `progress` (double, optional) - `end_time` (double, optional) - `user` (any or string or object, optional, nullable) - object - `_id` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `provenance` (string, optional) - `username` (string, optional) - `firstname` (string, optional) - `memberOf` (list of object, optional) - `groupId` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `aaaManaged` (boolean, optional) - `assignedRoles` (list of object, optional) - `roleId` (string, optional) - `inactive` (boolean, optional) - `lastLogin` (string, optional) — An ISO 8601 date string - `_meta` (object, optional) - `created` (string, optional) — An ISO 8601 date string - `updated` (string, optional) — An ISO 8601 date string - `migrationVersion` (integer, optional) — The current document version of this document. - `email` (string, optional) - `owner` (any or string or object, optional, nullable) - object - `_id` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `provenance` (string, optional) - `username` (string, optional) - `firstname` (string, optional) - `memberOf` (list of object, optional) - `groupId` (string, optional) — A string which is formatted like an ObjectId, Distinct from an actual ObjectId. - `aaaManaged` (boolean, optional) - `assignedRoles` (list of object, optional) - `roleId` (string, optional) - `inactive` (boolean, optional) - `lastLogin` (string, optional) — An ISO 8601 date string - `_meta` (object, optional) - `created` (string, optional) — An ISO 8601 date string - `updated` (string, optional) — An ISO 8601 date string - `migrationVersion` (integer, optional) — The current document version of this document. - `email` (string, optional) - `output` (object, optional) - `outputData` (object, optional) - `metadata` (object, required) — Any structured, wordy or machine-readable information related to the result of the operation. For success responses, this may contain information like pagination values from a search operation. - `skip` (integer, optional) - `limit` (integer, optional) - `total` (integer, optional) - `nextPageSkip` (integer, optional, nullable) - `previousPageSkip` (integer, optional, nullable) - `currentPageSize` (integer, optional) ## Errors ### 500 Internal Server Error Error response from API - `any` ## Examples **Response** ```json { "message": "Successfully created the requested item", "data": [ { "_id": "string", "uuid": "string", "font_size": 1, "type": "automation", "created": "2024-01-15T09:30:00Z", "last_updated": "2024-01-15T09:30:00Z", "createdVersion": "string", "lastUpdatedVersion": "string", "canvasVersion": 1, "encodingVersion": 1, "migrationVersion": 1, "name": "myCoolDocumentName", "description": "Some helpful information about the document", "preAutomationTime": 1.1, "sla": 1.1, "decorators": [ { "type": null, "pointer": "string" } ], "transitions": {}, "status": "error", "variables": {}, "tags": [ "string" ], "error": [ { "task": null, "message": {}, "timestamp": 1.1 } ], "warnings": [ { "task": "workflow_start", "name": "myCoolDocumentName", "message": {} } ], "ancestors": [ "string" ], "validationErrors": [ { "keyword": "string", "instancePath": "string", "schemaPath": "string", "params": {}, "message": "string" } ], "namespace": {}, "created_by": null, "last_updated_by": null, "tasks": { "workflow_start": { "x": 1.1, "y": 1.1, "gridCoordinate": { "x": 1.1, "y": 1.1 }, "name": null, "summary": null, "taskId": null, "metrics": { "user": null }, "groups": [ "string" ], "iterations": [ {} ] }, "workflow_end": { "x": 1.1, "y": 1.1, "gridCoordinate": { "x": 1.1, "y": 1.1 }, "name": null, "summary": null, "taskId": null, "endTasks": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_start" ], "error": [ "workflow_start" ] }, "metrics": { "end_time": 1.1, "run_time": 1.1 }, "groups": [ "string" ], "iterations": [ {} ] }, "error_handler": { "x": 1.1, "y": 1.1, "gridCoordinate": { "x": 1.1, "y": 1.1 }, "name": "string", "location": "Adapter", "locationType": "string", "app": "string", "canvasName": "string", "displayName": "string", "summary": "string", "description": "string", "variables": { "incoming": {}, "outgoing": {}, "error": "string", "decorators": [ { "type": null, "pointer": "string" } ] }, "deprecated": true, "scheduled": true, "matched": [ { "key": "string", "highlightString": "string" } ], "status": "incomplete", "previous": { "incomplete": [ "workflow_start" ], "complete": [ "workflow_start" ], "error": [ "workflow_start" ] }, "taskId": "workflow_start", "transitions": { "success": [ { "task": "workflow_start", "type": "standard" } ], "failure": [ { "task": "workflow_start", "type": "standard" } ], "error": [ { "task": "workflow_start", "type": "standard" } ] }, "serverId": "string", "start_time": "2024-01-15T09:30:00Z", "end_time": 1.1, "finish_state": "success", "retrySettings": null, "type": null, "actor": null, "groups": [ "string" ], "iterations": [ {} ] } }, "parent": { "job": {}, "task": "string", "iteration": 1.1, "element": 1.1 }, "errorHandler": null, "groups": [ "string" ], "watchers": [ null ], "metrics": { "start_time": 1.1, "progress": 0.5, "end_time": 1.1, "user": null, "owner": null }, "output": {}, "outputData": {} } ], "metadata": { "skip": 1, "limit": 1, "total": 1, "nextPageSkip": null, "previousPageSkip": null, "currentPageSize": 1 } } ``` **SDK Code** ```python import requests url = "http://localhost:3000/operations-manager/jobs" response = requests.get(url) print(response.json()) ``` ```javascript const url = 'http://localhost:3000/operations-manager/jobs'; const options = {method: 'GET'}; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go package main import ( "fmt" "net/http" "io" ) func main() { url := "http://localhost:3000/operations-manager/jobs" req, _ := http.NewRequest("GET", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby require 'uri' require 'net/http' url = URI("http://localhost:3000/operations-manager/jobs") http = Net::HTTP.new(url.host, url.port) request = Net::HTTP::Get.new(url) response = http.request(request) puts response.read_body ``` ```java import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponse response = Unirest.get("http://localhost:3000/operations-manager/jobs") .asString(); ``` ```php request('GET', 'http://localhost:3000/operations-manager/jobs'); echo $response->getBody(); ``` ```csharp using RestSharp; var client = new RestClient("http://localhost:3000/operations-manager/jobs"); var request = new RestRequest(Method.GET); IRestResponse response = client.Execute(request); ``` ```swift import Foundation let request = NSMutableURLRequest(url: NSURL(string: "http://localhost:3000/operations-manager/jobs")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "GET" let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```