Jobs behind an element (debug view)
curl --request GET \
--url https://api.ionworks.com/pipelines/elements/{element_id}/jobsimport requests
url = "https://api.ionworks.com/pipelines/elements/{element_id}/jobs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.ionworks.com/pipelines/elements/{element_id}/jobs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ionworks.com/pipelines/elements/{element_id}/jobs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ionworks.com/pipelines/elements/{element_id}/jobs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ionworks.com/pipelines/elements/{element_id}/jobs")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ionworks.com/pipelines/elements/{element_id}/jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"parent": {
"job_id": "<string>",
"job_type": "dummy",
"status": "pending",
"priority": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "<string>",
"organization_id": "<string>",
"is_terminal": true,
"is_failed": true,
"anyscale_url": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"compute_time": 123,
"error": "<string>",
"error_code": "CONFIGURATION_ERROR",
"error_detail": {},
"result": {},
"callback_url": "<string>",
"parent_job_id": "<string>",
"project_id": "<string>",
"access_level": "organization",
"params_path": "<string>",
"metadata_path": "<string>",
"anyscale_job_id": "<string>",
"submission_info": {}
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Pipeline
Jobs behind an element (debug view)
The job behind an element: id, status, error, Anyscale link. Fetched on demand for the “Background job” panel; nothing should poll it. Multistart children are summarised on the element row, never listed.
Jobs behind an element (debug view)
curl --request GET \
--url https://api.ionworks.com/pipelines/elements/{element_id}/jobsimport requests
url = "https://api.ionworks.com/pipelines/elements/{element_id}/jobs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.ionworks.com/pipelines/elements/{element_id}/jobs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.ionworks.com/pipelines/elements/{element_id}/jobs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.ionworks.com/pipelines/elements/{element_id}/jobs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.ionworks.com/pipelines/elements/{element_id}/jobs")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ionworks.com/pipelines/elements/{element_id}/jobs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"parent": {
"job_id": "<string>",
"job_type": "dummy",
"status": "pending",
"priority": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"user_id": "<string>",
"organization_id": "<string>",
"is_terminal": true,
"is_failed": true,
"anyscale_url": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"compute_time": 123,
"error": "<string>",
"error_code": "CONFIGURATION_ERROR",
"error_detail": {},
"result": {},
"callback_url": "<string>",
"parent_job_id": "<string>",
"project_id": "<string>",
"access_level": "organization",
"params_path": "<string>",
"metadata_path": "<string>",
"anyscale_job_id": "<string>",
"submission_info": {}
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Path Parameters
Response
Successful Response
Response from GET /pipelines/elements/{element_id}/jobs — debug view of
the job behind an element. Multistart children are deliberately not listed:
their roll-up is PipelineElement.progress.
Schema for job information response
Show child attributes
Show child attributes
Was this page helpful?