获取知识导入任务详情
获取知识导入任务详情,以检查知识解析进度。
Path Parameters
dataset_id string required
知识库ID。
job_id string required
任务ID。
Responses
- 200
- default
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
job_id string
任务ID
data_source_type enum required
数据源类型
job_state enum
任务状态
creator string
创建者用户名
oss_temp_path string
OSS临时路径,上传本地知识的临时路径
err_msg string
错误信息
job_info object
与任务文件相关的信息,如大小、数量等。
total_document_size int64
总文件大小
total_document_count int64
文件总数
succeed_document_size int64
成功解析文件的总大小
succeed_document_count int64
成功解析文件的总数量
succeed_token_count int64
成功解析的标记总数
failed_document_size int64
解析失败的文件总大小
failed_document_count int64
解析失败的文件总数量
document_info object[]
已解析知识的信息列表
document_id string
文档ID
display_name string
知识名称
segment_count int64
文档的段数量
document_token int64
标记数
document_state enum
知识状态
document_error enum
知识失败原因
document_size int64
文档大小
create_time date-time
创建时间
finish_time date-time
完成时间
target_path string
知识导入的目标路径
urls string[]
上传URL
document_pid string
知识导入的目标路径的ID
notion_page_ids string[]
知识导入的notion page的ID列表
{
"job_id": "string",
"data_source_type": 0,
"job_state": 0,
"creator": "string",
"oss_temp_path": "string",
"err_msg": "string",
"job_info": {
"total_document_size": 0,
"total_document_count": 0,
"succeed_document_size": 0,
"succeed_document_count": 0,
"succeed_token_count": 0,
"failed_document_size": 0,
"failed_document_count": 0
},
"document_info": [
{
"document_id": "string",
"display_name": "string",
"segment_count": 0,
"document_token": 0,
"document_state": 0,
"document_error": 0,
"document_size": 0
}
],
"create_time": "2024-11-04T06:28:49.426Z",
"finish_time": "2024-11-04T06:28:49.426Z",
"target_path": "string",
"urls": [
"string"
],
"document_pid": "string",
"notion_page_ids": [
"string"
]
}
Default error response
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
message string
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
@type string
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...