← Back to directory

Build day/week/month cohort retention in classic or rolling mode from signup and...

https://www.brainiac.software/api/v1/predictive-analytics/cohort-retention

Overview

Build day/week/month cohort retention in classic or rolling mode from signup and activity dates, with partial-period flags and a size-weighted curve. Docs: https://www.brainiac.software/api/predictive-analytics/cohort-retention

Protocol x402 (POST)
Price $0.03
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider Cohort Retention Matrix Weighted
Source bazaar
Indexed 2026-11-24 19:01:01

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "asOf": "2026-03-31", "events": [ { "activity": [ "2026-01-05", "2026-02-10", "2026-03-02" ], "signup": "2026-01-05", "userId": "u1" }, { "activity": [ "2026-01-20", "2026-03-15" ], "signup": "2026-01-20", "userId": "u2" }, { "activity": [ "2026-01-28" ], "signup": "2026-01-28", "userId": "u3" }, { "activity": [ "2026-02-03", "2026-03-04" ], "signup": "2026-02-03", "userId": "u4" }, { "activity": [ "2026-02-14" ], "signup": "2026-02-14", "userId": "u5" } ], "mode": "classic", "period": "month", "timezone": "UTC" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "cohorts": [ { "cohort": "2026-01", "partial": true, "retention": [ 1, 0.333333333333 ], "size": 3 }, { "cohort": "2026-02", "partial": true, "retention": [ 1, 0.5 ], "size": 2 } ], "limitations": [ "Cohort retention by signup period; classic counts activity in period k, rolling counts activity in period k or later.", "Outputs are statistical calculations on caller-supplied inputs for human review. They are not legal, medical, credit, t" ], "sources": [ { "retrievedAt": "2026-11-14", "source": "Caller-supplied tabular data processed locally", "status": "ok", "url": "https://www.brainiac.software/api/v1/predictive-analytics" } ], "weightedCurve": [ 1, 0.4 ] }, "type": "json" }