---
title: "Create new test"
method: POST
path: "/tests"
tags: ["api"]
---

# Create new test

`POST /tests`

Create new test action

## Request body

- Test — unresolved $ref

## Response `200`

successful operation

- Test — unresolved $ref

## Other responses

- `400` — trying to create a test with an already existing ID

## Changes

- **2022-11-17** `9ee6203c38fa` — 2 info
  - api tag `api` added
  - api tag `resource-api` removed

[Change history](https://skmtc.dev/kubeshop/apis/tracetest/changes/tests/post.md)

---

[API](https://skmtc.dev/kubeshop/apis/tracetest.md) · [All operations](https://skmtc.dev/kubeshop/apis/tracetest/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kubeshop/tracetest/revisions/aebd16be2d20/schema)
