v1

latestOpenAPI 3.1.02026-07-1750229379.2 KB
Library Analytics

Get library analytics component usage data.

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

get/v1/analytics/libraries/{file_key}/component/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'component' | 'file' required

A dimension to group returned analytics data by.

Response

Response from the PUT /v1/analytics/libraries/{file_key}/component/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.