---
title: "Edit Runs"
method: PATCH
path: "/evaluations/runs/"
tags: ["Evaluations"]
---

# Edit Runs

`PATCH /evaluations/runs/`

## Request body

- EvaluationRunsEditRequest
  - `runs` EvaluationRunEdit[], required
    - `flags` EvaluationRunFlags
      - `is_live` boolean
      - `is_active` boolean
      - `is_closed` boolean
      - `is_queue` boolean
      - `is_cached` boolean
      - `is_split` boolean
      - `has_queries` boolean
      - `has_testsets` boolean
      - `has_evaluators` boolean
      - `has_custom` boolean
      - `has_human` boolean
      - `has_auto` boolean
    - `tags` object, nullable
    - `meta` object, nullable
    - `name` string, nullable
    - `description` string, nullable
    - `id` string, uuid, nullable
    - `version` string
    - `status` 'pending' | 'queued' | 'running' | 'success' | 'failure' | 'errors' | 'cancelled'
    - `data` EvaluationRunData
      - `steps` EvaluationRunDataStep[], nullable
        - `key` string, required
        - `type` 'input' | 'invocation' | 'annotation', required
        - `origin` 'custom' | 'human' | 'auto', required
        - `references` object, required
        - `inputs` EvaluationRunDataStepInput[], nullable
          - `key` string, required
      - `repeats` integer, nullable
      - `mappings` EvaluationRunDataMapping[], nullable
        - `column` EvaluationRunDataMappingColumn, required
          - `kind` string, required
          - `name` string, required
        - `step` EvaluationRunDataMappingStep, required
          - `key` string, required
          - `path` string, required

## Response `200`

Successful Response

- EvaluationRunsResponse
  - `count` integer
  - `runs` EvaluationRun[]
    - `flags` EvaluationRunFlags
      - `is_live` boolean
      - `is_active` boolean
      - `is_closed` boolean
      - `is_queue` boolean
      - `is_cached` boolean
      - `is_split` boolean
      - `has_queries` boolean
      - `has_testsets` boolean
      - `has_evaluators` boolean
      - `has_custom` boolean
      - `has_human` boolean
      - `has_auto` boolean
    - `tags` object, nullable
    - `meta` object, nullable
    - `name` string, nullable
    - `description` string, 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
    - `status` 'pending' | 'queued' | 'running' | 'success' | 'failure' | 'errors' | 'cancelled'
    - `data` EvaluationRunData
      - `steps` EvaluationRunDataStep[], nullable
        - `key` string, required
        - `type` 'input' | 'invocation' | 'annotation', required
        - `origin` 'custom' | 'human' | 'auto', required
        - `references` object, required
        - `inputs` EvaluationRunDataStepInput[], nullable
          - `key` string, required
      - `repeats` integer, nullable
      - `mappings` EvaluationRunDataMapping[], nullable
        - `column` EvaluationRunDataMappingColumn, required
          - `kind` string, required
          - `name` string, required
        - `step` EvaluationRunDataMappingStep, required
          - `key` string, required
          - `path` string, required
  - `windowing` Windowing
    - `newest` string, date-time, nullable
    - `oldest` string, date-time, nullable
    - `next` string, uuid, nullable
    - `limit` integer, nullable
    - `order` 'ascending' | 'descending', nullable
    - `interval` integer, nullable
    - `rate` number, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-05-19** `a7f9a6823230` — 2 warning
  - removed the optional property `support_id` from the response with the `200` status
  - removed the optional property `support_ts` from the response with the `200` status
- **2026-05-08** `5e6f53ce5d08` — 1 breaking, 4 info
  - removed `#/components/schemas/EvaluationRunData-Input` from the `runs/items/data` request property `anyOf` list
  - api operation id `edit_runs_evaluations_runs__patch` removed and replaced with `edit_runs`
  - added `#/components/schemas/EvaluationRunData` to the `runs/items/data` request property `anyOf` list
  - added `#/components/schemas/EvaluationRunData` to the `runs/items/data` response property `anyOf` list for the response status `200`
  - …1 more
- **2026-04-23** `925e8b901a26` — 2 info
  - added the optional property `support_id` to the response with the `200` status
  - added the optional property `support_ts` to the response with the `200` status
- **2026-04-16** `8b06b786c977` — 1 warning, 4 info
  - removed the request property `jit`
  - added the new optional request property `runs/items/flags/anyOf[subschema #1: EvaluationRunFlags]/is_cached`
  - added the new optional request property `runs/items/flags/anyOf[subschema #1: EvaluationRunFlags]/is_split`
  - added the optional property `runs/items/flags/anyOf[subschema #1: EvaluationRunFlags]/is_cached` to the response with the `200` status
  - …1 more
- …earlier changes not shown

[Full history](https://skmtc.dev/agenta-ai/apis/agenta-api/changes/evaluations/runs/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/2040366204e5/schema)
