Skip to main content
GET
/
api
/
v1
/
dev
/
teams
/
{teamId}
/
statistics
Get Team Statistics
curl --request GET \
  --url https://app.lukittu.com/api/v1/dev/teams/{teamId}/statistics \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "overview": {
      "totalLicenses": 150,
      "totalCustomers": 45,
      "totalProducts": 8,
      "activeLicenses": 32,
      "totalRequests": 12450
    },
    "requests": {
      "total": 12450,
      "successful": 11200,
      "failed": 1250,
      "successRate": 89.96,
      "byType": {
        "VERIFY": 8500,
        "HEARTBEAT": 3200,
        "DOWNLOAD": 750
      }
    },
    "topCountries": [
      {
        "country": "United States of America",
        "alpha3": "USA",
        "alpha2": "US",
        "requests": 5200
      },
      {
        "country": "Germany",
        "alpha3": "DEU",
        "alpha2": "DE",
        "requests": 2100
      }
    ],
    "topProducts": [
      {
        "id": "789e0123-e89b-12d3-a456-426614174222",
        "name": "My Product",
        "licenses": 50
      }
    ],
    "recentActivity": {
      "last24h": 850,
      "last7d": 4200,
      "last30d": 12450
    }
  },
  "result": {
    "timestamp": "2023-09-15T14:30:00Z",
    "valid": true,
    "details": "Statistics retrieved"
  }
}

Authorizations

Authorization
string
header
required

API key authentication for development endpoints.

You can create API keys in your team's settings on the Lukittu dashboard. Include the API key in the Authorization header as: Bearer YOUR_API_KEY

Example:

Authorization: Bearer lukittu_api_key_abc123def456...

Path Parameters

teamId
string<uuid>
required

Your team's UUID. You can find this value in your team's settings on the Lukittu dashboard. UUID v4 identifier

Response

Statistics retrieved successfully

data
object
result
object