v1

latestOpenAPI 3.1.02026-07-22128346287.7 KB
Scorers

Scorer Create

Create a scorer object.

post/v2/{entity}/{project}/scorers

Path parameters

entitystring required
projectstring required

Request body

namestring required

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

descriptionstring nullable

A description of this scorer

op_source_codestring required

Complete source code for the Scorer.score op including imports

Response

Successful Response

digeststring required

The digest of the created scorer

object_idstring required

The ID of the created scorer

version_indexinteger required

The version index of the created scorer

scorerstring required

Full reference to the created scorer