---
title: "POST /model-hub/datasets/{dataset_id}/compare-datasets/add-eval/"
method: POST
path: "/model-hub/datasets/{dataset_id}/compare-datasets/add-eval/"
tags: ["model-hub"]
---

# POST /model-hub/datasets/{dataset_id}/compare-datasets/add-eval/

`POST /model-hub/datasets/{dataset_id}/compare-datasets/add-eval/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/datasets/{dataset_id}/compare-datasets/add-eval/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- CompareExperimentEvalRequest
  - `name` string, required
  - `template_id` string, required
  - `config` object, required
  - `kb_id` string, uuid
  - `error_localizer` boolean
  - `model` string
  - `eval_type` string
  - `run` boolean
  - `save_as_template` boolean
  - `experiment_id` string, uuid
  - `composite_weight_overrides` object, nullable
  - `dataset_ids` string[]

## Response `200`

OK

- DevelopDatasetMessageResponse
  - `status` boolean, required
  - `result` string, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
