Retrieve All Asynchronous Jobs
get
/py-scripts/v2/jobs
Retrieves the status, job id, elapsed time of the asynchronous jobs.
Request
There are no request parameters for this operation.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
List of asynchronous jobs.
401 Response
When the user doesn't have privileges to perform the action.
500 Response
Problem connecting to Broker, finding the job id or other unexpected error.
Examples
The following example gets all the result of an asynchronous job.
curl -i -X GET --header "Authorization: Bearer ${token}" \
--header 'Accept: application/json' \
"<oml-cloud-service-location-url>/oml/api/py-scripts/v2/jobs"Response
The response body in JSON format is the following:
{
"result": [
{
"createdDate": "2026-01-06 21:40:08 UTC",
"job_id": "OML-EBPY-691b7220-64f8-489e-bc73-b6acbeafa8e5-2537b107-LOW-1767735602687_2026-01-06-09-40-07",
"status": "FINISH",
"elapsedTime": "00:00:22"
}
]
}