---
search:
  tags:
    - V1
    - PATCH
seo:
  description: >-
    Update a judge label (currently supports description).… Reference for the
    PATCH /v1/projects/{projectId}/behaviors/{behaviorId} endpoint in the
    Judgeval API.
sidebar:
  label: Update judge label
  badge: PATCH
title: Update judge label
type: openapi-operation
---
Update a judge label (currently supports description). For binary judges, true means the judge applied its label, which the app shows under the judge's name. false means no label was applied. For classification judges, the value is the label, meaning the chosen option.

`PATCH /v1/projects/{projectId}/behaviors/{behaviorId}`

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

- `description` (string | null) — Replacement label description. Omit or pass null to clear it.

Request body example:

```json
{
  "description": "string"
}
```

**Responses**

- `200` — Response for status 200

Response example, 200:

```json
{
  "behavior": {
    "id": "string",
    "created_at": "string",
    "organization_id": "string",
    "project_id": "string",
    "judge_name": "string",
    "value": "string",
    "description": "string",
    "judge_id": "string"
  }
}
```
