ToolAssay

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

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

Answeringour last check, 2026-11-27
4 of 4checks answered this week
326 msmedian answer time
$0.03listed price per call
$0.03price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

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

CategoryEverything else
Provider hostwww.brainiac.software
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-27 valid payment request 402$0.03 327 ms
2026-11-26 valid payment request 402$0.03 325 ms
2026-11-25 valid payment request 402$0.03 321 ms
2026-11-24 valid payment request 402$0.03 338 ms

Example input (from the provider)

{
  "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"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "asOf": {
              "description": "as Of supplied by the caller for this operation.",
              "example": "2026-03-31",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
              "type": "string"
            },
            "events": {
              "description": "events supplied by the caller for this operation.",
              "example": [
                {
                  "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"
                }
              ],
              "items": {
                "type": "object"
              },
              "type": "array"
            },
            "mode": {
              "description": "mode supplied by the caller for this operation.",
              "enum": [
                "classic",
                "rolling"
              ],
              "example": "classic",
              "type": "string"
            },
            "period": {
              "description": "period supplied by the caller for this operation.",
              "enum": [
                "day",
                "week",
                "month"
              ],
              "example": "month",
              "type": "string"
            },
            "timezone": {
              "description": "timezone supplied by the caller for this operation.",
              "example": "UTC",
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "events",
            "asOf"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON