Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Request-ID
string | null

Optional client request id (1-128 chars of [A-Za-z0-9._:-]); echoed in the X-Request-ID response header

Body

application/json
context
string
required

The text to decide on (1–8,000 characters).

questions
object
required

Question id → question (1–16). Question ids (1–100 characters) are returned as keys of answers.

model
string | null

Optional; defaults to krun-one-v0 (the only model available).

Response

One answer per question. Request id in the X-Request-ID header.

Decision response. The request id is returned in the X-Request-ID header.

model
string
required
answers
object
required

Question id → answer, in request order.

usage
object
required