Skip to main content
GET
/
api
/
analytics
/
layout
Get user's dashboard layout
curl --request GET \
  --url https://api.getgranite.ai/api/analytics/layout
{
  "widgets": [
    {
      "id": "<string>",
      "type": "<string>",
      "visible": true,
      "order": 0,
      "width": "half"
    }
  ],
  "updated_at": "2023-11-07T05:31:56Z"
}

Response

200 - application/json

Successful Response

User's dashboard layout configuration.

widgets
WidgetConfig · object[]
required
updated_at
string<date-time> | null