TaskExecutionApi

TaskExecutionApi

All URIs are relative to https://dbos

Method HTTP request Description
getTaskExecution GET /tasks/{taskId}/execution Gets all the jobs execution status for this task.

getTaskExecution

TaskExecutionStatus getTaskExecution(taskId)

Gets all the jobs execution status for this task.

This API retrieves the current Jobs execution status for this task.

Example

// Import classes:
//import com.decisionbrain.optimserver.client.java.resttemplate.ApiException;
//import com.decisionbrain.optimserver.client.java.resttemplate.api.TaskExecutionApi;


TaskExecutionApi apiInstance = new TaskExecutionApi();
String taskId = "taskId_example"; // String | 
try {
    TaskExecutionStatus result = apiInstance.getTaskExecution(taskId);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling TaskExecutionApi#getTaskExecution");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
taskId String

Return type

TaskExecutionStatus

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/xml