API Overview

SeeLLM's REST API gives you programmatic access to all your AI traffic analytics data.

Base URL

https://api.seellm.com/api

Authentication

All API requests require authentication via one of:

  • Firebase Auth TokenAuthorization: Bearer <firebase_jwt>
  • API KeyAuthorization: Bearer sk_live_...

API keys can be generated in your dashboard under Settings > API Keys.

Common Query Parameters

All analytics endpoints support these parameters:

ParameterTypeDefaultDescription
range7d | 30d | 90d30dPredefined date range
start_dateYYYY-MM-DDCustom start date (overrides range)
end_dateYYYY-MM-DDCustom end date (overrides range)
domainstringFilter by domain
short_codestringFilter by short code

Response Format

All endpoints return JSON. Successful responses return the data directly. Errors return:

{
  "error": "Unauthorized",
  "message": "Invalid authentication token"
}

Rate Limits

  • 60 requests/minute per authenticated user
  • 100 requests/minute for the dashboard endpoint
  • Rate limit headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset

Caching

All analytics queries are cached server-side with a 5-minute TTL. This reduces backend costs by ~95% while keeping data fresh enough for dashboards.

Next Steps