List Pack formula analytics
Returns analytics data for Pack formulas.
Path parameters
ID of a Pack
Query parameters
A list of Pack formula names (case-sensitive) for which to retrieve analytics.
A list of Pack formula types corresponding to the packFormulaNames. If specified, this must have the same length as packFormulaNames.
Limit results to activity on or after this date.
Limit results to activity on or before this date.
Quantization period over which to view analytics.
Quantization period over which to view analytics. Defaults to daily.
An opaque token used to fetch the next page of results.
Determines how the Pack formula analytics returned are sorted.
Use this parameter to order the Pack formula analytics returned.
Direction of a sort for a table or view.
Direction to sort results in.
Maximum number of results to return in this query.
Response
Response of Superhuman Pack formula analytics.
Example response
{
"items": [
{
"formula": {
"name": "SquareRoot"
},
"metrics": [
{
"date": "2020-09-02",
"formulaInvocations": 123,
"errors": 5,
"medianLatencyMs": 500,
"medianResponseSizeBytes": 300,
"docsActivelyUsing": 50,
"docsActivelyUsing7Day": 100,
"docsActivelyUsing30Day": 200,
"docsActivelyUsing90Day": 300,
"docsActivelyUsingAllTime": 500,
"workspacesActivelyUsing": 10,
"workspacesActivelyUsing7Day": 15,
"workspacesActivelyUsing30Day": 20,
"workspacesActivelyUsing90Day": 30,
"workspacesActivelyUsingAllTime": 50
}
]
}
],
"nextPageToken": "eyJsaW1pd",
"nextPageLink": "https://docs.superhuman.com/apis/v1/analytics/packs/:packId/formulas?pageToken=xyz"
}