---
title: "Chat Compare"
method: POST
path: "/agents/v1/{api_key}/chat/compare"
tags: ["agents"]
---

# Chat Compare

`POST /agents/v1/{api_key}/chat/compare`

Compare the same prompt rewritten through multiple tune presets.

Calls Nova OS once for the raw result, then rewrites via LLM per tune preset.

## Path parameters

- `api_key` string, required

## Request body

- TuneCompareRequest — Request to chat with tune comparison — Nova OS runs once, result rewritten per tune.
  - `message` string, required
  - `conversation_id` string, uuid, nullable
  - `tune_preset_ids` string[], required
  - `attachments` object[], nullable
  - `response_format` string

## Response `200`

Successful Response

- TuneCompareResponse — Response containing raw Nova OS result + tuned variants.
  - `raw_response` string, required
  - `variants` TuneVariant[], required
    - `tune_id` string, required
    - `tune_name` string, required
    - `response` string, required
    - `model_used` string, required
    - `tokens_used` integer
  - `conversation_id` string, uuid, required
  - `agent_id` string, uuid, required
  - `tokens_used_raw` integer, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
