Amplitude · Schema

Cohort

Cohort schema from Amplitude Behavioral Cohorts API

A/B TestingAnalyticsExperimentationFeature FlagsProduct AnalyticsUser Behavior

Properties

Name Type Description
id string The unique identifier for the cohort.
name string The name of the cohort.
description string A description of the cohort.
size integer The number of users in the cohort.
lastComputed string The date and time the cohort was last computed.
archived boolean Whether the cohort is archived.
owner string The email of the cohort owner.
appId integer The Amplitude project ID the cohort belongs to.
View JSON Schema on GitHub

JSON Schema

behavioral-cohorts-api-cohort-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amplitude/refs/heads/main/json-schema/behavioral-cohorts-api-cohort-schema.json",
  "title": "Cohort",
  "description": "Cohort schema from Amplitude Behavioral Cohorts API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for the cohort."
    },
    "name": {
      "type": "string",
      "description": "The name of the cohort."
    },
    "description": {
      "type": "string",
      "description": "A description of the cohort."
    },
    "size": {
      "type": "integer",
      "description": "The number of users in the cohort."
    },
    "lastComputed": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the cohort was last computed."
    },
    "archived": {
      "type": "boolean",
      "description": "Whether the cohort is archived."
    },
    "owner": {
      "type": "string",
      "description": "The email of the cohort owner."
    },
    "appId": {
      "type": "integer",
      "description": "The Amplitude project ID the cohort belongs to."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/behavioral-cohorts-api-cohort"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.