---
search:
  tags:
    - V1
    - PATCH
seo:
  description: >-
    Applies client-computed pass-condition results… Reference for the PATCH
    /v1/projects/{projectId}/test-runs/{testRunId}/success endpoint in the
    Judgeval API.
sidebar:
  label: Apply test run pass-condition successes
  badge: PATCH
title: Apply test run pass-condition successes
type: openapi-operation
---
Applies client-computed pass-condition results to stored test item rows: each matched ClickHouse row is re-inserted with the new success value and all other columns preserved.

`PATCH /v1/projects/{projectId}/test-runs/{testRunId}/success`

**Request body** (`application/json`, required)

- `successes` (object[], required)

Request body example:

```json
{
  "successes": [
    {
      "evaluation_run_id": "string",
      "success": true
    }
  ]
}
```

**Responses**

- `200` — Response for status 200
- `404` — Response for status 404
- `422` — Response for status 422

Response example, 200:

```json
{
  "updated": 0
}
```
