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 - 128
Pattern: ^[a-z0-9][a-z0-9._-]{0,127}$

Body

application/json
inputs
object
required

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

detailed
boolean

When true, return computed calculation values as well as declared outcomes. Omit or set false to return only the release contract’s outputSchema. Values and table cells not needed by the outcomes may be absent.

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 - 128
Pattern: ^[a-z0-9][a-z0-9._-]{0,127}$
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. Omitted or false detailed returns the release contract’s outputSchema. With detailed true, result also contains computed calculation values; values and table cells not needed by the outcomes may be absent.

timings
object
required

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