GET
/
v1
/
trace-learn
/
diagnostic
/
results
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.getTraceLearnDiagnosticResult()
{
  "id": "<string>",
  "studentId": "<string>",
  "initialPassProbability": 0.5,
  "baselineScoreBySubject": [
    {
      "score": 50
    }
  ],
  "initialTopicMastery": [
    {
      "id": "<string>",
      "name": "<string>",
      "score": 50
    }
  ],
  "recommendedNextAction": {
    "label": "<string>",
    "targetId": "<string>"
  }
}

Response

Success

id
string
required

a string at most 128 character(s) long

Required string length: 1 - 128
studentId
string
required

a string at most 128 character(s) long

Required string length: 1 - 128
initialPassProbability
number
required

a number between 0 and 1

Required range: 0 <= x <= 1
baselineScoreBySubject
object[]
required
initialTopicMastery
object[]
required