---
title: "Api Preview Automation"
method: POST
path: "/api/automations/{slug}/preview"
---

# Api Preview Automation

`POST /api/automations/{slug}/preview`

## Request

- Base URL: `https://fluxito.app` (the document declares no server; this is the origin it was published from)
- URL: `https://fluxito.app/api/automations/{slug}/preview`
- Auth: none declared

Render the prompt with the supplied variables — used for live preview.

## Path parameters

- `slug` string, required

## Request body

- PreviewPayload
  - `channel_label` string, nullable
  - `variables` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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