POST
/
v1
/
trace-learn
/
adaptive
/
next-question
TypeScript client
import { TxAgentKitClient } from '@tx-agent-kit/sdk'

const client = new TxAgentKitClient({
  token: process.env.TX_AGENT_KIT_TOKEN
})

const response = await client.traceLearn.selectTraceLearnNextQuestion({
  body: {},
})
{
  "theta": 123,
  "selected": {
    "questionId": "<string>",
    "questionVersionId": "<string>",
    "topicId": "<string>",
    "difficultyB": 123,
    "information": 1,
    "topicMastery": 0.5,
    "score": 123,
    "reason": "<string>"
  }
}

Body

application/json
subjectId
enum<string>
required
Available options:
maths,
english,
verbal-reasoning,
non-verbal-reasoning
excludeQuestionIds
string[]

a string at most 128 character(s) long

Required string length: 1 - 128
limit
integer

a number between 1 and 200

Required range: 1 <= x <= 200
sessionId
string | null

a string at most 128 character(s) long

Required string length: 1 - 128

Response

Success

theta
number
required
selected
object
required