Import a reference workbook as a model plan

POST/api/v1/dashboards/models/import

Parse an uploaded .xlsx into a draft model and return it for review. Nothing is persisted — the importer cannot know which ledgers feed the workbook's data rows, and guessing would produce a model that renders a clean grid of wrong numbers. The response carries a confidence score, the sheets skipped as raw data exports, and the formulas that could not be translated, so the caller can resolve them before calling /models/build.

Operation ID: import_model_workbook_api_v1_dashboards_models_import_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

201Successful Response

successboolean
messagestring
codestring
dataImportWorkbookResponse

400Bad Request - Invalid input

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject