---
title: "Preview Destination"
method: POST
path: "/api/v1/destinations/preview"
---

# Preview Destination

`POST /api/v1/destinations/preview`

## Request

- Base URL: `https://api.mesharc.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mesharc.dev/api/v1/destinations/preview`
- Auth: none declared

What these settings would write for a project's last finished run:
the first rows after the shape, with every count. Nothing is written,
nothing saved -- a shape is checked here before it is.

## Headers

- `authorization` string, nullable
- `x-mesharc-tenant` string, nullable

## Request body

- DestinationPreview
  - `project_id` string, required
  - `run_id` string, nullable
  - `columns` string[], nullable
  - `incremental` boolean
  - `shape` object, nullable
  - `limit` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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