Skip to main content
POST
Rate a submission with a rater’s latest release

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Your organization’s rater ID, as given when the rater was first deployed.

Required string length: 1 - 200

Body

application/json
inputs
object
required

Engine input: one key per root record, for example {"Policy": {...}}.

Response

Native rating result, timings and exact bundle identity.

executionId
string
required

ID of the recorded rating. Failed ratings return it too. Keep it to correlate a quote with support.

raterId
string
required

Your organization’s rater ID, as given when the rater was first deployed.

Required string length: 1 - 200
releaseVersion
integer
required

The release that rated the submission.

Required range: x > 0
bundleId
string
required

SHA-256 identity of the engine bundle that rated the submission.

Pattern: ^[a-f0-9]{64}$
programFingerprint
string
required

Fingerprint of the compiled rating program.

result
object
required

Outputs keyed by root record, for example {"Policy": {...}}. The contract’s outputSchema describes it. The engine computes in exact decimals; the API returns them as JSON numbers with 64-bit float precision, about 15 significant digits.

timings
object
required

Milliseconds spent on this rating. coldStartMs is present only on a cold start.