---
title: "Edit Results"
method: PATCH
path: "/preview/evaluations/results/"
tags: ["Evaluations"]
---

# Edit Results

`PATCH /preview/evaluations/results/`

## Request body

- EvaluationResultsEditRequest
  - `results` EvaluationResultEdit[], required
    - `flags` object, nullable
    - `tags` object, nullable
    - `meta` object, nullable
    - `id` string, uuid, nullable
    - `version` string
    - `hash_id` string, uuid, nullable
    - `trace_id` string, nullable
    - `testcase_id` string, uuid, nullable
    - `error` object, nullable
    - `status` 'pending' | 'queued' | 'running' | 'success' | 'failure' | 'errors' | 'cancelled'

## Response `200`

Successful Response

- EvaluationResultsResponse
  - `count` integer
  - `results` EvaluationResult[]
    - `flags` object, nullable
    - `tags` object, nullable
    - `meta` object, nullable
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
    - `deleted_at` string, date-time, nullable
    - `created_by_id` string, uuid, nullable
    - `updated_by_id` string, uuid, nullable
    - `deleted_by_id` string, uuid, nullable
    - `id` string, uuid, nullable
    - `version` string, nullable
    - `hash_id` string, uuid, nullable
    - `trace_id` string, nullable
    - `testcase_id` string, uuid, nullable
    - `error` object, nullable
    - `status` 'pending' | 'queued' | 'running' | 'success' | 'failure' | 'errors' | 'cancelled'
    - `interval` integer, nullable
    - `timestamp` string, date-time, nullable
    - `repeat_idx` integer, nullable
    - `step_key` string, required
    - `scenario_id` string, uuid, required
    - `run_id` string, uuid, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-02-13** `72fe88316d15` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-01-14** `53da4c9de2b7` — 3 breaking, 3 info
  - request property `results/items/tags/anyOf[subschema #1]/additionalProperties/` list-of-types was narrowed by removing types `integer, null and number` from media type `application/json`
  - request property `results/items/version` list-of-types was narrowed by removing types `null` from media type `application/json`
  - response property `results/items/flags/anyOf[subschema #1]/additionalProperties/` list-of-types was widened by adding types `object` to media type `application/json` of response `200`
  - the `version` request property default value `2025-07-14` was added
  - …2 more
- **2025-11-05** `e62506c24377` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/preview/evaluations/results/patch.md)

---

[API](https://skmtc.dev/agenta-ai/apis/agenta-api.md) · [All operations](https://skmtc.dev/agenta-ai/apis/agenta-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/agenta-ai/agenta-api/revisions/72fe88316d15/schema)
