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

# Chat Compare

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

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/agents/v1/{api_key}/chat/compare`
- Auth: none declared

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.dev/meganova/apis/meganova-api.md) - [All operations](https://skmtc.dev/meganova/apis/meganova-api/llms.txt) - [OpenAPI document](https://skmtc.dev/meganova/apis/meganova-api/revisions/c683584f6060?raw)
