Import Bulk Threads
Import selected threads from a bulk export.
This endpoint starts a background import job and returns immediately. Use the job_id to poll for progress.
Request Body
application/json
file_path*string
Path to the export file
format_id*string
Format ID
selected_thread_indices*Selected Thread Indices
Indices of threads to import
Response Body
application/json
application/json
curl -X POST "http://127.0.0.1:14242/threads/import-bulk" \ -H "Content-Type: application/json" \ -d '{ "file_path": "string", "format_id": "string", "selected_thread_indices": [ 0 ] }'{
"success": true,
"job_id": "",
"message": "",
"imported_count": 0,
"errors": [
"string"
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}