Klaviyo · Schema
SegmentSeriesRequestDTOResourceObject
MarketingEmailSMSCustomer DataE-CommerceAutomation
Properties
| Name | Type | Description |
|---|---|---|
| type | object | |
| attributes | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/SegmentSeriesRequestDTOResourceObject",
"title": "SegmentSeriesRequestDTOResourceObject",
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/SegmentSeriesReportEnum"
},
"attributes": {
"type": "object",
"properties": {
"statistics": {
"description": "List of statistics to query for.",
"type": "array",
"items": {
"type": "string",
"enum": [
"members_added",
"members_removed",
"net_members_changed",
"total_members"
],
"description": "Defined segment reporting metric"
},
"example": [
"total_members",
"net_members_changed"
]
},
"timeframe": {
"description": "The time frame to pull data from (Max length: 1 year). Data is unavailable before June 1st, 2023. Please use a time frame after this date. See [available time frames](https://developers.klaviyo.com/en/reference/reporting_api_overview#available-time-frames).",
"oneOf": [
{
"$ref": "#/components/schemas/Timeframe"
},
{
"$ref": "#/components/schemas/CustomTimeframe"
}
]
},
"interval": {
"description": "The interval used to aggregate data within the series request.\nIf hourly is used, the timeframe cannot be longer than 7 days.\nIf daily is used, the timeframe cannot be longer than 60 days.\nIf monthly is used, the timeframe cannot be longer than 52 weeks.",
"type": "string",
"example": "weekly",
"enum": [
"daily",
"hourly",
"monthly",
"weekly"
]
},
"filter": {
"description": "API filter string used to filter the query.\nAllowed filters are segment_id.\nAllowed operators are equals, any.\nOnly one filter can be used per attribute.\nMax of 100 messages per ANY filter.",
"type": "string",
"example": "any(segment_id,[\"xyz123\",\"ghi456\"])",
"nullable": true
}
},
"required": [
"statistics",
"timeframe",
"interval"
]
}
},
"required": [
"type",
"attributes"
]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/klaviyo-segmentseriesrequestdtoresourceobject"
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.