Upload custom scorer bundle
Upload a custom scorer as a multipart bundle (tar.gz)
POST
/v1/projects/{projectId}/scorers/custom/bundleAuthorization
AuthorizationPersonal API key · headerrequiredYour personal API key from Settings > Personal API Keys, sent as Bearer <key>.
X-Organization-IdOrganization ID · headerrequiredThe organization to act in. Copy it with Copy organization ID in the organization menu or the settings sidebar.
Path parameters
projectIdstringrequiredRequest body
requiredmultipart/form-datametadataUploadCustomScorerBundleMetadatarequiredShow propertiesHide properties
scorer_namestringrequiredentrypoint_pathstringrequiredrequirements_pathstringclass_namestringrequiredscorer_typestring | nullShow propertiesHide properties
Any of:
string
Any of:
string
stringstring
stringnull
nullresponse_typestringrequiredAllowed:
binarycategoricalnumericversionnumberbump_majorbooleancategoriesobject[] | nullShow propertiesHide properties
Any of:
object[]
Array of
objectvaluestringrequireddescriptionstringrequirednull
nullbundlestring<binary>requireddefault: "File"
Responses
200
Response for status 200
scorer_namestringrequiredstatusstringrequiredmessagestringrequired404
Response for status 404
errorstringrequiredmessagestringcodestringdetailsstring[]409
Response for status 409
errorstringrequiredmessagestringcodestringdetailsstring[]422
Response for status 422
errorstringrequiredmessagestringcodestringdetailsstring[]