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

# POST /model-hub/eval-playground/

`POST /model-hub/eval-playground/`

## Request

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

## Request body

- EvalPlayGround
  - `template_id` string, uuid, required
  - `model` string, nullable
  - `kb_id` string, uuid, nullable
  - `error_localizer` boolean
  - `config` object, nullable
  - `params` object, nullable
  - `mapping` object, nullable
  - `mapping_paths` object, nullable
  - `input_data_types` object, nullable
  - `row_context` object, nullable
  - `span_context` object, nullable
  - `trace_context` object, nullable
  - `session_context` object, nullable
  - `call_context` object, nullable
  - `span_id` string, nullable
  - `trace_id` string, uuid, nullable
  - `session_id` string, uuid, nullable
  - `call_id` string, uuid, nullable
  - `run_test_id` string, uuid, nullable

## Response `200`

OK

- EvalExecutionResponse
  - `status` boolean, required
  - `result` EvalExecutionResponseResult, required
    - `output` object
    - `result` object
    - `reason` string
    - `score` object, nullable
    - `metadata` object, nullable
    - `log_id` string, uuid
    - `error_localizer` object
    - `error_details` object

## 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)
