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

# Create new test

`POST /tests`

Create new test action

## Request body

- TestResource — unresolved $ref

## Response `200`

successful operation

- TestResource — unresolved $ref

## Other responses

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

## Changes

- **2023-07-06** `0c728ce7e15b` — 2 info
  - api tag `resource-api` added
  - api tag `api` removed
- **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/fad7f202ff22/schema)
