---
title: "Preview an endpoint update"
method: POST
path: "/dispatch/tasks/{task_id}/preview-update/{endpoint_name}"
tags: ["Dispatch"]
---

# Preview an endpoint update

`POST /dispatch/tasks/{task_id}/preview-update/{endpoint_name}`

Test an endpoint against the canonical version to see the updated behavior before merging. Returns the execution result plus sample inputs.

## Path parameters

- `task_id` string, required
- `endpoint_name` string, required

## Request body

- object
  - `params` object — Test parameters for the endpoint

## Response `200`

Execution result from the canonical version

- object
  - `status` string
  - `data` object, nullable
  - `sample_inputs` object — Pre-fill data from canonical for this endpoint

---

[API](https://skmtc.dev/parse/apis/parse-api.md) · [All operations](https://skmtc.dev/parse/apis/parse-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/parse/parse-api/revisions/ebc08aeee348/schema)
