---
title: "Set Ground Truth From Attempt"
method: POST
path: "/admin/transcription-tests/{image_id}/ground-truth/from-attempt/{attempt_index}"
tags: ["admin-transcription-tests"]
---

# Set Ground Truth From Attempt

`POST /admin/transcription-tests/{image_id}/ground-truth/from-attempt/{attempt_index}`

## Request

- Base URL: `https://api.excellence-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.excellence-ai.com/admin/transcription-tests/{image_id}/ground-truth/from-attempt/{attempt_index}`
- Auth: OAuth 2 (password, token URL `api/login`)

## Path parameters

- `image_id` string, required
- `attempt_index` integer, required

## Query parameters

- `configuration` 'no_context' | 'content' | 'solution' | 'both', nullable
- `attempt_type` 'initial' | 'corrected'

## Response `200`

Successful Response

- TranscriptionTestImage
  - `_id` string
  - `image_url` string, required
  - `dataset` string
  - `attempts_by_config` object
  - `corrected_attempts_by_config` object
  - `user_id` string, nullable
  - `exercise_id` string, nullable
  - `exercise_content` string, nullable
  - `exercise_solution` string, nullable
  - `ground_truth` string, nullable
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) - [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) - [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/379e4a57dee8?raw)
