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

# Scorer Create

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

Create a scorer object.

## Path parameters

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

## Request body

- ScorerCreateBody
  - `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

- ScorerCreateRes
  - `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

---

[API](https://skmtc.net/wandb/apis/fastapi.md) · [All operations](https://skmtc.net/wandb/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wandb/fastapi/versions/56745769989b/schema)
