Api
Preview Pdf
Preview PDF content before creating KB article. Returns extracted title, TOC, image count, and HTML preview.
Preview PDF content before creating KB article. Returns extracted title, TOC, image count, and HTML preview.
AuthorizationBearer <token>
In: header
Request Body
multipart/form-data
Response Body
application/json
application/json
curl -X POST "https://loading/api/kb/preview" \ -F file="string"{
"html_preview": "string",
"image_count": 0,
"page_count": 0,
"tags": [
"string"
],
"title": "string",
"toc": [
"string"
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}