Skip to main content
GET
/
api
/
dashboards
List dashboards
curl --request GET \
  --url https://api.example.com/api/dashboards \
  --cookie better-auth.session_token=
[
  {
    "id": "<string>",
    "userId": "<string>",
    "name": "<string>",
    "widgets": [
      {
        "id": "<string>",
        "reportId": "<string>",
        "layout": {
          "x": 1,
          "y": 1,
          "w": 2,
          "h": 2
        },
        "config": {}
      }
    ],
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "organizationId": "<string>",
    "description": "<string>"
  }
]

Authorizations

better-auth.session_token
string
cookie
required

Response

200 - application/json

Default Response

id
string
required
userId
string
required
name
string
required
widgets
object[]
required
createdAt
string
required
updatedAt
string
required
organizationId
string
description
string