Skip to main content

Query Cost Leaderboard

GET 

/api/v1/queries/cost-leaderboard

Top query-cost consumers from dfe.query_log_archive, heaviest first.

Groups by the attribution id (the hunt id for feature='hunts') and returns the query count + summed read rows/bytes + duration + peak memory. Reads the MV the CH wrapper's log_comment attribution feeds - returns [] until it has data.

Request​

Responses​

Successful Response