Sazabi
APIDashboards

List dashboards

List the project's available dashboards: title, description, revision, timestamps, and your capabilities. Metadata only; never runs queries.

GET https://api.sazabi.com/v1/dashboards

GET
/dashboards

Query Parameters

search?string
Length1 <= length <= 200
limit?integer

Maximum number of dashboards to return (1-100, default 50).

Range1 <= value <= 100
Default50
cursor?string

nextCursor from a previous page.

Length1 <= length <= 500
projectId?string

Project that owns the dashboard. Auto-filled from CLI and SDK context when omitted.

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/dashboards"
{  "canCreate": true,  "templates": [    {      "key": "string",      "version": -9007199254740991,      "resourceKind": "dashboard",      "title": "string",      "description": "string",      "source": "string",      "inputSchema": {        "property1": null,        "property2": null      },      "defaults": {        "title": "string",        "timeRange": {          "kind": "absolute",          "from": "2019-08-24T14:15:22Z",          "to": "2019-08-24T14:15:22Z"        }      },      "requiredPermissions": [        "dashboards:write"      ]    }  ],  "dashboards": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "slug": "string",      "title": "string",      "description": "string",      "revision": -9007199254740991,      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z",      "capabilities": {        "update": true,        "delete": true      }    }  ],  "nextCursor": "string"}