KeelsonDocs
    Judge Mode

    API reference Operators

    Trust grade, premium and bond of an operator

    GET/v1/operators/{agentId}/grade

    Recomputed whenever a coverage or a verdict of the operator, or the nightly calibration, changes it. Public.

    Path parameters

    agentIdstringRequired
    The operator's ERC-8004 agent id, a decimal integer.

    Responses

    • 200The grade
    • 404Not a linked operator
    • 409Nothing to price the operator's losses from yet
    • 503No finished red-team campaign to calibrate from

    200 response

    vstringRequired
    One of keelson.grade/1
    agentIdstringRequired
    gradestringRequired
    From the one-sided 95 % credible upper bound of the incident rate: A ≤ 1 %, B ≤ 2 %, C ≤ 5 %, D ≤ 10 %, F above.One of ABCDF
    computedAtstringRequired
    calibrationobjectRequired
    evidenceobjectRequired
    reserveobjectRequired
    Keelson's own faults on the operator's coverages, paid by its reserve. Not in the grade.
    frequencyobjectRequired
    severityobjectRequired
    lossobjectRequired
    premiumobjectRequired
    bondobjectRequired
    computeMsnumberRequired