GET/api/public/v1/grade-sessions/{id}/answers

grade_answers.list

所需权限
grades:read
可选权限
students:pii
类别
只读
计费
不计费
幂等
不需要
MCP 工具
list_grade_answers

参数

  • id位置 path必填 是类型 string (uuid)
  • cursor位置 query必填 否类型 string
  • limit位置 query必填 否类型 integer (1–100)

请求体

没有请求体

成功响应 200

{
  "type": "object",
  "properties": {
    "items": {
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "memberId": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "converting",
              "segmenting",
              "scoring",
              "done",
              "failed"
            ]
          },
          "pageCount": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "totalScore": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "answers": {
            "maxItems": 500,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "schemeItemId": {
                  "type": "string",
                  "format": "uuid"
                },
                "seq": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "scoring",
                    "scored",
                    "flagged",
                    "failed"
                  ]
                },
                "aiScore": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "finalScore": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "confidence": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "scoreStatus": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "ai",
                        "confirmed"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "schemeItemId",
                "seq",
                "status",
                "aiScore",
                "finalScore",
                "confidence",
                "scoreStatus"
              ],
              "additionalProperties": false
            }
          },
          "pii": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "sheetName": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "rosterName": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "studentNo": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "sheetName",
                  "rosterName",
                  "studentNo"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "memberId",
          "status",
          "pageCount",
          "totalScore",
          "createdAt",
          "answers",
          "pii"
        ],
        "additionalProperties": false
      }
    },
    "nextCursor": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2048,
          "pattern": "^[A-Za-z0-9_-]+\\.[A-Za-z0-9_-]{43}$"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "items",
    "nextCursor"
  ],
  "additionalProperties": false
}

可能返回的错误状态码

400401403404409429500503

所有错误都用同一种错误信封返回,原因码见错误与限流。

GET /api/public/v1/grade-sessions/{id}/answers · 接口参考