{
"url": [
"https://www.baidu.com"
]
}
curl --location --request POST '/api/kb.teach/capture' \
--header 'token: {{api-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": [
"https://www.baidu.com"
]
}'
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"tasks": [
2
],
"lists": [
{
"id": 2,
"error": "",
"tokens": 0,
"status": 0,
"create_time": "2024-01-19 10:46:00",
"update_time": "2024-01-19 16:45:45",
"status_msg": "等待拆分"
}
]
}
}