Google Analytics · Schema
Segment
JSON template for an Analytics segment.
AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine-LearningAttribution
Properties
| Name | Type | Description |
|---|---|---|
| created | string | Time the segment was created. |
| definition | string | Segment definition. |
| id | string | Segment ID. |
| kind | string | Resource type for Analytics segment. |
| name | string | Segment name. |
| segmentId | string | Segment ID. Can be used with the 'segment' parameter in Core Reporting API. |
| selfLink | string | Link for this segment. |
| type | string | Type for a segment. Possible values are "BUILT_IN" or "CUSTOM". |
| updated | string | Time the segment was last modified. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Segment",
"title": "Segment",
"description": "JSON template for an Analytics segment.",
"properties": {
"created": {
"description": "Time the segment was created.",
"format": "date-time",
"type": "string"
},
"definition": {
"description": "Segment definition.",
"type": "string"
},
"id": {
"description": "Segment ID.",
"type": "string"
},
"kind": {
"default": "analytics#segment",
"description": "Resource type for Analytics segment.",
"type": "string"
},
"name": {
"description": "Segment name.",
"type": "string"
},
"segmentId": {
"description": "Segment ID. Can be used with the 'segment' parameter in Core Reporting API.",
"type": "string"
},
"selfLink": {
"description": "Link for this segment.",
"type": "string"
},
"type": {
"description": "Type for a segment. Possible values are \"BUILT_IN\" or \"CUSTOM\".",
"type": "string"
},
"updated": {
"description": "Time the segment was last modified.",
"format": "date-time",
"type": "string"
}
},
"type": "object"
}
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/google-analytics-segment"
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.