GET /v1/analytics/libraries/{file_key}/component/actions
Returns a list of library analytics component actions data broken down by the requested dimension.
Servers
- https://api.figma.com
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
file_key |
String | Yes |
File key of the library to fetch analytics data for. |
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
group_by |
String | Yes |
A dimension to group returned analytics data by. Valid values:
|
start_date |
String | No |
ISO 8601 date string (YYYY-MM-DD) of the earliest week to include. Dates are rounded back to the nearest start of a week. Defaults to one year prior. |
end_date |
String | No |
ISO 8601 date string (YYYY-MM-DD) of the latest week to include. Dates are rounded forward to the nearest end of a week. Defaults to the latest computed week. |
cursor |
String | No |
Cursor indicating what page of data to fetch. Obtained from prior API call. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.