---
title: "Patch Example"
method: PATCH
path: "/api/v1/examples/{example_id}/annotation"
---

# Patch Example

`PATCH /api/v1/examples/{example_id}/annotation`

Updates an example annotation.

## Path parameters

- `example_id` string, required — The ID of the example

## Headers

- `authorization` string, nullable

## Cookies

- `modaic_session` string, nullable

## Request body

- AnnotateExampleRequest — Annotate an example with one or more prediction annotations.
  - `annotations` PredictionAnnotation[], required
    - `arbiter_repo` string, required
    - `ground_truth` string, nullable
    - `ground_reasoning` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/modaic-ai/apis/modaic-api.md) · [All operations](https://skmtc.net/modaic-ai/apis/modaic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modaic-ai/modaic-api/versions/43a90513ac59/schema)
