From 3016e20f1d3eeaae5289bea03469f51e69b2f55e Mon Sep 17 00:00:00 2001 From: Michael Irvine Date: Wed, 5 Mar 2025 15:08:53 -0500 Subject: [PATCH] fix(docs): fixes bad views usage in example --- docs/pages/product/apis-integrations/ai-api/reference.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/product/apis-integrations/ai-api/reference.mdx b/docs/pages/product/apis-integrations/ai-api/reference.mdx index 776092566e00f..cc023c2002e71 100644 --- a/docs/pages/product/apis-integrations/ai-api/reference.mdx +++ b/docs/pages/product/apis-integrations/ai-api/reference.mdx @@ -38,7 +38,7 @@ curl \ -X POST \ -H "Content-Type: application/json" \ -H "Authorization: EXAMPLE-API-TOKEN" \ - --data '{ "messages": [{ "role": "user", "content": "What cities have the highest aov this year?", "views": ["orders_view"] }]}' \ + --data '{ "messages": [{ "role": "user", "content": "What cities have the highest aov this year?" }], "views": ["orders_view"] }' \ https://YOUR_CUBE_API/cubejs-api/v1/ai/query/completions ```