Skip to content

Commit f7caff6

Browse files
authored
Update analytics.mdx (#18304)
fixing error in curl example. timestamp should have 3 trailing 0s, not one 0 before the "z"
1 parent b7a7329 commit f7caff6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/ai-gateway/observability/analytics.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ curl https://api.cloudflare.com/client/v4/graphql \
3434
"query": "query{\n viewer {\n accounts(filter: { accountTag: \"{account_id}\" }) {\n requests: aiGatewayRequestsAdaptiveGroups(\n limit: $limit\n filter: { datetimeHour_geq: $start, datetimeHour_leq: $end }\n orderBy: [datetimeMinute_ASC]\n ) {\n count,\n dimensions {\n model,\n provider,\n gateway,\n ts: datetimeMinute\n }\n \n }\n \n }\n }\n}",
3535
"variables": {
3636
"limit": 1000,
37-
"start": "2023-09-01T10:00:00.0Z",
38-
"end": "2023-09-30T10:00:00.0Z",
37+
"start": "2023-09-01T10:00:00.000Z",
38+
"end": "2023-09-30T10:00:00.000Z",
3939
"orderBy": "date_ASC"
4040
}
4141
}'

0 commit comments

Comments
 (0)