201Successful Response
Schema: SuccessEnvelope_DashboardResponse_
successbooleanmessagestringcodestringdataDashboardResponse
/api/v1/dashboards/{dashboard_id}/widgetsAdd a widget from a chat card ('Add to dashboard') or manually. The snapshot payload is stored verbatim; a source tool, when provided, must be a READ tool.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
dashboard_idstringrequiredSchema: AddWidgetRequest
titlestringrequiredwidget_typestringrequiredOne of: chart, table, metric, text
layoutWidgetLayoutsourceWidgetSourcesnapshotWidgetSnapshotbodystringSchema: SuccessEnvelope_DashboardResponse_
successbooleanmessagestringcodestringdataDashboardResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject