mentio-dev · Schema

AnalyticsSeries

CompanySocial ListeningAI IntegrationSDKReal-Time Monitoring

Properties

Name Type Description
window object The window the report covers.
data array One item per series, most matched first; a single "total" item when not split.
previous arraynull The same items over the period right before the window, in the same order, points aligned by index with `data` (the last bucket may be missing when weeks split differently); null unless compare=true.
View JSON Schema on GitHub

JSON Schema

mentio-dev-analytics-series-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mentio-dev/json-schema/mentio-dev-analytics-series-schema.json",
  "title": "AnalyticsSeries",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mentio-dev-analytics-api-openapi.yml#/components/schemas/AnalyticsSeries",
  "type": "object",
  "properties": {
    "window": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "First day, inclusive."
        },
        "to": {
          "type": "string",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Last day, inclusive."
        },
        "days": {
          "type": "integer",
          "minimum": 0,
          "description": "Length of the window in days."
        },
        "timezone": {
          "type": "string",
          "description": "IANA zone the days were cut in."
        },
        "bucket": {
          "type": "string",
          "enum": [
            "hour",
            "day",
            "week",
            "month"
          ],
          "description": "Point granularity used: hour, day, week (Monday to Sunday) or month."
        }
      },
      "required": [
        "from",
        "to",
        "days",
        "timezone",
        "bucket"
      ],
      "description": "The window the report covers."
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Platform name, keyword id, sentiment (positive, neutral, negative, unclassified), \"total\" for the unsplit series, or \"other\" for the keys beyond the top 20."
          },
          "label": {
            "type": "string",
            "description": "Readable name: the platform, the keyword term, the sentiment, \"Total\" or \"Other\"."
          },
          "keyword": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "Keyword id (kw_...)."
              },
              "term": {
                "type": "string",
                "description": "The tracked term."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "brand",
                  "competitor",
                  "topic"
                ],
                "description": "brand, competitor or topic."
              },
              "group": {
                "allOf": [
                  {
                    "$ref": "#/$defs/GroupRef"
                  },
                  {
                    "description": "The group the keyword is in."
                  }
                ]
              }
            },
            "required": [
              "id",
              "term",
              "kind",
              "group"
            ],
            "description": "Set when split by keyword; null otherwise."
          },
          "points": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "description": "The bucket start in `timezone`: the day (YYYY-MM-DD), the Monday of the week, the first of the month, or the hour as YYYY-MM-DDTHH:00."
                },
                "matched": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Every match published in the bucket."
                },
                "relevant": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Of those, scored at or above the relevance threshold."
                },
                "positive": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Classified positive."
                },
                "neutral": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Classified neutral."
                },
                "negative": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Classified negative."
                },
                "unclassified": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Not scored: still queued, or the classifier failed on it."
                }
              },
              "required": [
                "date",
                "matched",
                "relevant",
                "positive",
                "neutral",
                "negative",
                "unclassified"
              ]
            },
            "description": "One point per bucket across the window, oldest first, zero-filled."
          }
        },
        "required": [
          "key",
          "label",
          "keyword",
          "points"
        ]
      },
      "description": "One item per series, most matched first; a single \"total\" item when not split."
    },
    "previous": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "description": "Platform name, keyword id, sentiment (positive, neutral, negative, unclassified), \"total\" for the unsplit series, or \"other\" for the keys beyond the top 20."
          },
          "label": {
            "type": "string",
            "description": "Readable name: the platform, the keyword term, the sentiment, \"Total\" or \"Other\"."
          },
          "keyword": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "Keyword id (kw_...)."
              },
              "term": {
                "type": "string",
                "description": "The tracked term."
              },
              "kind": {
                "type": "string",
                "enum": [
                  "brand",
                  "competitor",
                  "topic"
                ],
                "description": "brand, competitor or topic."
              },
              "group": {
                "allOf": [
                  {
                    "$ref": "#/$defs/GroupRef"
                  },
                  {
                    "description": "The group the keyword is in."
                  }
                ]
              }
            },
            "required": [
              "id",
              "term",
              "kind",
              "group"
            ],
            "description": "Set when split by keyword; null otherwise."
          },
          "points": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "date": {
                  "type": "string",
                  "description": "The bucket start in `timezone`: the day (YYYY-MM-DD), the Monday of the week, the first of the month, or the hour as YYYY-MM-DDTHH:00."
                },
                "matched": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Every match published in the bucket."
                },
                "relevant": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Of those, scored at or above the relevance threshold."
                },
                "positive": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Classified positive."
                },
                "neutral": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Classified neutral."
                },
                "negative": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Classified negative."
                },
                "unclassified": {
                  "type": "integer",
                  "minimum": 0,
                  "description": "Not scored: still queued, or the classifier failed on it."
                }
              },
              "required": [
                "date",
                "matched",
                "relevant",
                "positive",
                "neutral",
                "negative",
                "unclassified"
              ]
            },
            "description": "One point per bucket across the window, oldest first, zero-filled."
          }
        },
        "required": [
          "key",
          "label",
          "keyword",
          "points"
        ]
      },
      "description": "The same items over the period right before the window, in the same order, points aligned by index with `data` (the last bucket may be missing when weeks split differently); null unless compare=true."
    }
  },
  "required": [
    "window",
    "data",
    "previous"
  ],
  "$defs": {
    "GroupRef": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Group id (grp_...)."
        },
        "name": {
          "type": "string",
          "description": "The group's name."
        },
        "externalId": {
          "type": [
            "string",
            "null"
          ],
          "description": "Your own id for the group, or null."
        },
        "isDefault": {
          "type": "boolean",
          "description": "The workspace's default group, where a keyword lands when no group is named."
        }
      },
      "required": [
        "id",
        "name",
        "externalId",
        "isDefault"
      ],
      "description": "The group the keyword belongs to."
    }
  }
}

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/mentio-dev-analytics-series"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.

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