> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getcitable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# get_pdp_run

> Returns one PDP optimization run and its change proposals (diffs, decisions, write status).

Returns one PDP optimization run and its change proposals (diffs, decisions, write status).

Pass run\_id OR shopify\_product\_id (latest run for that SKU). Use after start\_pdp\_optimization, or when the user asks about a product page's proposed changes.

baseline\_snapshot is included on the run — that is the immutable pre-publish state used for revert.

Skip when: no run exists yet (start\_pdp\_optimization first).

## Inputs

| Field | Type | Required | Default | Description |
| - | - | - | - | - |
| `run_id` | `integer` | no | — | PDP run id. |
| `shopify_product_id` | `integer` | no | — | Shopify product id — returns the latest run for that SKU. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.