---
title: "Get results for a functional test or sample"
method: GET
path: "/admin/functional_tests/results"
tags: ["admin"]
---

# Get results for a functional test or sample

`GET /admin/functional_tests/results`

Gets all results and chat IDs for either a specific functional test or a specific sample name.
Must provide either functional_test_id or sample_name, but not both.

## Query parameters

- `functional_test_id` string, uuid
- `sample_name` string, nullable

## Response `200`

- FunctionalTestResultsResponse
  - `functional_test_id` string, uuid
  - `results` FunctionalTestResult[], required
    - `chat_session_id` string, uuid, required
    - `results` object, required
    - `sample_name` string, required
  - `sample_name` string, nullable

## Other responses

- `400` — Bad request - must provide either functional_test_id or sample_name
- `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)
