ActiveCampaign · Schema

SegmentCountHistoryResponseRootDO

Marketing AutomationEmail MarketingCRMSales AutomationCustomer ExperienceSMS MarketingE-CommerceSegmentationWebhookA2AEmail

Properties

Name Type Description
data array
errors array
View JSON Schema on GitHub

JSON Schema

activecampaign-segment-count-history-response-root-do-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/activecampaign/main/json-schema/activecampaign-segment-count-history-response-root-do-schema.json",
  "title": "SegmentCountHistoryResponseRootDO",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/activecampaign-count-history-api-openapi.yml#/components/schemas/SegmentCountHistoryResponseRootDO",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SegmentCountHistoryDataDO"
      }
    },
    "errors": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ErrorDetailDO"
      }
    }
  },
  "$defs": {
    "ErrorDetailDO": {
      "title": "ErrorDetailDO",
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "source": {
          "$ref": "#/$defs/ErrorSourceDO"
        },
        "status": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      }
    },
    "ErrorSourceDO": {
      "title": "ErrorSourceDO",
      "type": "object",
      "properties": {
        "pointer": {
          "type": "string"
        }
      }
    },
    "SegmentCountHistoryAttributeDO": {
      "title": "SegmentCountHistoryAttributeDO",
      "required": [
        "timestamp",
        "segment_id",
        "segment_hash",
        "run_id",
        "result_count"
      ],
      "type": "object",
      "properties": {
        "timestamp": {
          "type": "string",
          "description": "ISO 8601 datetime representing when the when the result count wos recorded",
          "format": "date-time"
        },
        "segment_id": {
          "type": "string"
        },
        "segment_hash": {
          "type": "string",
          "description": "A hash of the segment's logic. A changes in the hash over time indicate when the segment was modified",
          "format": "string"
        },
        "run_id": {
          "type": "string",
          "description": "A unique value that identifies a segment's evaluation request"
        },
        "result_count": {
          "type": "number",
          "description": "The number of matches found for this segment's evaluation request"
        },
        "active_result_count": {
          "type": "number",
          "description": "The number of matches found for this segment's evaluation request AND are subscribed to at least one list"
        },
        "count_updating_with_runid": {
          "type": "string",
          "description": "if the current count is being updated, this is the runid that update is waiting on"
        }
      },
      "description": "Object that summarises the results of a segment's evaluation request"
    },
    "SegmentCountHistoryDataDO": {
      "title": "SegmentCountHistoryDataDO",
      "type": "object",
      "properties": {
        "attributes": {
          "$ref": "#/$defs/SegmentCountHistoryAttributeDO"
        },
        "id": {
          "type": "string",
          "description": "Epoch timestamp the count was recorded at"
        },
        "type": {
          "type": "string",
          "enum": [
            "SegmentCountHistory"
          ]
        }
      }
    }
  }
}

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/activecampaign-segment-count-history-response-root-do"
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.