read_cross_workspace_analytics
Aggregate metrics, inbox accounts, and unibox filter dimensions across authorized workspaces.
# MCP tool reference
1 callable tools.
Use tools/call at https://mcp.schedulerzero.com/mcp with the exact tool name and arguments below. The /tools/ paths in this view are documentation identifiers, not HTTP endpoints. Request execution is disabled for this reference.
Inputs are shown for personal API keys (bound) and for OAuth/delegated agents. Output schemas describe MCP structuredContent: native objects pass through; arrays, scalars and null use a data wrapper. Text content retains the native JSON result.
[Connect a client](/mcp/connect) · [Authentication and authorization](/authentication) · [Generated auth guide](/auth.md) · [Download tool catalog](/mcp-catalog.json) · [Agent documentation](/llms.txt)
## read_cross_workspace_analytics
Aggregate metrics, inbox accounts, and unibox filter dimensions across authorized workspaces.
Use to report across every workspace the caller can read (ADR-051 at-origin filtering).
Every row is re-authorized per workspace; it never exposes an unauthorized workspace.
Scopes: workspace:read, analytics:read, unibox:read, inbox:read, campaign:read, replyLabel:read
Risk: read; confirmation: none; idempotency: none.
### Input schema (personal API key)
```json
{
"type": "object",
"anyOf": [
{
"type": "object",
"properties": {
"view": {
"anyOf": [
{
"type": "string",
"enum": [
"overview"
]
}
]
},
"campaignFilter": {
"anyOf": [
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode"
],
"patternProperties": {
"^(?!(?:mode|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"terms"
],
"patternProperties": {
"^(?!(?:mode|terms|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"terms",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"rules"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"rules"
],
"patternProperties": {
"^(?!(?:mode|rules|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"rules",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
}
]
},
"workspaceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"workspaceActivity": {
"type": "string",
"enum": [
"all",
"active",
"inactive"
]
},
"campaignStatuses": {
"type": "array",
"items": {
"type": "string",
"enum": [
"draft",
"active",
"paused",
"archived",
"completed"
]
},
"maxItems": 5
},
"dateRange": {
"type": "string",
"enum": [
"7d",
"30d",
"90d",
"all"
]
},
"search": {
"type": "string",
"maxLength": 200
}
},
"required": [
"view"
],
"patternProperties": {
"^(?!(?:view|campaignFilter|workspaceIds|workspaceActivity|campaignStatuses|dateRange|search)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"view",
"campaignFilter",
"workspaceIds",
"workspaceActivity",
"campaignStatuses",
"dateRange",
"search"
]
}
},
{
"type": "object",
"properties": {
"view": {
"anyOf": [
{
"type": "string",
"enum": [
"accounts"
]
}
]
},
"workspaceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"offset": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"search": {
"type": "string",
"maxLength": 200
},
"provider": {
"type": "string",
"enum": [
"all",
"google_workspace",
"microsoft_365",
"other"
]
},
"statuses": {
"type": "array",
"items": {
"type": "string",
"enum": [
"active",
"inactive",
"error",
"alert"
]
},
"maxItems": 4
},
"warmup": {
"type": "string",
"enum": [
"all",
"enabled",
"disabled"
]
}
},
"required": [
"view"
],
"patternProperties": {
"^(?!(?:view|workspaceIds|offset|limit|search|provider|statuses|warmup)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"view",
"workspaceIds",
"offset",
"limit",
"search",
"provider",
"statuses",
"warmup"
]
}
},
{
"type": "object",
"properties": {
"view": {
"anyOf": [
{
"type": "string",
"enum": [
"uniboxFilters"
]
}
]
},
"workspaceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
}
},
"required": [
"view"
],
"patternProperties": {
"^(?!(?:view|workspaceIds)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"view",
"workspaceIds"
]
}
}
],
"$defs": {
"ReadCrossWorkspaceAnalyticsInput": {
"anyOf": [
{
"type": "object",
"properties": {
"view": {
"anyOf": [
{
"type": "string",
"enum": [
"overview"
]
}
]
},
"campaignFilter": {
"anyOf": [
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode"
],
"patternProperties": {
"^(?!(?:mode|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"terms"
],
"patternProperties": {
"^(?!(?:mode|terms|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"terms",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"rules"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"rules"
],
"patternProperties": {
"^(?!(?:mode|rules|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"rules",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
}
]
},
"workspaceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"workspaceActivity": {
"type": "string",
"enum": [
"all",
"active",
"inactive"
]
},
"campaignStatuses": {
"type": "array",
"items": {
"type": "string",
"enum": [
"draft",
"active",
"paused",
"archived",
"completed"
]
},
"maxItems": 5
},
"dateRange": {
"type": "string",
"enum": [
"7d",
"30d",
"90d",
"all"
]
},
"search": {
"type": "string",
"maxLength": 200
}
},
"required": [
"view"
],
"patternProperties": {
"^(?!(?:view|campaignFilter|workspaceIds|workspaceActivity|campaignStatuses|dateRange|search)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"view",
"campaignFilter",
"workspaceIds",
"workspaceActivity",
"campaignStatuses",
"dateRange",
"search"
]
}
},
{
"type": "object",
"properties": {
"view": {
"anyOf": [
{
"type": "string",
"enum": [
"accounts"
]
}
]
},
"workspaceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"offset": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"search": {
"type": "string",
"maxLength": 200
},
"provider": {
"type": "string",
"enum": [
"all",
"google_workspace",
"microsoft_365",
"other"
]
},
"statuses": {
"type": "array",
"items": {
"type": "string",
"enum": [
"active",
"inactive",
"error",
"alert"
]
},
"maxItems": 4
},
"warmup": {
"type": "string",
"enum": [
"all",
"enabled",
"disabled"
]
}
},
"required": [
"view"
],
"patternProperties": {
"^(?!(?:view|workspaceIds|offset|limit|search|provider|statuses|warmup)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"view",
"workspaceIds",
"offset",
"limit",
"search",
"provider",
"statuses",
"warmup"
]
}
},
{
"type": "object",
"properties": {
"view": {
"anyOf": [
{
"type": "string",
"enum": [
"uniboxFilters"
]
}
]
},
"workspaceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
}
},
"required": [
"view"
],
"patternProperties": {
"^(?!(?:view|workspaceIds)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"view",
"workspaceIds"
]
}
}
]
}
}
}
```
### Input schema (OAuth / delegated agent)
```json
{
"type": "object",
"anyOf": [
{
"type": "object",
"properties": {
"view": {
"anyOf": [
{
"type": "string",
"enum": [
"overview"
]
}
]
},
"campaignFilter": {
"anyOf": [
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode"
],
"patternProperties": {
"^(?!(?:mode|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"terms"
],
"patternProperties": {
"^(?!(?:mode|terms|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"terms",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"rules"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"rules"
],
"patternProperties": {
"^(?!(?:mode|rules|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"rules",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
}
]
},
"workspaceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"workspaceActivity": {
"type": "string",
"enum": [
"all",
"active",
"inactive"
]
},
"campaignStatuses": {
"type": "array",
"items": {
"type": "string",
"enum": [
"draft",
"active",
"paused",
"archived",
"completed"
]
},
"maxItems": 5
},
"dateRange": {
"type": "string",
"enum": [
"7d",
"30d",
"90d",
"all"
]
},
"search": {
"type": "string",
"maxLength": 200
}
},
"required": [
"view"
],
"patternProperties": {
"^(?!(?:view|campaignFilter|workspaceIds|workspaceActivity|campaignStatuses|dateRange|search)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"view",
"campaignFilter",
"workspaceIds",
"workspaceActivity",
"campaignStatuses",
"dateRange",
"search"
]
}
},
{
"type": "object",
"properties": {
"view": {
"anyOf": [
{
"type": "string",
"enum": [
"accounts"
]
}
]
},
"workspaceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"offset": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"search": {
"type": "string",
"maxLength": 200
},
"provider": {
"type": "string",
"enum": [
"all",
"google_workspace",
"microsoft_365",
"other"
]
},
"statuses": {
"type": "array",
"items": {
"type": "string",
"enum": [
"active",
"inactive",
"error",
"alert"
]
},
"maxItems": 4
},
"warmup": {
"type": "string",
"enum": [
"all",
"enabled",
"disabled"
]
}
},
"required": [
"view"
],
"patternProperties": {
"^(?!(?:view|workspaceIds|offset|limit|search|provider|statuses|warmup)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"view",
"workspaceIds",
"offset",
"limit",
"search",
"provider",
"statuses",
"warmup"
]
}
},
{
"type": "object",
"properties": {
"view": {
"anyOf": [
{
"type": "string",
"enum": [
"uniboxFilters"
]
}
]
},
"workspaceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
}
},
"required": [
"view"
],
"patternProperties": {
"^(?!(?:view|workspaceIds)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"view",
"workspaceIds"
]
}
}
],
"$defs": {
"ReadCrossWorkspaceAnalyticsInput": {
"anyOf": [
{
"type": "object",
"properties": {
"view": {
"anyOf": [
{
"type": "string",
"enum": [
"overview"
]
}
]
},
"campaignFilter": {
"anyOf": [
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode"
],
"patternProperties": {
"^(?!(?:mode|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"ids"
],
"patternProperties": {
"^(?!(?:mode|ids|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"ids",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"terms"
],
"patternProperties": {
"^(?!(?:mode|terms|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"terms",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
},
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"rules"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"group"
]
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"rules": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"campaigns"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"folders"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tags"
]
},
"ids": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"ids"
],
"patternProperties": {
"^(?!(?:field|ids|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"ids",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"names"
]
},
"terms": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"terms"
],
"patternProperties": {
"^(?!(?:field|terms|match|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"terms",
"match",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"tagged"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
},
{
"type": "object",
"properties": {
"field": {
"type": "string",
"enum": [
"filed"
]
},
"value": {
"type": "boolean"
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"value"
],
"patternProperties": {
"^(?!(?:field|value|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"value",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"exclude": {
"type": "boolean"
}
},
"required": [
"field",
"rules"
],
"patternProperties": {
"^(?!(?:field|match|rules|exclude)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"field",
"match",
"rules",
"exclude"
]
}
}
]
},
"maxItems": 20,
"minItems": 1
},
"match": {
"type": "string",
"enum": [
"any",
"all"
]
},
"excludeCampaignIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeTagIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeFolderIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"excludeNameContains": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"maxItems": 20
},
"taggedOnly": {
"type": "boolean"
},
"filedOnly": {
"type": "boolean"
}
},
"required": [
"mode",
"rules"
],
"patternProperties": {
"^(?!(?:mode|rules|match|excludeCampaignIds|excludeTagIds|excludeFolderIds|excludeNameContains|taggedOnly|filedOnly)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"mode",
"rules",
"match",
"excludeCampaignIds",
"excludeTagIds",
"excludeFolderIds",
"excludeNameContains",
"taggedOnly",
"filedOnly"
]
}
}
]
},
"workspaceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"workspaceActivity": {
"type": "string",
"enum": [
"all",
"active",
"inactive"
]
},
"campaignStatuses": {
"type": "array",
"items": {
"type": "string",
"enum": [
"draft",
"active",
"paused",
"archived",
"completed"
]
},
"maxItems": 5
},
"dateRange": {
"type": "string",
"enum": [
"7d",
"30d",
"90d",
"all"
]
},
"search": {
"type": "string",
"maxLength": 200
}
},
"required": [
"view"
],
"patternProperties": {
"^(?!(?:view|campaignFilter|workspaceIds|workspaceActivity|campaignStatuses|dateRange|search)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"view",
"campaignFilter",
"workspaceIds",
"workspaceActivity",
"campaignStatuses",
"dateRange",
"search"
]
}
},
{
"type": "object",
"properties": {
"view": {
"anyOf": [
{
"type": "string",
"enum": [
"accounts"
]
}
]
},
"workspaceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
},
"offset": {
"type": "integer",
"minimum": 0
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 200
},
"search": {
"type": "string",
"maxLength": 200
},
"provider": {
"type": "string",
"enum": [
"all",
"google_workspace",
"microsoft_365",
"other"
]
},
"statuses": {
"type": "array",
"items": {
"type": "string",
"enum": [
"active",
"inactive",
"error",
"alert"
]
},
"maxItems": 4
},
"warmup": {
"type": "string",
"enum": [
"all",
"enabled",
"disabled"
]
}
},
"required": [
"view"
],
"patternProperties": {
"^(?!(?:view|workspaceIds|offset|limit|search|provider|statuses|warmup)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"view",
"workspaceIds",
"offset",
"limit",
"search",
"provider",
"statuses",
"warmup"
]
}
},
{
"type": "object",
"properties": {
"view": {
"anyOf": [
{
"type": "string",
"enum": [
"uniboxFilters"
]
}
]
},
"workspaceIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"maxItems": 100
}
},
"required": [
"view"
],
"patternProperties": {
"^(?!(?:view|workspaceIds)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"view",
"workspaceIds"
]
}
}
]
}
}
}
```
### Output schema (structuredContent)
```json
{
"$defs": {
"ShortText": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"NonEmptyString": {
"type": "string",
"minLength": 1,
"maxLength": 4096
},
"HttpUrl": {
"type": "string",
"minLength": 1,
"maxLength": 2048,
"pattern": "^https?:\\/\\/[^\\s/$.?#][^\\s]*$"
},
"UtcDateTimeEncoded": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$"
},
"WorkspaceRoleSlug": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"OpaqueId": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"EmailAddress": {
"type": "string",
"minLength": 3,
"maxLength": 320,
"pattern": "^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$"
},
"LeadStoredText": {
"type": "string",
"maxLength": 65536
},
"ReadCrossWorkspaceAnalyticsOutput": {
"anyOf": [
{
"type": "object",
"properties": {
"availableWorkspaces": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"name": {
"$ref": "#/$defs/ShortText"
},
"slug": {
"$ref": "#/$defs/NonEmptyString"
},
"logo": {
"anyOf": [
{
"$ref": "#/$defs/HttpUrl"
},
{
"type": "null"
}
]
},
"createdAt": {
"$ref": "#/$defs/UtcDateTimeEncoded"
},
"role": {
"$ref": "#/$defs/WorkspaceRoleSlug"
},
"accessible": {
"type": "boolean"
}
},
"required": [
"id",
"name",
"slug",
"logo",
"createdAt",
"role",
"accessible"
],
"patternProperties": {
"^(?!(?:id|name|slug|logo|createdAt|role|accessible)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"id",
"name",
"slug",
"logo",
"createdAt",
"role",
"accessible"
]
}
}
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"workspaceName": {
"$ref": "#/$defs/ShortText"
},
"workspaceSlug": {
"anyOf": [
{
"$ref": "#/$defs/NonEmptyString"
},
{
"type": "null"
}
]
},
"workspaceLogo": {
"anyOf": [
{
"$ref": "#/$defs/HttpUrl"
},
{
"type": "null"
}
]
},
"totalLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalCampaigns": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"activeCampaigns": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pausedCampaigns": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completedCampaigns": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"contactedLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completedLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"emailsSent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"repliedLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"required": [
"workspaceId",
"workspaceName",
"workspaceSlug",
"workspaceLogo",
"totalLeads",
"totalCampaigns",
"activeCampaigns",
"pausedCampaigns",
"completedCampaigns",
"contactedLeads",
"completedLeads",
"emailsSent",
"repliedLeads",
"replyRate"
],
"patternProperties": {
"^(?!(?:workspaceId|workspaceName|workspaceSlug|workspaceLogo|totalLeads|totalCampaigns|activeCampaigns|pausedCampaigns|completedCampaigns|contactedLeads|completedLeads|emailsSent|repliedLeads|replyRate)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"workspaceId",
"workspaceName",
"workspaceSlug",
"workspaceLogo",
"totalLeads",
"totalCampaigns",
"activeCampaigns",
"pausedCampaigns",
"completedCampaigns",
"contactedLeads",
"completedLeads",
"emailsSent",
"repliedLeads",
"replyRate"
]
}
}
},
"summary": {
"type": "object",
"properties": {
"totalWorkspaces": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalCampaigns": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"activeCampaigns": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"pausedCampaigns": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completedCampaigns": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"contactedLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"completedLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"emailsSent": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"repliedLeads": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"replyRate": {
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"required": [
"totalWorkspaces",
"totalLeads",
"totalCampaigns",
"activeCampaigns",
"pausedCampaigns",
"completedCampaigns",
"contactedLeads",
"completedLeads",
"emailsSent",
"repliedLeads",
"replyRate"
],
"patternProperties": {
"^(?!(?:totalWorkspaces|totalLeads|totalCampaigns|activeCampaigns|pausedCampaigns|completedCampaigns|contactedLeads|completedLeads|emailsSent|repliedLeads|replyRate)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"totalWorkspaces",
"totalLeads",
"totalCampaigns",
"activeCampaigns",
"pausedCampaigns",
"completedCampaigns",
"contactedLeads",
"completedLeads",
"emailsSent",
"repliedLeads",
"replyRate"
]
}
}
},
"required": [
"availableWorkspaces",
"rows",
"summary"
],
"patternProperties": {
"^(?!(?:availableWorkspaces|rows|summary)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"availableWorkspaces",
"rows",
"summary"
]
}
},
{
"type": "object",
"properties": {
"availableWorkspaces": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"name": {
"$ref": "#/$defs/ShortText"
},
"slug": {
"$ref": "#/$defs/NonEmptyString"
},
"logo": {
"anyOf": [
{
"$ref": "#/$defs/HttpUrl"
},
{
"type": "null"
}
]
},
"createdAt": {
"$ref": "#/$defs/UtcDateTimeEncoded"
},
"role": {
"$ref": "#/$defs/WorkspaceRoleSlug"
},
"accessible": {
"type": "boolean"
}
},
"required": [
"id",
"name",
"slug",
"logo",
"createdAt",
"role",
"accessible"
],
"patternProperties": {
"^(?!(?:id|name|slug|logo|createdAt|role|accessible)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"id",
"name",
"slug",
"logo",
"createdAt",
"role",
"accessible"
]
}
}
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/OpaqueId"
},
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"workspaceName": {
"$ref": "#/$defs/ShortText"
},
"workspaceSlug": {
"anyOf": [
{
"$ref": "#/$defs/ShortText"
},
{
"type": "null"
}
]
},
"emailAddress": {
"$ref": "#/$defs/EmailAddress"
},
"provider": {
"type": "string",
"enum": [
"google_workspace",
"microsoft_365",
"other"
]
},
"status": {
"type": "string",
"enum": [
"active",
"inactive",
"error",
"alert"
]
},
"statusDetail": {
"anyOf": [
{
"$ref": "#/$defs/NonEmptyString"
},
{
"type": "null"
}
]
},
"senderFirstName": {
"anyOf": [
{
"$ref": "#/$defs/LeadStoredText"
},
{
"type": "null"
}
]
},
"senderLastName": {
"anyOf": [
{
"$ref": "#/$defs/LeadStoredText"
},
{
"type": "null"
}
]
},
"campaignName": {
"anyOf": [
{
"$ref": "#/$defs/ShortText"
},
{
"type": "null"
}
]
},
"dailySendingLimit": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"warmupEnabled": {
"type": "boolean"
},
"warmupReputationScore": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"warmupCurrentDailyVolume": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"dnsRecords": {
"anyOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"sentCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"errorCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"workspaceId",
"workspaceName",
"workspaceSlug",
"emailAddress",
"provider",
"status",
"statusDetail",
"senderFirstName",
"senderLastName",
"campaignName",
"dailySendingLimit",
"warmupEnabled",
"warmupReputationScore",
"warmupCurrentDailyVolume",
"dnsRecords",
"sentCount",
"errorCount"
],
"patternProperties": {
"^(?!(?:id|workspaceId|workspaceName|workspaceSlug|emailAddress|provider|status|statusDetail|senderFirstName|senderLastName|campaignName|dailySendingLimit|warmupEnabled|warmupReputationScore|warmupCurrentDailyVolume|dnsRecords|sentCount|errorCount)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"id",
"workspaceId",
"workspaceName",
"workspaceSlug",
"emailAddress",
"provider",
"status",
"statusDetail",
"senderFirstName",
"senderLastName",
"campaignName",
"dailySendingLimit",
"warmupEnabled",
"warmupReputationScore",
"warmupCurrentDailyVolume",
"dnsRecords",
"sentCount",
"errorCount"
]
}
}
},
"stats": {
"type": "object",
"properties": {
"totalAccounts": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"totalDomains": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"warmupCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"errorCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"alertCount": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"totalAccounts",
"totalDomains",
"warmupCount",
"errorCount",
"alertCount"
],
"patternProperties": {
"^(?!(?:totalAccounts|totalDomains|warmupCount|errorCount|alertCount)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"totalAccounts",
"totalDomains",
"warmupCount",
"errorCount",
"alertCount"
]
}
},
"pagination": {
"type": "object",
"properties": {
"offset": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"offset",
"limit",
"total"
],
"patternProperties": {
"^(?!(?:offset|limit|total)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"offset",
"limit",
"total"
]
}
}
},
"required": [
"availableWorkspaces",
"items",
"stats",
"pagination"
],
"patternProperties": {
"^(?!(?:availableWorkspaces|items|stats|pagination)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"availableWorkspaces",
"items",
"stats",
"pagination"
]
}
},
{
"type": "object",
"properties": {
"availableWorkspaces": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"name": {
"$ref": "#/$defs/ShortText"
},
"slug": {
"$ref": "#/$defs/NonEmptyString"
},
"logo": {
"anyOf": [
{
"$ref": "#/$defs/HttpUrl"
},
{
"type": "null"
}
]
},
"createdAt": {
"$ref": "#/$defs/UtcDateTimeEncoded"
},
"role": {
"$ref": "#/$defs/WorkspaceRoleSlug"
},
"accessible": {
"type": "boolean"
}
},
"required": [
"id",
"name",
"slug",
"logo",
"createdAt",
"role",
"accessible"
],
"patternProperties": {
"^(?!(?:id|name|slug|logo|createdAt|role|accessible)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"id",
"name",
"slug",
"logo",
"createdAt",
"role",
"accessible"
]
}
}
},
"inboxes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/OpaqueId"
},
"emailAddress": {
"$ref": "#/$defs/EmailAddress"
},
"provider": {
"type": "string",
"enum": [
"google_workspace",
"microsoft_365",
"other"
]
},
"status": {
"type": "string",
"enum": [
"active",
"inactive",
"error",
"alert"
]
},
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"workspaceName": {
"$ref": "#/$defs/ShortText"
},
"warmupEnabled": {
"type": "boolean"
},
"warmupScore": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"emailAddress",
"provider",
"status",
"workspaceId",
"workspaceName",
"warmupEnabled",
"warmupScore"
],
"patternProperties": {
"^(?!(?:id|emailAddress|provider|status|workspaceId|workspaceName|warmupEnabled|warmupScore)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"id",
"emailAddress",
"provider",
"status",
"workspaceId",
"workspaceName",
"warmupEnabled",
"warmupScore"
]
}
}
},
"campaigns": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/OpaqueId"
},
"name": {
"$ref": "#/$defs/ShortText"
},
"status": {
"type": "string",
"enum": [
"draft",
"active",
"paused",
"archived",
"completed"
]
},
"workspaceId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"workspaceName": {
"$ref": "#/$defs/ShortText"
}
},
"required": [
"id",
"name",
"status",
"workspaceId",
"workspaceName"
],
"patternProperties": {
"^(?!(?:id|name|status|workspaceId|workspaceName)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"id",
"name",
"status",
"workspaceId",
"workspaceName"
]
}
}
},
"labels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"$ref": "#/$defs/OpaqueId"
},
"name": {
"$ref": "#/$defs/ShortText"
},
"hexColor": {
"$ref": "#/$defs/ShortText"
},
"sentiment": {
"anyOf": [
{
"type": "string",
"enum": [
"positive",
"negative",
"neutral"
]
},
{
"type": "null"
}
]
},
"type": {
"type": "string",
"enum": [
"custom",
"default"
]
},
"workspaceId": {
"anyOf": [
{
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
{
"type": "null"
}
]
},
"workspaceName": {
"anyOf": [
{
"$ref": "#/$defs/ShortText"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"hexColor",
"sentiment",
"type",
"workspaceId",
"workspaceName"
],
"patternProperties": {
"^(?!(?:id|name|hexColor|sentiment|type|workspaceId|workspaceName)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"id",
"name",
"hexColor",
"sentiment",
"type",
"workspaceId",
"workspaceName"
]
}
}
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"userId": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
},
"name": {
"anyOf": [
{
"$ref": "#/$defs/LeadStoredText"
},
{
"type": "null"
}
]
},
"email": {
"$ref": "#/$defs/EmailAddress"
},
"image": {
"anyOf": [
{
"$ref": "#/$defs/HttpUrl"
},
{
"type": "null"
}
]
},
"organizationIds": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid"
}
}
},
"required": [
"userId",
"name",
"email",
"image",
"organizationIds"
],
"patternProperties": {
"^(?!(?:userId|name|email|image|organizationIds)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"userId",
"name",
"email",
"image",
"organizationIds"
]
}
}
}
},
"required": [
"availableWorkspaces",
"inboxes",
"campaigns",
"labels",
"members"
],
"patternProperties": {
"^(?!(?:availableWorkspaces|inboxes|campaigns|labels|members)$)[\\s\\S]*$": false
},
"additionalProperties": true,
"propertyNames": {
"type": "string",
"enum": [
"availableWorkspaces",
"inboxes",
"campaigns",
"labels",
"members"
]
}
}
]
}
},
"type": "object",
"anyOf": [
{
"allOf": [
{
"$ref": "#/$defs/ReadCrossWorkspaceAnalyticsOutput"
},
{
"type": "object"
}
]
},
{
"type": "object",
"properties": {
"data": {
"allOf": [
{
"$ref": "#/$defs/ReadCrossWorkspaceAnalyticsOutput"
},
{
"not": {
"type": "object"
}
}
]
}
},
"required": [
"data"
],
"additionalProperties": false
}
]
}
```
### Underlying API operations
- `me.allWorkspacesOverview`: `GET /v1/me/all-workspaces/overview`
- `me.allWorkspacesAccounts`: `GET /v1/me/all-workspaces/accounts`
- `me.allWorkspacesUniboxFilters`: `GET /v1/me/all-workspaces/unibox-filters`