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 Top

Response

Supported Media Types

200 Response

List of asynchronous jobs.
Body ()
Root Schema : JSONObject
Type: object
Show Source

401 Response

When the user doesn't have privileges to perform the action.
Body ()
Root Schema : UnauthorizedException
Type: object
Show Source

500 Response

Problem connecting to Broker, finding the job id or other unexpected error.
Body ()
Root Schema : ComputeContainerException
Type: object
Show Source
Back to Top

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"
        }
    ]
}
Back to Top