Analytics
Get workspace analytics
Retrieves analytics data for the workspace including traffic metrics, visitor counts, and performance data. Supports optional date range filtering.
get/v1/workspace/analytics
Request
- Base URL: https://api.lindo.ai
- URL: https://api.lindo.ai/v1/workspace/analytics
- Auth: HTTP bearer
Query parameters
fromstring
Start date for analytics data (ISO timestamp)
Example:2024-01-01T00:00:00Z
tostring
End date for analytics data (ISO timestamp)
Example:2024-01-31T23:59:59Z
Response
Workspace analytics retrieved successfully
Example response
{
"success": true,
"result": {
"total_requests": 10000,
"total_visitors": 2500,
"avg_response_time": 150,
"total_pages": 50,
"total_blogs": 25,
"total_websites": 5,
"total_clients": 10,
"traffic_over_time": [
{
"timestamp": "2024-01-15T10:00:00Z",
"requests": 1500,
"visitors": 250,
"avg_response_time": 150
}
],
"top_websites": [
{
"website_id": "website_abc123",
"host": "example.com",
"requests": 1500,
"visitors": 250,
"avg_response_time": 150
}
],
"top_countries": [
{
"country": "US",
"requests": 800,
"visitors": 150
}
],
"top_browsers": [
{
"browser": "Chrome",
"count": 600,
"visitors": 120
}
],
"top_devices": [
{
"device": "Desktop",
"count": 700,
"visitors": 140
}
],
"top_os": [
{
"os": "Windows",
"count": 500,
"visitors": 100
}
],
"top_referers": [
{
"domain": "google.com",
"count": 300,
"visitors": 80
}
],
"top_campaigns": [
{
"campaign": "summer_sale",
"count": 200,
"visitors": 50
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.