GET Orchestrator Jobs Job History
GET Orchestrator Jobs Job History
The GET /OrchestratorJobs/JobHistory method is used to retrieve the status of an in progress or completed orchestrator Keyfactor orchestrators perform a variety of functions, including managing certificate stores and SSH key stores. (a.k.a. agent) job for a given job ID. This method returns HTTP 200 OK on a success with details of the requested orchestrator jobs.
Table 383: GET Orchestrator Jobs Job History Input Parameters
Name | In | Description |
---|---|---|
queryString | Query |
A string containing a query to limit the results (e.g. field1 -eq value1 AND field2 -gt value2). The default is to return all records. Fields available for querying through the API for the most part match those that appear in the Keyfactor Command Management Portal search dropdowns for the same feature. For querying guidelines, refer to the Keyfactor Command Reference Guide: Job History Search Feature. The query fields supported for this endpoint are:
|
pageReturned | Query | An integer that specifies how many multiples of the returnLimit to skip and offset by before returning results, to enable paging. The default is 1. |
returnLimit | Query | An integer that specifies how many results to return per page. The default is 50. |
sortField | Query | A string containing the property by which the results should be sorted. Fields available for sorting through the API for the most part match those that appear as sortable columns in the Keyfactor Command Management Portal. The default sort field is JobHistoryId. |
sortAscending | Query | An integer that sets the sort order on the returned results. A value of 0 sorts results in ascending order while a value of 1 sorts results in descending order. The default is ascending. |
Table 384: GET Orchestrator Jobs Job History Response Data
Name | Description |
---|---|
JobHistoryId | An integer indicating the Keyfactor Command reference ID used to track progress during orchestrator jobs. |
AgentMachine | A string indicating the name of the server on which the agent or orchestrator is installed. This is not necessarily the actual DNS name of the server; the orchestrator may have been installed using an alternative as a reference name. |
JobId | A string indicating the Keyfactor Command reference GUID assigned to the job. |
Schedule |
The inventory schedule for the most recently run instance of the orchestrator job. |
JobType | A string indicating the job type (e.g. IISInventory). |
OperationStart | The time, in UTC, at which the orchestrator job started. |
OperationEnd | The time, in UTC, at which the orchestrator job finished. |
Message | A string providing the error message for the operation, if any. |
Result |
A string indicating the result of the orchestrator job. Possible values are:
|
Status |
A string indicating the status of the orchestrator job. Possible values are:
|
StorePath | A string indicating the path to the certificate store on the target. The format for this path will vary depending on the certificate store type. For example, for a Java keystore, this will be a file path (e.g. /opt/myapp/store.jks), but for an F5 device, this will be a partition name on the device (e.g. Common). See Adding or Modifying a Certificate Store in the Keyfactor Command Reference Guide for more information. |
ClientMachine | A string indicating the name of the client machine. The value for this will vary depending on the certificate store type. For example, for a Java keystore or an F5 device, it is the hostname of the machine on which the store is located, but for an Amazon Web Services store, it is the FQDN of the Keyfactor Command Windows Orchestrator. See Adding or Modifying a Certificate Store in the Keyfactor Command Reference Guide for more information. |
