Charts
List Charts
GET
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringdashboardId?|string|nullchartId?string|nullSuccess
application/json- response
[index: integer]?curl -X GET 'https://api.faststats.dev/v0/projects/string/charts'Example Response
[ { "id": "string", "projectId": "string", "dashboardId": "string", "folderId": "string", "notebookId": "string", "name": "string", "description": "string", "chartType": "bar", "queryConfig": { "groupLimit": 0, "visualOptions": { "colors": [ "string" ], "thresholds": [ { "value": 0, "label": "string", "color": "string" } ], "valueFormat": { "unit": "number", "customUnit": "string", "decimals": 0 }, "valueAxis": { "min": 0, "max": 0 }, "pie": { "style": "pie", "showLegend": true, "showTotal": true, "showLabels": true, "totalDisplayMode": "sum", "drilldown": { "enabled": true, "splitPattern": "string" } }, "bar": { "logarithmic": true, "stacked": true, "orientation": "vertical" }, "line": { "logarithmic": true, "lineType": "monotone", "showDots": true }, "widget": { "showTrend": true, "displayMode": "default", "valueFormat": "number" }, "list": { "selectedTabIndex": 0, "splitPattern": "string", "multiMetric": true }, "heatmap": { "showLegend": true, "showValues": true }, "radar": { "logarithmic": true, "showDots": true, "fillOpacity": 0, "showLegend": true, "gridType": "polygon" }, "scatter": { "logarithmic": true, "pointSize": "small", "showLegend": true }, "table": { "showBars": true, "showTotals": 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" }]curl -X GET 'https://api.faststats.dev/v0/projects/string/charts'[
{
"id": "string",
"projectId": "string",
"dashboardId": "string",
"folderId": "string",
"notebookId": "string",
"name": "string",
"description": "string",
"chartType": "bar",
"queryConfig": {
"groupLimit": 0,
"visualOptions": {
"colors": [
"string"
],
"thresholds": [
{
"value": 0,
"label": "string",
"color": "string"
}
],
"valueFormat": {
"unit": "number",
"customUnit": "string",
"decimals": 0
},
"valueAxis": {
"min": 0,
"max": 0
},
"pie": {
"style": "pie",
"showLegend": true,
"showTotal": true,
"showLabels": true,
"totalDisplayMode": "sum",
"drilldown": {
"enabled": true,
"splitPattern": "string"
}
},
"bar": {
"logarithmic": true,
"stacked": true,
"orientation": "vertical"
},
"line": {
"logarithmic": true,
"lineType": "monotone",
"showDots": true
},
"widget": {
"showTrend": true,
"displayMode": "default",
"valueFormat": "number"
},
"list": {
"selectedTabIndex": 0,
"splitPattern": "string",
"multiMetric": true
},
"heatmap": {
"showLegend": true,
"showValues": true
},
"radar": {
"logarithmic": true,
"showDots": true,
"fillOpacity": 0,
"showLegend": true,
"gridType": "polygon"
},
"scatter": {
"logarithmic": true,
"pointSize": "small",
"showLegend": true
},
"table": {
"showBars": true,
"showTotals": 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"
}
]