Get account insights
get_account_insightsRead an account's data: followers, views, engagement, etc., for the last 7 or 28 days (28 days requires Pro Plus or above). Metrics and their meanings follow each platform's original definitions; metrics the platform does not provide do not appear, which does not mean 0. YouTube and X are not yet open and return API_PLATFORM_DATA_NOT_OPEN. (Required scope: cd.analytics.read)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountId": "<accountId>"
},
"name": "get_account_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| accountId | Yes | ||
| workspaceId | No | Optional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to. |