记录评估
const r = await mn.api('/writing/session-assess', {
method: 'POST',
body: { requestId, runId, attemptId, outcome: 'passed', confirm: true }
});
if (r.error) mn.log(r.error.code);{
"schemaVersion": 1,
"bridgeApiVersion": "0.91",
"requestId": "9F8E7D6C-5B4A-4938-8271-6F5E4D3C2B1A",
"runId": "run-20261010-001",
"attemptId": "attempt-001",
"state": "accepted",
"outcome": "pending",
"settled": false,
"persisted": true,
"ready": false,
"canSwitch": false
}手写会话
记录练习评估
为当前练习会话或指定尝试记录评估结果。字段细节以运行时 GET /guide 为准。
POST
/
writing
/
session-assess
记录评估
const r = await mn.api('/writing/session-assess', {
method: 'POST',
body: { requestId, runId, attemptId, outcome: 'passed', confirm: true }
});
if (r.error) mn.log(r.error.code);{
"schemaVersion": 1,
"bridgeApiVersion": "0.91",
"requestId": "9F8E7D6C-5B4A-4938-8271-6F5E4D3C2B1A",
"runId": "run-20261010-001",
"attemptId": "attempt-001",
"state": "accepted",
"outcome": "pending",
"settled": false,
"persisted": true,
"ready": false,
"canSwitch": false
}请求体
application/json
练习会话命令的公共输入。不同命令会读取其中一部分字段;未列出的扩展字段以运行时 GET /guide 为准。