---
title: "Create a new functional test"
method: POST
path: "/admin/functional_tests/create"
tags: ["admin"]
---

# Create a new functional test

`POST /admin/functional_tests/create`

Creates a new functional test with optional model and prompt overrides.

## Request body

- CreateFunctionalTestRequest
  - `model_override` string, nullable
  - `prompt_override` string, nullable
  - `team_id` string, uuid, required

## Response `200`

- FunctionalTest
  - `created_at` string, date-time, required
  - `created_by` string, uuid, required
  - `id` string, uuid, required
  - `model_override` string, nullable
  - `prompt_override` string, nullable

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.net/structifyai/apis/structify.md) · [All operations](https://skmtc.net/structifyai/apis/structify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/structifyai/structify/versions/1364930b6980/schema)
