curl --request GET \
--url https://api.example.com/api/dashboards/{id} \
--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": {},
"report": {
"id": "<string>",
"userId": "<string>",
"name": "<string>",
"type": "table",
"query": {},
"config": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"organizationId": "<string>",
"description": "<string>"
}
}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"organizationId": "<string>",
"description": "<string>"
}Returns a dashboard with fully expanded report data for each widget.
curl --request GET \
--url https://api.example.com/api/dashboards/{id} \
--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": {},
"report": {
"id": "<string>",
"userId": "<string>",
"name": "<string>",
"type": "table",
"query": {},
"config": {},
"createdAt": "<string>",
"updatedAt": "<string>",
"organizationId": "<string>",
"description": "<string>"
}
}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"organizationId": "<string>",
"description": "<string>"
}Was this page helpful?