Scoring Run Event
Viewing v1— superseded by v2
Sent when a batch of output scoring settles, however it was triggered.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Delivered when a scoring run settles.
Also raised for the automatic scoring that follows a generation, in which case data
carries the inference_id of the generation whose outputs were judged.
object
Unique event id, repeated in the webhook-id header.
Scoring_run.completed or scoring_run.failed.
When the event was raised (RFC 3339).
Identical to the body of GET on the scoring run.
object
Unique identifier for this scoring run.
Current status: pending, complete, or failed.
The generation whose outputs this run judged, when it was started automatically.
Suggested polling interval in seconds. Present while pending.
How many (file, rule) pairs the run set out to judge.
How many produced a verdict. Lower than requested means some pairs went unjudged.
The files the run was asked to judge.
The rules the run judged against.
The verdicts recorded. Present once the run is complete.
object
The file this verdict is about.
The scoring rule that produced it.
The rule’s name as it stood when the verdict was recorded.
Score in [0, 100] against that rule.
The judge’s reasoning, in its own words.
When the run settled. Present once terminal.
Error message. Present only on failed.
Machine-readable error code. Present only on failed.
What a job’s GET reports about the callback attached to it.
The URL is echoed so a caller can tell which of its endpoints a run was aimed at; the rest is how the delivery went, which is the only place a failed delivery is visible.
object
The callback URL this run was submitted with.
Pending until a delivery settles, then delivered or failed.
How many delivery attempts have been made.
When the last attempt was made.
HTTP status the receiver returned on the last attempt, if it responded.
Why the last attempt did not succeed. Null once delivered.
Whatever you sent as webhook.metadata.
object
Responses
Section titled “Responses”Successful Response
Examplegenerated
exampleValidation Error
object
object
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}