diff --git a/docs/docs/integrate/custom-apis/index.md b/docs/docs/integrate/custom-apis/index.md index 0ae384218f6..3d851c29436 100644 --- a/docs/docs/integrate/custom-apis/index.md +++ b/docs/docs/integrate/custom-apis/index.md @@ -26,10 +26,10 @@ It should have the following structure: ```yaml type: api - metrics_sql: SELECT dimension, AGGREGATE(measure) FROM my_metrics GROUP BY dimension + metrics_sql: SELECT dimension, measure FROM my_metrics ``` where `my_metrics` is your metrics view name, `measure` is a custom metrics that you have defined. Read more details about [Metrics SQL API](./metrics-sql-api.md). ## How to use custom APIs -Refer to the integration docs [here](/integrate/custom-api.md) to learn how to use custom APIs in your application. \ No newline at end of file +Refer to the integration docs [here](/integrate/custom-api.md) to learn how to use custom APIs in your application.