---
title: "Validate Autotune Queue"
method: POST
path: "/feedback-queues/scorer/{scorer_id}/validation-runs"
tags: ["scorer-feedback"]
---

# Validate Autotune Queue

`POST /feedback-queues/scorer/{scorer_id}/validation-runs`

## Request

- Base URL: `https://api.galileo.ai`
- URL: `https://api.galileo.ai/feedback-queues/scorer/{scorer_id}/validation-runs`
- Auth: one of:
  - API key in header `Splunk-AO-API-Key`
  - API key in header `Galileo-API-Key`
  - OAuth 2
    - Password
    - Token URL: `https://api.galileo.ai/login`
  - HTTP basic

Test a draft prompt against feedback records in the active queue.

Creates a metrics testing run by copying the feedback records and running
generated scorer validation with the provided prompt. Used in the AutoTune
Data tab for 3-column comparison: Original | Expected (Annotated) | New Result.

Works in any active queue state (pending, generating, or reviewing).

**Response:**
- 202 Accepted with metrics_testing_run_id for viewing results

**Errors:**
- 404 - Scorer not found or no active queue exists
- 422 - Queue has no feedback items or scorer has no version
- 500 - Record processing failure

## Path parameters

- `scorer_id` string, uuid4, required

## Request body

- ValidateAutotuneQueueRequest: Request to test a draft prompt against autotune feedback records.
  - `user_prompt` string, required: The draft/edited prompt to test against feedback records

## Response `202`

Successful Response

- ValidateAutotuneQueueResponse: Response for autotune queue validation (202 Accepted).
  - `metrics_testing_run_id` string, uuid4, required: ID of the metrics testing run containing validation results
  - `project_id` string, uuid4, required: Project where the metrics testing run was created
  - `queue_id` string, uuid4, required: Queue ID that was tested
  - `feedback_count` integer, required: Number of feedback records tested

## Other responses

- `422`: Validation Error

## Changes

> 34 revisions in range; 2 not diffed.

- **2026-07-26** `05003e7835a2`: 1 info
  - the endpoint scheme security `ClassicAPIKeyHeader` was added to the API

[Operation history](https://skmtc.dev/galileo/apis/galileo-api-server/changes/feedback-queues/scorer/:scorer_id/validation-runs/post.md)

---

[API](https://skmtc.dev/galileo/apis/galileo-api-server.md) - [All operations](https://skmtc.dev/galileo/apis/galileo-api-server/llms.txt) - [OpenAPI document](https://skmtc.dev/galileo/apis/galileo-api-server/revisions/a289cea1b504?raw)
