Skip to main content
GET
Get the contract of a used rater of a program release

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Path Parameters

id
string
required

Your organization’s ID for the program, chosen at its first upload: lowercase letters, digits, dots, underscores and hyphens. A rater’s program ID is its rater ID.

Required string length: 1 - 128
Pattern: ^[a-z0-9][a-z0-9._-]{0,127}$
releaseVersion
integer
required

Release version number.

Required range: 0 < x <= 2147483647
alias
string
required

A rater the program’s guideline entry uses, by the alias of its use line (use ts = "rater.rsl" is ts). The release’s uses lists them.

Pattern: ^[A-Za-z_][A-Za-z0-9_]{0,127}$

Response

The used rater’s contract.

programId
string
required

Your organization’s ID for the program, chosen at its first upload: lowercase letters, digits, dots, underscores and hyphens. A rater’s program ID is its rater ID.

Required string length: 1 - 128
Pattern: ^[a-z0-9][a-z0-9._-]{0,127}$
releaseVersion
integer
required

The release that answered. A call without a version answers on the latest.

Required range: x > 0
bundleId
string
required

SHA-256 identity of the bundle that answered.

Pattern: ^[a-f0-9]{64}$
component
enum<string>
required
Available options:
rater
alias
string | null
required

The used rater this contract is of, by its alias; null for a rater entry.

inputSchema
object | null
required

JSON Schema of inputs, keyed by the root record. A decimal states its precision as the string x-rsl-precision, such as "0.01".

outputSchema
object | null
required

JSON Schema of the rating result.