Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Amplitude Cohorts API

Cohort management and export operations

Amplitude Cohorts API is one of 33 APIs that Amplitude publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Cohorts. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 5 operations across 5 paths, and defines 6 schemas. It is described by OpenAPI 3.1.0, at version 2.

Requests are made against 2 base URLs: https://api2.amplitude.com, https://api.eu.amplitude.com.

5 operations 5 paths 6 schemas 4 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2
Base URL
https://api2.amplitude.com
Terms of Service
Resource Areas
1

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 4 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Cohorts 5

Cohort management and export operations

GET
/api/3/cohorts
Amplitude List All Cohorts
listCohorts → 200401
GET
/api/5/cohorts/request/{cohort_id}
Amplitude Request a Cohort Export
requestCohortExport 2 params → 200400401404
GET
/api/5/cohorts/request/{cohort_id}/status
Amplitude Get Cohort Export Status
getCohortExportStatus 1 param → 200401404
GET
/api/5/cohorts/request/{cohort_id}/file
Amplitude Download Cohort Export File
downloadCohortExport 1 param → 200401404
POST
/api/3/cohorts/upload
Amplitude Upload a Cohort
uploadCohort body → 200400401

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are Cohort (8 properties), CohortUploadRequest (4 properties), CohortStatusResponse (2 properties), CohortRequestResponse (2 properties). Each schema is shown below with its type and property counts.

CohortUploadRequest
object
4 properties 2 required
CohortRequestResponse
object
2 properties
Cohort
object
8 properties
CohortUploadResponse
object
1 property
CohortStatusResponse
object
2 properties
CohortListResponse
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

amplitude-cohorts-api-openapi.yml Raw ↑

Other APIs Amplitude publishes across the network.

Amplitude Batch Event Upload API
Amplitude Identify API
Amplitude Group Identify API
Amplitude Export API
Amplitude Attribution API
Amplitude Releases API
Amplitude Session Replay API
Amplitude User Mapping API
Amplitude User Privacy API
Amplitude Webhooks and Cohort Sync
Amplitude Annotations API
Amplitude Data Access API