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

# POST /model-hub/ai-eval-writer/

`POST /model-hub/ai-eval-writer/`

## Request

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

POST /model-hub/ai-eval-writer/

## Request body

- AIEvalWriterRequest
  - `description` string, required
  - `output_format` 'prompt' | 'messages' | 'test_data'

## Response `200`

OK

- AIEvalWriterResponse
  - `status` boolean
  - `result` AIEvalWriterResult, required
    - `prompt` string, nullable
    - `messages` object[], nullable
    - `test_data` object, nullable

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