GuideLab API

Bootstrap all lab dashboard panels in one call

Aggregates /dashboard/stats, /dashboard/today, /dashboard/trends, and /dashboard/operations into a single parallel request. Defaults: today's date, revenue metric, 30-day trends, all deadlines, page 1, limit 10.

GET
/dashboard/overview

Aggregates /dashboard/stats, /dashboard/today, /dashboard/trends, and /dashboard/operations into a single parallel request. Defaults: today's date, revenue metric, 30-day trends, all deadlines, page 1, limit 10.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Response Body

application/json

curl -X GET "https://example.com/dashboard/overview"
{  "stats": {    "monthly": {      "totalOrders": 0,      "completedOrders": 0,      "pendingOrders": 0,      "currency": "GBP",      "revenue": 0,      "revenueExact": "1234.56",      "avgOrderValue": 0,      "avgOrderValueExact": "1234.56",      "currencyTotals": [        {          "currency": "GBP",          "totalOrders": 0,          "completedOrders": 0,          "pendingOrders": 0,          "revenueExact": "1234.56",          "previousRevenueExact": "1234.56",          "avgOrderValueExact": "1234.56",          "trends": {            "orders": {              "change": "string",              "type": "increase"            },            "completed": {              "change": "string",              "type": "increase"            },            "revenue": {              "change": "string",              "type": "increase"            },            "pending": {              "change": "string",              "type": "increase"            }          }        }      ],      "trends": {        "orders": {          "change": "string",          "type": "increase"        },        "completed": {          "change": "string",          "type": "increase"        },        "revenue": {          "change": "string",          "type": "increase"        },        "pending": {          "change": "string",          "type": "increase"        }      }    },    "deadlines": {      "overdue": 0,      "today": 0,      "tomorrow": 0,      "thisWeek": 0    }  },  "today": {    "date": "string",    "metric": "orders",    "currency": "GBP",    "dataPoints": [      {        "hour": 0,        "value": 0,        "cumulative": 0,        "valueExact": "1234.56",        "cumulativeExact": "1234.56"      }    ],    "currencySeries": [      {        "currency": "GBP",        "dataPoints": [          {            "hour": 0,            "valueExact": "1234.56",            "cumulativeExact": "1234.56"          }        ],        "summary": {          "currentValueExact": "1234.56",          "currentTime": "string",          "projectedEndOfDayExact": "1234.56"        }      }    ],    "summary": {      "currentValue": 0,      "currentValueExact": "1234.56",      "currentTime": "string",      "projectedEndOfDay": 0,      "projectedEndOfDayExact": "1234.56"    }  },  "trends": {    "dateRange": {      "start": "string",      "end": "string"    },    "currency": "GBP",    "series": {      "submitted": [        {          "date": "string",          "count": 0,          "value": 0,          "valueExact": "1234.56"        }      ],      "completed": [        {          "date": "string",          "count": 0,          "value": 0,          "valueExact": "1234.56"        }      ]    },    "currencySeries": [      {        "currency": "GBP",        "series": {          "submitted": [            {              "date": "string",              "count": 0,              "valueExact": "1234.56"            }          ],          "completed": [            {              "date": "string",              "count": 0,              "valueExact": "1234.56"            }          ]        },        "totals": {          "submitted": {            "count": 0,            "valueExact": "1234.56"          },          "completed": {            "count": 0,            "valueExact": "1234.56"          }        }      }    ],    "totals": {      "submitted": {        "count": 0,        "value": 0,        "valueExact": "1234.56"      },      "completed": {        "count": 0,        "value": 0,        "valueExact": "1234.56"      }    }  },  "operations": null}
Empty