---
title: "Get Pipeline Element Plot Data"
method: GET
path: "/pipelines/elements/{element_id}/plot_data"
tags: ["Pipeline"]
---

# Get Pipeline Element Plot Data

`GET /pipelines/elements/{element_id}/plot_data`

## Request

- Base URL: `https://api.ionworks.com`
- URL: `https://api.ionworks.com/pipelines/elements/{element_id}/plot_data`
- Auth: none declared

Return decimated trace data for one validation plot, keyed by element.

Same behaviour as ``GET /datafits/{job_id}/plot_data`` and
``GET /validations/{job_id}/plot_data`` — the element resolves to its job —
so the UI needs no job id. See those routes for the decimation contract.

## Path parameters

- `element_id` string, uuid, required

## Query parameters

- `objective_name` string, required: Objective name within validation_plot_config
- `plot_index` integer: Index into the plots list for this objective
- `max_points` integer: Maximum points per trace
- `x_min` number, nullable: Lower x-range bound (inclusive)
- `x_max` number, nullable: Upper x-range bound (inclusive)

## Response `200`

Successful Response

- ValidationPlotDataResponse: 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.
  - `type` string, nullable
  - `traces` ValidationPlotTrace[], required
    - `name` string, required
    - `x` number[], required
    - `y` number[], required
  - `x_full_min` number, nullable
  - `x_full_max` number, nullable
  - `layout` object, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-30** `ea3d377fec1a`: 1 breaking
  - for the `path` request parameter `element_id`, the format changed from no format to `uuid`
- **2026-09-14** `7baccf056192`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ionworks/apis/ionworks-api/changes/pipelines/elements/:element_id/plot_data/get.md)

---

[API](https://skmtc.dev/ionworks/apis/ionworks-api.md) - [All operations](https://skmtc.dev/ionworks/apis/ionworks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ionworks/apis/ionworks-api/revisions/abebbbc5f60a?raw)
