curl --request GET \
--url https://api.ionworks.com/pipelines/validations/{job_id}/plot_dataimport requests
url = "https://api.ionworks.com/pipelines/validations/{job_id}/plot_data"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.ionworks.com/pipelines/validations/{job_id}/plot_data', 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/validations/{job_id}/plot_data",
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/validations/{job_id}/plot_data"
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/validations/{job_id}/plot_data")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ionworks.com/pipelines/validations/{job_id}/plot_data")
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{
"traces": [
{
"name": "<string>",
"x": [
123
],
"y": [
123
]
}
],
"layout": {},
"type": "<string>",
"x_full_min": 123,
"x_full_max": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Get Validation Plot Data
Return decimated trace data for a single validation or data-fit plot.
Reads the stored validation_plot_config from the job’s metadata blob,
extracts the requested plot, filters to the given x-range, and downsamples
to at most max_points per trace. Supports semantic zoom: callers refetch
with x_min/x_max set to the current viewport on each zoom event.
max_points is a per-trace ceiling, and a figure may hold several traces, so it
is reduced where the whole response would otherwise exceed the payload cap — see
src.jobs.plot_data._payload_capped_budget.
curl --request GET \
--url https://api.ionworks.com/pipelines/validations/{job_id}/plot_dataimport requests
url = "https://api.ionworks.com/pipelines/validations/{job_id}/plot_data"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.ionworks.com/pipelines/validations/{job_id}/plot_data', 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/validations/{job_id}/plot_data",
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/validations/{job_id}/plot_data"
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/validations/{job_id}/plot_data")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.ionworks.com/pipelines/validations/{job_id}/plot_data")
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{
"traces": [
{
"name": "<string>",
"x": [
123
],
"y": [
123
]
}
],
"layout": {},
"type": "<string>",
"x_full_min": 123,
"x_full_max": 123
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Path Parameters
Query Parameters
Objective name within validation_plot_config
Index into the plots list for this objective
x >= 0Maximum points per trace
100 <= x <= 80000Lower x-range bound (inclusive)
Upper x-range bound (inclusive)
Response
Successful Response
Response from GET /pipelines/{validations|datafits}/{job_id}/plot_data.
Contains decimated trace data for a single validation plot, filtered to
the requested x-range and downsampled to at most max_points per trace.
Was this page helpful?