API ReferenceCompanies
Get company metrics
Get one company's activity metrics (events, distinct users, last-seen, revenue) over a window. Organization-wide; requires owner/admin. Pass a company_id from top_companies. Returns company_id, name, domain, events, users, last_seen, and revenue, with revenue in your organization's currency.
AuthorizationBearer <token>
Organization API Token (prefixed sk_) sent as Authorization: Bearer sk_.... Create one in Settings and grant it scopes. Server-side only.
In: header
Path Parameters
company_idstring
Query Parameters
range_days?integer
Look-back window in days (1-365). Defaults to 30.
Range
1 <= value <= 365Response Body
curl -X GET "https://api.logspot.io/v1/companies/string/metrics"Empty
Empty
Empty
Empty
Empty