curl --request GET \
--url https://api.example.com/api/files/preview/{task_id}/{file_path}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Preview a file with automatic PPTX to HTML conversion.
This endpoint checks if the file is a PPTX and automatically converts it to HTML for browser preview. For other file types, returns the file as-is.
curl --request GET \
--url https://api.example.com/api/files/preview/{task_id}/{file_path}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}