Import Data Upload
Import data from an uploaded zip file.
Accepts a multipart file upload and runs the import in the background.
Poll /data/import/status/{job_id} to check progress. Use this from
remote or web clients that cannot access the server filesystem.
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "http://127.0.0.1:14242/data/import/upload" \ -F file="string"{
"success": true,
"job_id": "string",
"status": "string",
"message": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}