Charts

List Charts

GET
/v0/project/{idOrSlug}/charts

Authorization

apiKeyAuth
x-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

In: header

Path Parameters

idOrSlug*string

Query Parameters

dashboardId?|string|null
chartId?string|null

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v0/project/string/charts"
[  {    "id": "string",    "projectId": "string",    "dashboardId": "string",    "name": "string",    "description": "string",    "chartType": "widget",    "queryConfig": {      "groupLimit": 0,      "visualOptions": {        "colors": [          "string"        ],        "pie": {          "style": "pie",          "showLegend": true,          "showTotal": true,          "showLabels": true,          "totalDisplayMode": "sum",          "drilldown": {            "enabled": true,            "splitPattern": "string"          }        },        "bar": {          "stacked": true,          "orientation": "vertical"        },        "line": {          "lineType": "monotone",          "showDots": true        },        "widget": {          "showTrend": true,          "displayMode": "default",          "valueFormat": "number"        },        "list": {          "selectedTabIndex": 0,          "splitPattern": "string",          "multiMetric": true        },        "heatmap": {          "showLegend": true        },        "radar": {          "showDots": true,          "fillOpacity": 0,          "showLegend": true,          "gridType": "polygon"        },        "scatter": {          "pointSize": "small",          "showLegend": true        }      },      "markerCollections": [        {          "collectionId": "string",          "enabled": true,          "display": {            "icon": "string",            "emoji": "string",            "color": "string"          }        }      ]    },    "query": {      "type": "flow",      "nodes": [        {          "id": "string",          "type": "string",          "data": {},          "position": {            "x": 0,            "y": 0          }        }      ],      "edges": [        {          "id": "string",          "source": "string",          "target": "string"        }      ]    },    "position": {      "x": 0,      "y": 0,      "w": 0,      "h": 0    },    "createdAt": "string",    "updatedAt": "string"  }]