---
title: "retrieve spans that will be selected by selector"
method: GET
path: "/tests/{testId}/run/{runId}/select"
tags: ["api"]
---

# retrieve spans that will be selected by selector

`GET /tests/{testId}/run/{runId}/select`

get the spans ids that would be selected by a specific selector query

## Parameters

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

## Response `200`

successful operation

- SelectedSpansResult — 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)
