GET/ api/ public/ v1/ ingestions/ {id}
ingestions.read
- 所需权限
ingestions:read- 类别
- 只读
- 计费
- 不计费
- 幂等
- 不需要
- MCP 工具
get_ingestion
参数
id位置 path必填 是类型 string (uuid)
请求体
没有请求体
成功响应 200
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"title": {
"type": "string"
},
"subject": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"processing",
"complete",
"partial",
"failed"
]
},
"files": {
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"fileId": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"pendingUpload",
"uploaded",
"queued",
"converting",
"converted",
"partial",
"failed"
]
},
"processing": {
"type": "string",
"enum": [
"processing",
"complete",
"partial",
"failed"
]
},
"pageCount": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"errorCode": {
"anyOf": [
{
"type": "string",
"pattern": "^[A-Z][A-Z0-9_]{0,59}$"
},
{
"type": "null"
}
]
}
},
"required": [
"fileId",
"status",
"processing",
"pageCount",
"errorCode"
],
"additionalProperties": false
}
},
"candidates": {
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^[a-z_]{1,40}$"
},
"additionalProperties": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"archivedAt": {
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"title",
"subject",
"status",
"files",
"candidates",
"createdAt",
"archivedAt"
],
"additionalProperties": false
}可能返回的错误状态码
400401403404409429500503
所有错误都用同一种错误信封返回,原因码见错误与限流。