Metrics
Query Chart Ast
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
version*1Value in
1outputs*array<>Success
application/json- response
outputs*array<||>curl -X POST "https://example.com/v0/projects/string/metrics/query" \ -H "Content-Type: application/json" \ -d '{ "version": 1, "outputs": [ { "id": "string", "query": { "type": "source", "dataset": "events-web", "field": "string" } } ] }'{ "outputs": [ { "id": "string", "name": "string", "dimensions": [ "string" ], "metadata": { "iconSetId": "string", "color": "string", "colors": [ "string" ], "splitPattern": "string", "splitField": "string" }, "type": "scalar", "value": "string" } ]}