---
title: "Validate Code Scorer Log Record"
method: POST
path: "/scorers/code/validate/log_record"
tags: ["data", "prompts", "rows"]
---

# Validate Code Scorer Log Record

`POST /scorers/code/validate/log_record`

Validate a code scorer using actual log records.

## Response `200`

Successful Response

- ValidateScorerLogRecordResponse — Response model for validating a scorer based on log records. Returns the uuid of the experiment created with the copied log records to store the metric testing results. Also returns the project_id so callers can poll /projects/{project_id}/traces/search.
  - `metrics_experiment_id` string, uuid4, required
  - `project_id` string, uuid4, required

## Other responses

- `422` — Validation Error

---

[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-service-production.skmtc.workers.dev/v1/apis/galileo/galileo-api-server/revisions/8b1d1a4a933e/schema)
