Skip to main content
POST
Scorer Create

Path Parameters

entity
string
required
project
string
required

Body

application/json
name
string
required

The name of this scorer. Scorers with the same name will be versioned together.

op_source_code
string
required

Complete source code for the Scorer.score op including imports

description
string | null

A description of this scorer

Response

Successful Response

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