POST
/
v1
/
trace-learn
/
public
/
diagnostic
/
answers
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.saveTraceLearnAnonymousDiagnosticAnswers({
  body: {},
})
{
  "savedCount": 1,
  "answeredCount": 1,
  "totalQuestions": 1
}

Body

application/json
attemptId
string
required

a string at most 128 character(s) long

Required string length: 1 - 128
resumeToken
string
required

a string at most 128 character(s) long

Required string length: 1 - 128
answers
maxItems(60) · object[]
required

an array of at most 60 item(s)

Maximum array length: 60

Response

Success

savedCount
integer
required

a non-negative number

Required range: x >= 0
answeredCount
integer
required

a non-negative number

Required range: x >= 0
totalQuestions
integer
required

a non-negative number

Required range: x >= 0