---
title: "Scorer Create V2"
method: POST
path: "/v2/{entity}/{project}/scorers"
tags: ["V2 -- Scorers"]
---

# Scorer Create V2

`POST /v2/{entity}/{project}/scorers`

Create a scorer object.

## Path parameters

- `entity` string, required
- `project` string, required

## Request body

- ScorerCreateV2Body
  - `name` string, required — The name of this scorer. Scorers with the same name will be versioned together.
  - `description` string, nullable — A description of this scorer
  - `op_source_code` string, required — Complete source code for the Scorer.score op including imports

## Response `200`

Successful Response

- ScorerCreateV2Res
  - `digest` string, required — The digest of the created scorer
  - `object_id` string, required — The ID of the created scorer
  - `version_index` integer, required — The version index of the created scorer
  - `scorer` string, required — Full reference to the created scorer

## Other responses

- `422` — Validation Error

## Changes

- **2025-11-06** `e0fa7a1a394a` — 1 info
  - api operation id `scorer_create_v2_v2__entity___project__scorers_post` removed and replaced with `scorer_create_v2`
- **2025-11-05** `d93d10582b06` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/wandb/apis/fastapi/changes/v2/:entity/:project/scorers/post.md)

---

[API](https://skmtc.dev/wandb/apis/fastapi.md) · [All operations](https://skmtc.dev/wandb/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wandb/fastapi/revisions/148dfd663d45/schema)
