---
title: "Preview Chat"
method: POST
path: "/v1/agents/{agent_id}/preview-chat"
tags: ["Preview Chat"]
---

# Preview Chat

`POST /v1/agents/{agent_id}/preview-chat`

Send one turn to the DFCX agent's draft and return its reply (multi-turn via session_id).

## Path parameters

- `agent_id` integer, required

## Headers

- `X-API-Key` string, required

## Request body

- PreviewChatBody
  - `message` string, required — The user turn to send to the draft agent
  - `session_id` string, nullable — Continue a multi-turn preview; omit to start a fresh draft session

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-31** `4309a961859b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/getbluejay/apis/bluejay-api/changes/v1/agents/:agent_id/preview-chat/post.md)

---

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