1Fetch Completed Jobs
Overview
This API retrieves Completed Jobs. Users can also apply filters to retrieve the list of jobs.
Method: POST
Request URL: {kyvos-url}/rest/v2/activity-monitor/completed-jobs
Authorization
API Key: sessionid
This method authenticates requests using a session ID which acts like an API key.
BasicAuth: HTTP Authorization Scheme
This method authenticates requests using a username and password sent in the HTTP Authorization header.
Headers
Header Name | Type | Description | Possible Values |
|---|---|---|---|
Content-Type (Required) | String | Specifies media type of the request body. |
|
sessionid | String | The session ID is the token received from the Login API. Note: Session ID is required for token-based authentication. | – |
Request Body
Parameter Name | Type | Description | Possible Values |
|---|---|---|---|
requestJson (Required) | String | JSON definition containing the parameters and filter list. Note: If this JSON is not provided, the API applies these defaults: Note: An example JSON is provided under the Resources section below. | – |
Responses
200 Success
{
"jobs": [
{
"instanceNameDisplayValue": "172.68.78.98",
"entityType": "ANALYTICAL",
"completedTime": "06/18/2026 19:05:07 IST",
"entitySubType": "CUBE",
"entityId": "SMODEL_OBJECT_17812398654937564832940318577",
"instanceNameActualValue": "172.26.43.6:45450",
"requestId": "584C370A-07FB-8F44-CC6E-20BABCDEFG73",
"entityName": "order date",
"completedTimestamp": "1781789707577",
"action": "Semantic Model Full Data Process",
"location": "Account",
"user": "admin",
"elapsedTime": "00:02:44.089",
"status": "Success"
},
{
"instanceNameDisplayValue": "172.68.78.98",
"entityType": "ANALYTICAL",
"completedTime": "06/18/2026 19:04:58 IST",
"entitySubType": "CUBE",
"entityId": "17784888583934127028070140909876",
"instanceNameActualValue": "172.26.43.6:45450",
"requestId": "72AB1AB3-ADE7-3EB4-84E3-F931543FDD42",
"entityName": "SCD_Type1_MF_Final",
"completedTimestamp": "1781789698794",
"action": "Semantic Model Full Data Process",
"location": "Order",
"user": "admin2",
"elapsedTime": "00:01:06.022",
"status": "Success"
},
{
"instanceNameDisplayValue": "172.68.78.98",
"entityType": "ANALYTICAL",
"completedTime": "06/18/2026 19:03:30 IST",
"entitySubType": "CUBE",
"entityId": "17784888583934127028070554455641",
"instanceNameActualValue": "172.26.43.6:45450",
"requestId": "D8011E57-E43B-F68F-4DF0-ABCDEFGHFD4F",
"entityName": "SCD_Type1_MF_Final",
"completedTimestamp": "1781789610931",
"action": "Semantic Model Full Data Process",
"location": "Order",
"user": "admin2",
"elapsedTime": "00:00:00.219",
"status": "Failed"
},
{
"instanceNameDisplayValue": "172.68.78.98",
"entityType": "ANALYTICAL",
"completedTime": "06/18/2026 18:06:50 IST",
"entitySubType": "CUBE",
"entityId": "17549731658344127048075167777777",
"instanceNameActualValue": "172.26.43.6:45450",
"requestId": "2EF089F6-7887-7BC7-9E84-6ABCERF66AB5",
"entityName": "AdventureWorksMF_NoSpark2",
"completedTimestamp": "1781786210717",
"action": "Semantic Model Full Data Process",
"location": "Tesing",
"user": "admin.test",
"elapsedTime": "00:21:51.298",
"status": "Failed"
}
]
}Status Code | Description |
|---|---|
401 | Authorization information is missing or invalid. |
404 | Connection, database, schema, or table not found. |
412 | Precondition failed. Required parameter missing. |
500 | Internal Server Error |
Resources
Below is an example of JSON structure which can be used as a reference for the requestJson parameter in the request body.
{
"maxRows": "300",
"sortField": "ORIGINAL_RUNTIME",
"sortOrder": "DESC",
"sortDataType": "1",
"filters": [
{
"fieldName": "FOLDER_NAME",
"operation": "EQUALSIGNORECASE",
"dataType": "CHAR",
"firstValue": "Admin"
},
{
"fieldName": "ACTION",
"operation": "INLIST",
"dataType": "CHAR",
"firstValue": "'Semantic Model Full Data Process','Query Execution'"
},
{
"fieldName": "ELAPSED_TIME",
"operation": "BETWEEN",
"dataType": "NUMBER",
"firstValue": "60000",
"secondValue": "300000"
},
{
"fieldName": "ORIGINAL_RUNTIME",
"operation": "LAST",
"dataType": "NUMBER",
"firstValue": "7",
"secondValue": "Day"
}
],
"lastRecordEndTime": "",
"lastRecordValue": "",
"lastRecordValueDataType": ""
}JSON Field Definitions
Field | Type | Description | Possible Values | Example |
|---|---|---|---|---|
| Number | Maximum number of records to return. If omitted, the default value is 300. | Any positive integer |
|
| String | Field used to sort the returned records. If omitted, defaults to | Any supported filter field name (see Supported Filter Fields table) |
|
| String | Sort order of the results. |
|
|
| Number | Data type of the sort field. Defaults to |
|
|
| Array of JSON Objects Note: Details of supported objects are provided in the section Filter Objects | List of filters to apply. Multiple filters are combined using AND. | Array of filter objects |
|
| String | Field on which the filter will be applied. | Any supported filter field name (see Supported Filter Fields table) |
|
| String | Filter operation to perform. Supported operations depend on the selected field. |
|
|
| String | Data type of the field being filtered. |
|
|
| String | Primary value used by the selected operation. For | Depends on the selected field and operation |
|
| String | Secondary value required only for |
|
|
| String | Pagination value returned in the previous response. Leave empty for the first request. | Value returned by the previous response |
|
| String | Pagination value returned in the previous response. Leave empty for the first request. | Value returned by the previous response |
|
| String | Data type of | Value returned by the previous response |
|
Supported Filter Fields
Below are the supported fields on which filters can be applied (referfilters[].fieldName in the above table).
Field Name | Data Type | Allowed Operations | Possible Values |
|---|---|---|---|
|
|
| Any entity name |
|
|
| Any question ID |
|
|
| Any query cube name |
|
|
| Any instance name |
|
|
| Any user name |
|
|
| Any folder name |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note: When using the option BETWEEN, the firstValue and secondValue should be provided as Unix timestamp. | Numeric values |
|
|
| Numeric values |
|
|
| Time in milliseconds |
|
|
|
|
|
|
| Any folder ID |
|
|
|
Cache)
|
Notes
dataTypesupports onlyCHARandNUMBER.ELAPSED_TIMEvalues must be provided in milliseconds.sortFieldshould be one of the supported field names listed above.If
maxRowsis not specified, the API returns up to 300 records.Pagination is supported using
lastRecordEndTime,lastRecordValue, andlastRecordValueDataType. Leave these fields empty for the initial request and pass the values returned in the previous response to fetch the next page.The API validates supported field-operation combinations. It does not validate enum values or incorrect data types.
Multiple filters are combined using AND.