Charts
Create Chart
POST
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*stringapplication/json- body
dashboardId?string|null|nullname*stringdescription?string|null|nullchartType*stringValue in
"widget""line""area""bar""pie""map""list""heatmap""radar""scatter"queryConfig?|nullquery*position?|nullSuccess
application/json- response
id*stringcurl -X POST "https://example.com/v0/projects/string/charts" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "chartType": "widget", "query": { "type": "flow", "nodes": [ { "id": "string" } ], "edges": [ { "id": "string", "source": "string", "target": "string" } ] } }'{ "id": "string"}