ActiveCampaign · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Segments Count History API

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

What the actions change

x-apievangelist-phrasing

Targets 3

$.info
$.paths['/api/3/segmentsV2/{segmentId}/count-history'].get
$.paths['/api/3/segmentsV2/{segmentId}/count-history/{timestamp}'].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 Segments Count History API
  version: 1.0.0
extends: openapi/activecampaign-count-history-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 2
- target: $.paths['/api/3/segmentsV2/{segmentId}/count-history'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a segment's latest count history
      effect: read
      questions:
      - How has the size of a segment changed over time?
      - Can I see the most recent result counts for a segment, up to 50 at a time?
      instructions:
      - text: Show the count history for segment {segmentId}.
        slots:
          segmentId: path.segmentId
      - text: Get the first page of result counts for segment {segmentId}.
        slots:
          segmentId: path.segmentId
      method: generated
      generated: '2026-09-26'
- target: $.paths['/api/3/segmentsV2/{segmentId}/count-history/{timestamp}'].get
  update:
    x-apievangelist-phrasing:
      intent: Page segment count history from a timestamp
      effect: read
      questions:
      - How do I get the next page of a segment's count history?
      - Can I fetch older segment counts starting from an epoch timestamp?
      instructions:
      - text: Get segment {segmentId} count history after epoch timestamp {timestamp}.
        slots:
          segmentId: path.segmentId
          timestamp: path.timestamp
      - text: Load the next page of counts for segment {segmentId} from {timestamp}.
        slots:
          segmentId: path.segmentId
          timestamp: path.timestamp
      method: generated
      generated: '2026-09-26'