graft dashboards
Widget layouts for the overview screen.
| Command | Does |
|---|---|
graft dashboards create |
Create a dashboard. |
graft dashboards delete |
Delete a dashboard. |
graft dashboards get |
One dashboard. |
graft dashboards list |
List dashboards. |
graft dashboards update |
Rename it or replace its widgets (max 40). |
graft dashboards create
Section titled “graft dashboards create”Create a dashboard. Widget type is record_list, kpi, calendar or chart, with a grid layout of x, y, w, h.
Endpoint: POST /api/v1/dashboards
graft dashboards create -d '{"name":"Overview","widgets":[{"id":"w1","type":"kpi","config":{},"layout":{"x":0,"y":0,"w":3,"h":1}}]}'graft dashboards delete <dashboardId>
Section titled “graft dashboards delete <dashboardId>”Delete a dashboard.
Endpoint: DELETE /api/v1/dashboards/:dashboardId · Arguments: <dashboardId>
graft dashboards delete <dashboardId>Asks for confirmation; pass --yes to skip it (required in scripts).
graft dashboards get <dashboardId>
Section titled “graft dashboards get <dashboardId>”One dashboard.
Endpoint: GET /api/v1/dashboards/:dashboardId · Arguments: <dashboardId>
graft dashboards get <dashboardId>graft dashboards list
Section titled “graft dashboards list”List dashboards. Cursor-paginated: pass limit (default 25, max 100) and cursor from the previous response’s meta.cursor.
Endpoint: GET /api/v1/dashboards
graft dashboards listAdd --all to fetch every page.
graft dashboards update <dashboardId>
Section titled “graft dashboards update <dashboardId>”Rename it or replace its widgets (max 40).
Endpoint: PATCH /api/v1/dashboards/:dashboardId · Arguments: <dashboardId>
graft dashboards update <dashboardId> -d '{"name":"Operations"}'