Batch Upload
POST
/batch/upload
Upload a CSV file for batch feasibility scoring.
Accepts CSV with lat/lon or lot_number columns. Auto-detects column type. Streams per-site scoring progress and results via SSE.
Checks credit balance against 0.1 * row_count after CSV parse. Rejects CSVs with more than 50 rows.
Streaming: This endpoint returns text/event-stream (Server-Sent Events). The response is a stream of SSE events, not a single JSON body.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Body_batch_upload_batch_upload_post
object
file
required
File
string format: binary
pack_id
Pack Id
string
Responses
Section titled “ Responses ”SSE event stream
string
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context