Skip to content

Interface: RefuteRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / RefuteRequest

Defined in: src/types/analysis.ts:464

Request to refute an implication with a counterexample.

features: string[]

Defined in: src/types/analysis.ts:486

Features of the counterexample.

They must include every premise feature of the pending implication, lack at least one of its conclusion features, and respect every confirmed implication (a confirmed premise brings its conclusion). The engine refuses any other set with 400.

In a scaled session (one started with semantics.kind === 'scaled') send an empty list and the counterexample as RefuteRequest.values: the engine refuses a label list there with 400.


optional idempotencyKey?: string

Defined in: src/types/analysis.ts:323

The Idempotency-Key header value. Absent ⇒ no header is sent.

ExplorationIdempotency.idempotencyKey


label: string

Defined in: src/types/analysis.ts:472

Label for the counterexample.


optional maxCandidates?: number | null

Defined in: src/types/analysis.ts:263

Bound on new implication-closed candidates examined in this call. Absent or null ⇒ unbounded.

ExplorationSearchBounds.maxCandidates


optional maxWork?: number | null

Defined in: src/types/analysis.ts:269

Bound on native search steps in this call. 0 suspends before any work. Absent or null ⇒ unbounded: the call runs to the next question or to exhaustion.

ExplorationSearchBounds.maxWork


questionId: string

Defined in: src/types/analysis.ts:470

The pending question’s ExplorationQuestion.questionId. Any other id answers 409 with code exploration_question_not_pending, and nothing is applied.


optional searchTimeoutMs?: number | null

Defined in: src/types/analysis.ts:274

Search deadline in milliseconds, checked between native primitives. Absent or null ⇒ no deadline.

ExplorationSearchBounds.searchTimeoutMs


optional values?: Record<string, ValueDto>

Defined in: src/types/analysis.ts:497

A scaled session’s counterexample: a record of feature values (tagged ValueDtos, e.g. built with toTaggedFeatures), projected by the session’s own scales into the attributes it holds.

The projected attributes obey the same rules as features. A value no scale can read is refused with 400, and a schema-presence session refuses values with 400. The feature names are sent unchanged.