addedInput schema / properties / account
Added value: +{
+ "additionalProperties": false,
+ "description": "One connected account to read. Omit it for every connected analytics account; each comes back on its own, never combined.",
+ "properties": {
+ "accountId": {
+ "description": "The account's id, as a result's account.accountId names it.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "platform": {
+ "description": "The account's platform, as a result's account.platform names it.",
+ "enum": [
+ "instagram",
+ "facebook",
+ "tiktok",
+ "meta_ads",
+ "linkedin",
+ "linkedin_ads",
+ "tiktok_ads",
+ "google_ads",
+ "snapchat_ads",
+ "shopify"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "platform",
+ "accountId"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / accounts
Added value: +{
+ "description": "The newest analysis of each connected analytics account.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "additionalProperties": false,
+ "description": "The connected account every number beside it belongs to.",
+ "properties": {
+ "accountId": {
+ "type": "string"
+ },
+ "accountName": {
+ "type": "string"
+ },
+ "platform": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "platform",
+ "accountId",
+ "accountName"
+ ],
+ "type": "object"
+ },
+ "analysisType": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "hasAnalysis": {
+ "type": "boolean"
+ },
+ "headline": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "insights": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "evidence": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "metric": {
+ "type": "string"
+ },
+ "note": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "type": "string"
+ },
+ "value": {
+ "type": "number"
+ },
+ "windowDays": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "source",
+ "metric",
+ "value",
+ "windowDays",
+ "note"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "enum": [
+ "metric_fact",
+ "actionable"
+ ],
+ "type": "string"
+ },
+ "narrative": {
+ "type": "string"
+ },
+ "recommendation": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "title",
+ "narrative",
+ "evidence",
+ "recommendation"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "omittedInsights": {
+ "type": "number"
+ },
+ "summary": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "account",
+ "hasAnalysis"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
removedOutput schema / properties / analysisType
Removed value: -{
- "type": "string"
-}
removedOutput schema / properties / createdAt
Removed value: -{
- "type": "string"
-}
removedOutput schema / properties / hasAnalysis
Removed value: -{
- "type": "boolean"
-}
removedOutput schema / properties / headline
Removed value: -{
- "type": [
- "string",
- "null"
- ]
-}
removedOutput schema / properties / insights
Removed value: -{
- "items": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "metric": {
- "type": "string"
- },
- "note": {
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "type": "string"
- },
- "value": {
- "type": "number"
- },
- "windowDays": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "source",
- "metric",
- "value",
- "windowDays",
- "note"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "kind": {
- "enum": [
- "metric_fact",
- "actionable"
- ],
- "type": "string"
- },
- "narrative": {
- "type": "string"
- },
- "recommendation": {
- "type": [
- "string",
- "null"
- ]
- },
- "title": {
- "type": "string"
- }
- },
- "required": [
- "kind",
- "title",
- "narrative",
- "evidence",
- "recommendation"
- ],
- "type": "object"
- },
- "type": "array"
-}
removedOutput schema / properties / omittedInsights
Removed value: -{
- "type": "number"
-}
removedOutput schema / properties / summary
Removed value: -{
- "type": [
- "string",
- "null"
- ]
-}
changedOutput schema / required
Previous value: -[
- "hasAnalysis"
-]New value: +[
+ "accounts"
+]