201Successful Response
Schema: SuccessEnvelope_DashboardResponse_
successbooleanmessagestringcodestringdataDashboardResponse
/api/v1/dashboards/models/buildEvaluate a draft model against live ledger data and persist it as a dashboard whose widgets are its sheets. The draft must have come from /models/import or the plan_model chat tool, and expires an hour after it was created.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: BuildModelRequest
draft_idstringrequiredvisibilitystringOne of: private, assigned, business
Schema: SuccessEnvelope_DashboardResponse_
successbooleanmessagestringcodestringdataDashboardResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject