API ReferenceRevenue

LTV cohorts

Lifetime value (LTV) cohorts for a project, grouped by each entity's first-seen month, at the account or identity level. Cumulative/all-time (ignores any date range). Organization-wide; requires owner/admin. Returns currency and cohorts, each with cohort, entities, revenue, orders, and ltv.

GET
/projects/{project_id}/revenue/ltv-cohorts
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

project_idstring

Query Parameters

level?string

Cohort by account or identity. Default account.

Value in"account" | "identity"
limit?integer

Maximum cohorts (months) to return (1-60). Default 24.

Range1 <= value <= 60

Response Body

curl -X GET "https://api.logspot.io/v1/projects/string/revenue/ltv-cohorts"
Empty
Empty
Empty
Empty
Empty