---
title: "Get definition for a test"
method: GET
path: "/tests/{testId}/definition"
tags: ["api"]
---

# Get definition for a test

`GET /tests/{testId}/definition`

Gets definition for a test

## Parameters

- `./parameters.yaml#/components/parameters/testId` — unresolved $ref

## Response `201`

successful operation

- TestSpecs[] — unresolved $ref

---

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