Konnect endpoint for extracting and computing metrics, similar to the data that is used to build graphs in Konnect Advanced Analytics. This endpoint is used to query the Advanced Analytics platform for aggregated metrics down to ten seconds for recent data. Data can be requested to group by any 2 dimensions, up to 3 metrics and any number of filter conditions in 1 query.
Important Considerations:
- This endpoint is only available for Konnect Advanced Analytics.
- The time range for the query must be within the last 32 days, otherwise a 400 error will be returned.
- The time range you request may be adjusted slightly to avoid returning buckets that contain only partial information. For instance:
- You request data for the last 24 hours with hourly intervals.
- The current time is Tuesday at 10:40 AM.
- The query will return data starting from Monday at 10:00 AM up to Tuesday at 10:40 AM.
- The returned data will include complete hourly buckets (10:00 AM, 11:00 AM, etc.), but the last hour for Tuesday at 10:00 AM will only contain 40 minutes of data since it’s not yet complete. This means the total duration is actually 24 hours and 40 minutes.
- The exact start and end times can be found in the results under
meta.start
andmeta.end
.
- For queries that use the time dimension, the granularity of the result may be coarser than requested. The finest allowed granularity depends on the query’s time range: data farther in the past may have coarser granularity. The exact result granularity will be reported in the response
meta.granularity_ms
field. - Queries must complete within 10 seconds. If a query takes longer than 10 seconds, a 408 will be returned. In this case, it is suggested to add more filters, and/or reduce the time range.
- This endpoint is rate limited to 10 requests per minute per user.
- Must at least have the Analytics Viewer permission to use this endpoint.
- Server 1:https://us.api.konghq.com/v1[Konnect Metrics Endpoint]
United-States Production region
- Server 2:https://eu.api.konghq.com/v1[Konnect Metrics Endpoint]
Europe Production region
- Server 3:https://au.api.konghq.com/v1[Konnect Metrics Endpoint]
Australia Production region
- Server 4:https://me.api.konghq.com/v1[Konnect Metrics Endpoint]
Middle-East Production region
- Server 5:https://in.api.konghq.com/v1[Konnect Metrics Endpoint]
India Production region