---
title: "Update results for a chat linked to a functional test"
method: PUT
path: "/admin/functional_tests/update_results"
tags: ["admin"]
---

# Update results for a chat linked to a functional test

`PUT /admin/functional_tests/update_results`

Updates the results for a specific chat session linked to a functional test.

## Request body

- UpdateFunctionalTestResultsRequest
  - `chat_session_id` string, uuid, required
  - `functional_test_id` string, uuid, required
  - `results` object, required
  - `sample_name` string, required

## Response `200`

Successfully updated functional test results

## Other responses

- `400` — Bad request
- `404` — Chat/functional test link not found
- `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)
