POST
/
v1
/
trace-learn
/
attempts
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.startTraceLearnAttempt({
  body: {},
})
{
  "attempt": {
    "id": "<string>",
    "assignmentId": "<string>",
    "studentAssignmentId": "<string>",
    "studentId": "<string>",
    "startedAt": "<string>",
    "submittedAt": "<string>",
    "activeMs": 123,
    "scoreBasisPoints": 123
  }
}

Body

application/json
assignmentId
string | null

a string at most 128 character(s) long

Required string length: 1 - 128
studentAssignmentId
string | null

a string at most 128 character(s) long

Required string length: 1 - 128
summary
object

Response

Success

attempt
object
required