---
title: "Validate Code Scorer Dataset"
method: POST
path: "/v2/scorers/code/validate/dataset"
tags: ["data", "prompts", "rows"]
---

# Validate Code Scorer Dataset

`POST /v2/scorers/code/validate/dataset`

## Request

- Base URL: `https://api.galileo.ai`
- URL: `https://api.galileo.ai/v2/scorers/code/validate/dataset`
- Auth: one of:
  - API key in header `Galileo-API-Key`
  - API key in header `Splunk-AO-API-Key`
  - OAuth 2
    - Password
    - Token URL: `https://api.galileo.ai/login`
  - HTTP basic

Validate a code scorer against dataset rows.

## Request body `multipart/form-data`

- BodyValidateCodeScorerDatasetV2ScorersCodeValidateDatasetPost
  - `file` string, binary, required
  - `dataset_id` string, uuid, required
  - `dataset_version_index` integer, nullable
  - `limit` integer
  - `starting_token` integer, nullable
  - `required_scorers` union
    - string
    - string[]
  - `scoreable_node_types` union
    - string
    - string[]
  - `score_type` string, nullable

## Response `200`

Successful Response

- ValidateCodeScorerDatasetResponse
  - `metrics_experiment_id` string, uuid4, required
  - `project_id` string, uuid4, required

## Other responses

- `422`: Validation Error

---

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