v1

latestOpenAPI 3.1.02026-07-1744202324.0 KB
Library Analytics

Get library analytics style usage data.

Returns a list of library analytics style usage data broken down by the requested dimension.

get/v1/analytics/libraries/{file_key}/style/usages

Path parameters

file_keystring required

File key of the library to fetch analytics data for.

Query parameters

cursorstring

Cursor indicating what page of data to fetch. Obtained from prior API call.

group_by'style' | 'file' required

A dimension to group returned analytics data by.

Response

Response from the PUT /v1/analytics/libraries/{file_key}/style/usages.

next_pageboolean required

Whether there is a next page of data that can be fetched.

cursorstring

The cursor to use to fetch the next page of data. Not present if next_page is false.