Skip to main content
API reference sections

Schema

RateRunRequest

POST /v1/runs/{run}/rate: one gesture on a finished run (D44).

The note travels here because it lives in the run's own content and nowhere else - never an event attribute, never a metric. The event the worker publishes carries the rating and whether a note exists, and not a byte of the note itself.

Type object

Shape

FieldTypeDescription
ratingrequiredRating

One gesture on a finished run (D44): good or not good. An unrated run is a normal state, which is why the header holds an Option<RunRating> and this enum has no "unrated" arm.

noteRatingNote or null
rated_byrequiredActorRef
Example
{
  "rating": "good",
  "note": "string",
  "rated_by": {
    "profile": "00000000-0000-4000-8000-000000000000",
    "kind": "person"
  }
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Used by

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.