Analyze spreadsheet (async)

POST /api/v1/inventory/import/analyze

Upload an Excel or CSV file. Returns a task_id immediately; the AI analysis runs in the background. Poll GET /analyze/{task_id} for the result.

Operation ID: analyze_spreadsheet_api_v1_inventory_import_analyze_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Responses

201 Successful Response

task_id string required

Poll GET /analyze/{task_id} for results.

400 Bad Request - Invalid input

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

422 Validation Error - Invalid data format