Skip to main content
POST
/
get-customer-growth-stats
cURL
curl --request POST \
  --url https://api.mindshare.so/customer/v1/get-customer-growth-stats \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "customerID": 123,
  "aiPlatform": "<string>"
}
'
{
  "data": {
    "perScan": [
      {
        "queryGroupId": 123,
        "queryGroupTitle": "<string>",
        "data": [
          {
            "date": "2023-12-25",
            "aiPlatform": "<string>",
            "score": 123,
            "executionId": 123
          }
        ]
      }
    ],
    "overview": [
      {
        "queryGroupId": 123,
        "queryGroupTitle": "<string>",
        "data": [
          {
            "startDate": "2023-12-25",
            "endDate": "2023-12-25",
            "aiPlatform": "<string>",
            "score": 123
          }
        ]
      }
    ]
  },
  "version": "<string>",
  "env": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mindshare.so/llms.txt

Use this file to discover all available pages before exploring further.

Both views (Per Scan and Overview) include data from all supported AI platforms by default, interleaved inside each query group’s data array. Every data point is tagged with an aiPlatform field so you can distinguish points per platform.Overview rolling averages are computed per platform, which means the same startDate/endDate window can appear multiple times for the same query group — one entry per platform.Use the optional aiPlatform request parameter to scope the response to a single platform. Current values:
  • chatgpt — ChatGPT
  • aioverview — Google AI Overview
Additional platforms may be added in the future.

Authorizations

X-API-Key
string
header
required

Body

application/json

Customer ID

customerID
number
required

The ID of the customer

aiPlatform
string

Optional. Filter stats to a single AI platform. Current values: 'chatgpt' (ChatGPT), 'aioverview' (Google AI Overview). Additional platforms may be added in the future. If omitted, stats from all platforms are returned, interleaved in each query group's data array.

Response

200 - application/json

Growth statistics for the customer

data
object
required
version
string
required

API version

env
string
required

Environment name