Apps

Reviewer sentences for the rules of one published version

Changed on

Per-outcome sentences (passed, failed, unclear) that Review Mode shows for the rules of a published version, in one language. Published versions are immutable, so a rule compiled without sentences gets them from a side store that this call fills on demand: the first request for a version and language can generate sentences with a model call, and later requests read the stored text. The response holds only the rules that need the store; a rule whose own readback already carries sentences in this language is absent, and so is a rule the model declined to explain. A version whose logic is not rules returns an empty map. Requires the read access tier on the app and a concrete workspace.

get/v1/apps/{id}/explanations

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

id, string uuid required

Query parameters

version, integer required

Published app version number.

locale, string

A locale with or without region (de, de-CH); the language must be one of de, en, es, fr, it, pt.

Response

Sentences keyed by rule card id.

AppRuleExplanations required
locale, string

Two-letter language the sentences are written in.

explanations, object

Sentences keyed by rule card id.

Changes