---
title: "POST /model-hub/update-eval-template/"
method: POST
path: "/model-hub/update-eval-template/"
tags: ["model-hub"]
---

# POST /model-hub/update-eval-template/

`POST /model-hub/update-eval-template/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/model-hub/update-eval-template/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- UpdateEvalTemplate
  - `eval_template_id` string, uuid, required
  - `description` string
  - `criteria` string, nullable
  - `eval_tags` string[]
  - `multi_choice` boolean
  - `function_eval` boolean
  - `choices_map` object, nullable
  - `config` object
  - `model` string
  - `check_internet` boolean, nullable
  - `name` string
  - `required_keys` string[]
  - `eval_type_id` string, nullable
  - `template_id` string, nullable
  - `error_localizer_enabled` boolean, nullable

## Response `200`

OK

- LegacyEvalTemplateUpdateResponse
  - `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)
