List doc analytics
Returns analytics data for available docs per day.
Request
- Base URL: https://docs.superhuman.com/apis/v1
- URL: https://docs.superhuman.com/apis/v1/analytics/docs
- Auth: HTTP bearer
Query parameters
List of docIds to fetch.
ID of the workspace.
Search term used to filter down results.
Limit results to only published items.
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 Doc analytics returned are sorted.
Use this parameter to order the doc 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
List of document analytics.
Example response
{
"items": [
{
"doc": {
"id": "AbCDeFGH",
"href": "https://docs.superhuman.com/apis/v1/docs/AbCDeFGH",
"browserLink": "https://docs.superhuman.com/d/_dAbCDeFGH",
"title": "Cool Geometry Formulas",
"icon": {
"browserLink": "https://cdn.coda.io/icons/png/color/icon-32.png"
},
"createdAt": "2022-04-11T00:18:57.946Z",
"publishedAt": "2022-04-12T00:18:57.946Z"
},
"metrics": [
{
"date": "2020-09-02",
"views": 980,
"copies": 24,
"likes": 342,
"sessionsMobile": 530,
"sessionsDesktop": 212,
"sessionsOther": 10,
"totalSessions": 1000,
"aiCreditsChat": 10,
"aiCreditsBlock": 10,
"aiCreditsColumn": 10,
"aiCreditsAssistant": 10,
"aiCreditsReviewer": 10,
"aiCredits": 50
}
]
}
],
"nextPageToken": "eyJsaW1pd",
"nextPageLink": "https://docs.superhuman.com/apis/v1/analytics/docs?pageToken=xyz"
}Changes
No recorded changes to this operation across all 1 revision of this API.