Skip to main content
Get Validation Plot Data
curl --request GET \
  --url https://api.ionworks.com/pipelines/validations/{job_id}/plot_data
{
  "traces": [
    {
      "name": "<string>",
      "x": [
        123
      ],
      "y": [
        123
      ]
    }
  ],
  "layout": {},
  "x_full_min": 123,
  "x_full_max": 123
}

Path Parameters

job_id
string
required

Query Parameters

objective_name
string
required

Objective name within validation_plot_config

plot_index
integer
default:0

Index into the plots list for this objective

Required range: x >= 0
max_points
integer
default:2000

Maximum points per trace

Required range: 100 <= x <= 10000
x_min
number | null

Lower x-range bound (inclusive)

x_max
number | null

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.

traces
ValidationPlotTrace · object[]
required
layout
Layout · object
required
x_full_min
number | null
x_full_max
number | null