POST
/
v1
/
trace-learn
/
attempts
/
{attemptId}
/
abandon
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.abandonTraceLearnAttempt({
  attemptId: process.env.TX_AGENT_KIT_ATTEMPT_ID ?? "attemptId",
})
{
  "attempt": {
    "id": "<string>",
    "assignmentId": "<string>",
    "studentAssignmentId": "<string>",
    "studentId": "<string>",
    "startedAt": "<string>",
    "submittedAt": "<string>",
    "activeMs": 123,
    "scoreBasisPoints": 123
  }
}

Path Parameters

attemptId
string
required

Response

Success

attempt
object
required