Endpoints for retrieving analytics and user event data.
Returns a history of search queries made by a specific user, or by anonymous users.
Path Parameters
- userLoginstringrequired
The login of the user.
Query Parameters
- startDatestring date-timerequired
An ISO 8601 timestamp for the start of the report range (GMT).
- endDatestring date-timerequired
An ISO 8601 timestamp for the end of the report range (GMT).
- projectIdstring
An optional ID of a project or publication to filter the report.
Responses
GET/reports/user-events/{userLogin}/search-queries
curl https://your-portal.clickhelp.co/api/v1/reports/user-events//search-queries \
--header 'Authorization: Basic username:password'
[
{
"dateTime": "2026-01-23T22:10:04.180Z",
"queryText": "…",
"resultsTotal": 1,
"projectId": "…"
}
]Returns a history of topic view events for a specific user, or for anonymous users if '{userLogin}' is '-'.
Path Parameters
- userLoginstringrequired
The login of the user.
Query Parameters
- startDatestring date-timerequired
An ISO 8601 timestamp for the start of the report range (GMT).
- endDatestring date-timerequired
An ISO 8601 timestamp for the end of the report range (GMT).
Responses
GET/reports/user-events/{userLogin}/articles
curl https://your-portal.clickhelp.co/api/v1/reports/user-events//articles \
--header 'Authorization: Basic username:password'
[
{
"actionType": "DirectNavigation",
"dateTime": "2026-01-23T22:10:04.180Z",
"href": "…",
"referrerUrl": "https://example.com"
}
]