Amplitude · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Amplitude Behavioral Cohorts API

9 actions 9 updates phrasing extends openapi/amplitude-cohorts-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Amplitude's API. It is a proposal applied on top of the contract, not a document Amplitude publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 9

$.info
$.paths['/api/3/cohorts'].get
$.paths['/api/5/cohorts/request/{cohort_id}'].get
$.paths['/api/5/cohorts/request/{cohort_id}/status'].get
$.paths['/api/5/cohorts/request/{cohort_id}/file'].get
$.paths['/api/3/cohorts/upload'].post
$.paths['/api/5/cohorts/request/{cohortId}'].get
$.paths['/api/5/cohorts/request-status/{requestId}'].get
$.paths['/api/5/cohorts/request/{requestId}/file'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Amplitude Behavioral Cohorts API
  version: 1.0.0
extends: openapi/amplitude-cohorts-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-15'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 8
- target: $.paths['/api/3/cohorts'].get
  update:
    x-apievangelist-phrasing:
      intent: List behavioral cohorts
      effect: read
      questions:
      - Which behavioral cohorts exist in my project?
      - What is the size and last computed date of each cohort?
      instructions:
      - text: List all behavioral cohorts.
      - text: Show every cohort with its size and last computed date.
      method: generated
      generated: '2026-11-15'
- target: $.paths['/api/5/cohorts/request/{cohort_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Request a cohort export
      effect: write
      questions:
      - How do I export a cohort's membership list?
      - Can I include user properties in a cohort export?
      instructions:
      - text: Request an export of cohort {cohort_id}.
        slots:
          cohort_id: path.cohort_id
      - text: Export cohort {cohort_id} with user properties {props}.
        slots:
          cohort_id: path.cohort_id
          props: query.props
      method: generated
      generated: '2026-11-15'
- target: $.paths['/api/5/cohorts/request/{cohort_id}/status'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a cohort export status
      effect: read
      questions:
      - Has my cohort export finished?
      - What state is a cohort export in right now?
      instructions:
      - text: Check the export status of cohort {cohort_id}.
        slots:
          cohort_id: path.cohort_id
      - text: Poll cohort {cohort_id}'s export job.
        slots:
          cohort_id: path.cohort_id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/api/5/cohorts/request/{cohort_id}/file'].get
  update:
    x-apievangelist-phrasing:
      intent: Download a cohort export file
      effect: read
      questions:
      - How do I download the membership file from a completed cohort export?
      - Where do I get the exported cohort data?
      instructions:
      - text: Download the export file for cohort {cohort_id}.
        slots:
          cohort_id: path.cohort_id
      - text: Save the completed cohort {cohort_id} membership file.
        slots:
          cohort_id: path.cohort_id
      method: generated
      generated: '2026-11-15'
- target: $.paths['/api/3/cohorts/upload'].post
  update:
    x-apievangelist-phrasing:
      intent: Upload a cohort from user IDs
      effect: write
      questions:
      - How do I import a list of user IDs into a cohort?
      - Can I update an existing cohort with a new list of IDs?
      instructions:
      - text: Create cohort {name} with user IDs {ids}.
        slots:
          name: requestBody.name
          ids: requestBody.ids
      - text: Update existing cohort {existing_cohort_id} with IDs {ids}, named {name}.
        slots:
          existing_cohort_id: requestBody.existing_cohort_id
          ids: requestBody.ids
          name: requestBody.name
      method: generated
      generated: '2026-11-15'
- target: $.paths['/api/5/cohorts/request/{cohortId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Start an asynchronous cohort export
      effect: read
      questions:
      - How do I kick off an export of everyone in an Amplitude cohort so I can sync it to my CRM?
      - Can I add specific user properties like plan or country when I export a cohort's members?
      - What do I get back when I start a cohort export job?
      instructions:
      - text: Start an async export job for cohort {cohortId} and give me the request ID.
        slots:
          cohortId: path.cohortId
      - text: Begin exporting cohort {cohortId} including the user property {propKeys}.
        slots:
          cohortId: path.cohortId
          propKeys: query.propKeys
      - text: Kick off a cohort {cohortId} export with all user properties turned on using props {props}.
        slots:
          cohortId: path.cohortId
          props: query.props
      method: generated
      generated: '2026-11-15'
- target: $.paths['/api/5/cohorts/request-status/{requestId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Check if a cohort export job is done
      effect: read
      questions:
      - Is my cohort export job still running or ready to download?
      - How can I tell when an export request ID has completed?
      - What does a 202 in progress response mean for a cohort export?
      instructions:
      - text: Look up the progress of export request {requestId}.
        slots:
          requestId: path.requestId
      - text: Keep polling request ID {requestId} until the job reports completed.
        slots:
          requestId: path.requestId
      method: generated
      generated: '2026-11-15'
- target: $.paths['/api/5/cohorts/request/{requestId}/file'].get
  update:
    x-apievangelist-phrasing:
      intent: Download a completed cohort export file
      effect: read
      questions:
      - How long does a cohort export download link stay valid?
      - Where do I fetch the file once my cohort export job has completed?
      - Why does the cohort download redirect me to another link?
      instructions:
      - text: Get the download link for the finished export with request ID {requestId}.
        slots:
          requestId: path.requestId
      - text: Fetch the member file produced by export request {requestId}.
        slots:
          requestId: path.requestId
      method: generated
      generated: '2026-11-15'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/amplitude-cohorts-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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