GET
/
v1
/
trace-learn
/
parent
/
children
/
{studentId}
/
diagnostic-result
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.getTraceLearnParentChildDiagnosticResult({
  studentId: process.env.TX_AGENT_KIT_STUDENT_ID ?? "studentId",
})
{
  "child": {
    "id": "<string>",
    "displayName": "<string>",
    "avatarId": "<string>"
  },
  "diagnosticResult": {
    "id": "<string>",
    "studentId": "<string>",
    "initialPassProbability": 0.5,
    "baselineScoreBySubject": [
      {
        "score": 50
      }
    ],
    "initialTopicMastery": [
      {
        "id": "<string>",
        "name": "<string>",
        "score": 50
      }
    ],
    "recommendedNextAction": {
      "label": "<string>",
      "targetId": "<string>"
    }
  }
}

Path Parameters

studentId
string
required

Response

Success

child
object
required
diagnosticResult
object
required