cURL
curl --request GET \ --url https://devtune.ai/api/v2/projects/{projectId}/traffic/summary \ --header 'Authorization: Bearer <token>'
{ "data": { "totalEvents": 123, "botEvents": 123, "referralEvents": 123, "uniqueSessions": 123, "botSessions": 123, "referralSessions": 123 }, "meta": { "timestamp": "2023-11-07T05:31:56Z", "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
Returns aggregate LLM traffic metrics including total events, bot events, and referral events.
API key with dtk_live_ prefix. Obtain from Settings > API Keys.
1 <= x <= 365
Traffic summary
Show child attributes