GET/api/public/v1/ingestions/{id}/candidates

ingestion_candidates.list

所需权限
ingestions:read
类别
只读
计费
不计费
幂等
不需要
MCP 工具
list_ingestion_candidates

参数

  • 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"
          },
          "fileId": {
            "type": "string",
            "format": "uuid"
          },
          "pageNo": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "seq": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "questionNo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "detected",
              "transcribing",
              "ready",
              "flagged",
              "published",
              "discarded",
              "failed"
            ]
          },
          "flags": {
            "maxItems": 50,
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 60
            }
          },
          "boundaryReview": {
            "type": "string",
            "enum": [
              "auto_accepted",
              "needs_review",
              "teacher_confirmed"
            ]
          },
          "markdown": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          },
          "problemType": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "knowledgePoints": {
            "maxItems": 20,
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "difficulty": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "publishedProblemId": {
            "anyOf": [
              {
                "type": "string",
                "format": "uuid"
              },
              {
                "type": "null"
              }
            ]
          },
          "revision": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]{43}$"
          }
        },
        "required": [
          "id",
          "fileId",
          "pageNo",
          "seq",
          "questionNo",
          "status",
          "flags",
          "boundaryReview",
          "markdown",
          "subject",
          "problemType",
          "knowledgePoints",
          "difficulty",
          "publishedProblemId",
          "revision"
        ],
        "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/ingestions/{id}/candidates · 接口参考