addedOutput schema / properties
Added value: +{
+ "account_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The account_id the caller passed (null = all accounts)."
+ },
+ "platform": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "platforms": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "reason": {
+ "anyOf": [
+ {
+ "const": "account_not_found",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Present only when the requested account_id could not be resolved."
+ },
+ "summary": {
+ "additionalProperties": {
+ "additionalProperties": {
+ "description": "Window summary for one metric (see `get_growth_summary`).",
+ "properties": {
+ "accelerating": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "True when the recent half moved more than the prior half."
+ },
+ "change": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ }
+ ]
+ },
+ "current": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ }
+ ]
+ },
+ "pct_change": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Percent change start→current; null when start is 0."
+ },
+ "prior_change": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Change over the prior half of the window."
+ },
+ "recent_change": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Change over the recent half of the window."
+ },
+ "start": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "number"
+ }
+ ]
+ }
+ },
+ "required": [
+ "start",
+ "current",
+ "change",
+ "pct_change",
+ "recent_change",
+ "prior_change",
+ "accelerating"
+ ],
+ "type": "object"
+ },
+ "type": "object"
+ },
+ "description": "Per-platform, per-metric window summaries.",
+ "type": "object"
+ },
+ "window_days": {
+ "type": "integer"
+ }
+}