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.getTraceLearnParentChildDetail({
studentId: process.env.TX_AGENT_KIT_STUDENT_ID ?? "studentId",
}){
"child": {
"id": "<string>",
"displayName": "<string>",
"avatarId": "<string>",
"targetSchool": "<string>",
"overallScore": 50,
"homeworkDueCount": 123,
"lastActiveAt": "<string>",
"predictedPassProbability": 0.5,
"credential": {
"username": "<string>",
"pinSet": true,
"credentialKind": "student_username_pin",
"lastRotatedAt": "<string>"
},
"link": {
"id": "<string>",
"parentId": "<string>"
}
},
"subjects": [
{
"name": "<string>",
"icon": "<string>",
"score": 50,
"questionsCompleted": 123,
"totalQuestions": 123
}
],
"topicMastery": [
{
"id": "<string>",
"name": "<string>",
"score": 50
}
],
"outcomeTrend": [
{
"capturedAt": "<string>",
"mockExamScore": 50,
"predictedPassProbability": 0.5,
"topicsMastered": 123,
"timeStudiedMinutes": 123
}
],
"assignments": [
{
"id": "<string>",
"title": "<string>",
"subjectName": "<string>",
"questionCount": 123,
"dueAt": "<string>",
"dueLabel": "<string>",
"timeLimitMinutes": 123,
"assignedStudentIds": [
"<string>"
]
}
],
"projectionFreshness": {
"asOf": "<string>",
"stale": true
}
}Trace Learn
Trace learn parent child detail
GET
/
v1
/
trace-learn
/
parent
/
children
/
{studentId}
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.getTraceLearnParentChildDetail({
studentId: process.env.TX_AGENT_KIT_STUDENT_ID ?? "studentId",
}){
"child": {
"id": "<string>",
"displayName": "<string>",
"avatarId": "<string>",
"targetSchool": "<string>",
"overallScore": 50,
"homeworkDueCount": 123,
"lastActiveAt": "<string>",
"predictedPassProbability": 0.5,
"credential": {
"username": "<string>",
"pinSet": true,
"credentialKind": "student_username_pin",
"lastRotatedAt": "<string>"
},
"link": {
"id": "<string>",
"parentId": "<string>"
}
},
"subjects": [
{
"name": "<string>",
"icon": "<string>",
"score": 50,
"questionsCompleted": 123,
"totalQuestions": 123
}
],
"topicMastery": [
{
"id": "<string>",
"name": "<string>",
"score": 50
}
],
"outcomeTrend": [
{
"capturedAt": "<string>",
"mockExamScore": 50,
"predictedPassProbability": 0.5,
"topicsMastered": 123,
"timeStudiedMinutes": 123
}
],
"assignments": [
{
"id": "<string>",
"title": "<string>",
"subjectName": "<string>",
"questionCount": 123,
"dueAt": "<string>",
"dueLabel": "<string>",
"timeLimitMinutes": 123,
"assignedStudentIds": [
"<string>"
]
}
],
"projectionFreshness": {
"asOf": "<string>",
"stale": true
}
}Path Parameters
Response
Success
⌘I