> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pinkfish.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# salesforce-marketing-cloud-intelligence

> Marketing Cloud Intelligence

**Server path:** `/salesforce-marketing-cloud-intelligence` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                                                                                              | Description                         |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
| [`salesforce_marketing_cloud_intelligence_batch_process_data_streams`](#salesforce_marketing_cloud_intelligence_batch_process_data_streams)                       | Batch process multiple data streams |
| [`salesforce_marketing_cloud_intelligence_create_calculated_measurement`](#salesforce_marketing_cloud_intelligence_create_calculated_measurement)                 | Create a calculated measurement     |
| [`salesforce_marketing_cloud_intelligence_create_data_stream`](#salesforce_marketing_cloud_intelligence_create_data_stream)                                       | Create a data stream                |
| [`salesforce_marketing_cloud_intelligence_create_harmonization_pattern`](#salesforce_marketing_cloud_intelligence_create_harmonization_pattern)                   | Create a harmonization pattern      |
| [`salesforce_marketing_cloud_intelligence_delete_data_stream`](#salesforce_marketing_cloud_intelligence_delete_data_stream)                                       | Delete a data stream                |
| [`salesforce_marketing_cloud_intelligence_get_data_stream`](#salesforce_marketing_cloud_intelligence_get_data_stream)                                             | Get data stream details             |
| [`salesforce_marketing_cloud_intelligence_get_data_stream_job_detail`](#salesforce_marketing_cloud_intelligence_get_data_stream_job_detail)                       | Get job detail                      |
| [`salesforce_marketing_cloud_intelligence_get_data_stream_job_stats`](#salesforce_marketing_cloud_intelligence_get_data_stream_job_stats)                         | Get data stream job statistics      |
| [`salesforce_marketing_cloud_intelligence_get_workspace`](#salesforce_marketing_cloud_intelligence_get_workspace)                                                 | Get workspace details               |
| [`salesforce_marketing_cloud_intelligence_get_workspace_calculated_measurements`](#salesforce_marketing_cloud_intelligence_get_workspace_calculated_measurements) | Get calculated measurements         |
| [`salesforce_marketing_cloud_intelligence_get_workspace_dimensions`](#salesforce_marketing_cloud_intelligence_get_workspace_dimensions)                           | Get workspace dimensions            |
| [`salesforce_marketing_cloud_intelligence_get_workspace_harmonized_dimensions`](#salesforce_marketing_cloud_intelligence_get_workspace_harmonized_dimensions)     | Get harmonized dimensions           |
| [`salesforce_marketing_cloud_intelligence_get_workspace_patterns`](#salesforce_marketing_cloud_intelligence_get_workspace_patterns)                               | Get harmonization patterns          |
| [`salesforce_marketing_cloud_intelligence_list_workspace_data_streams`](#salesforce_marketing_cloud_intelligence_list_workspace_data_streams)                     | List data streams in a workspace    |
| [`salesforce_marketing_cloud_intelligence_list_workspaces`](#salesforce_marketing_cloud_intelligence_list_workspaces)                                             | List all workspaces                 |
| [`salesforce_marketing_cloud_intelligence_patch_data_stream`](#salesforce_marketing_cloud_intelligence_patch_data_stream)                                         | Partially update a data stream      |
| [`salesforce_marketing_cloud_intelligence_process_data_stream`](#salesforce_marketing_cloud_intelligence_process_data_stream)                                     | Process a data stream               |
| [`salesforce_marketing_cloud_intelligence_rerun_all_data_stream_jobs`](#salesforce_marketing_cloud_intelligence_rerun_all_data_stream_jobs)                       | Rerun all jobs for a data stream    |
| [`salesforce_marketing_cloud_intelligence_rerun_data_stream_jobs`](#salesforce_marketing_cloud_intelligence_rerun_data_stream_jobs)                               | Rerun specific data stream jobs     |
| [`salesforce_marketing_cloud_intelligence_update_data_stream`](#salesforce_marketing_cloud_intelligence_update_data_stream)                                       | Update a data stream                |

***

## salesforce\_marketing\_cloud\_intelligence\_batch\_process\_data\_streams

Batch process multiple data streams

**Parameters:**

| Parameter       | Type       | Required | Default | Description                            |
| --------------- | ---------- | -------- | ------- | -------------------------------------- |
| `dataStreamIds` | integer\[] | Yes      | —       | List of data stream IDs to process     |
| `endDate`       | string     | Yes      | —       | End date for processing (YYYY-MM-DD)   |
| `startDate`     | string     | Yes      | —       | Start date for processing (YYYY-MM-DD) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "dataStreamIds": {
        "type": "array",
        "items": {
          "type": "integer"
        },
        "description": "List of data stream IDs to process"
      },
      "endDate": {
        "type": "string",
        "description": "End date for processing (YYYY-MM-DD)"
      },
      "startDate": {
        "type": "string",
        "description": "Start date for processing (YYYY-MM-DD)"
      }
    },
    "required": [
      "PCID",
      "dataStreamIds",
      "endDate",
      "startDate"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_create\_calculated\_measurement

Create a calculated measurement

**Parameters:**

| Parameter     | Type    | Required | Default | Description                            |
| ------------- | ------- | -------- | ------- | -------------------------------------- |
| `workspaceId` | integer | Yes      | —       | The ID of the workspace                |
| `formula`     | string  | Yes      | —       | Formula expression for the calculation |
| `name`        | string  | Yes      | —       | Name of the calculated measurement     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "integer",
        "description": "The ID of the workspace"
      },
      "formula": {
        "type": "string",
        "description": "Formula expression for the calculation"
      },
      "name": {
        "type": "string",
        "description": "Name of the calculated measurement"
      }
    },
    "required": [
      "PCID",
      "workspaceId",
      "formula",
      "name"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_create\_data\_stream

Create a data stream

**Parameters:**

| Parameter      | Type    | Required | Default | Description                              |
| -------------- | ------- | -------- | ------- | ---------------------------------------- |
| `dataSourceId` | integer | No       | —       | The data source ID                       |
| `name`         | string  | Yes      | —       | Name of the data stream                  |
| `workspaceId`  | integer | Yes      | —       | The workspace ID to create the stream in |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "dataSourceId": {
        "type": "integer",
        "description": "The data source ID"
      },
      "name": {
        "type": "string",
        "description": "Name of the data stream"
      },
      "workspaceId": {
        "type": "integer",
        "description": "The workspace ID to create the stream in"
      }
    },
    "required": [
      "PCID",
      "name",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_create\_harmonization\_pattern

Create a harmonization pattern

**Parameters:**

| Parameter     | Type    | Required | Default | Description                   |
| ------------- | ------- | -------- | ------- | ----------------------------- |
| `dimensionId` | integer | Yes      | —       | The dimension ID to harmonize |
| `pattern`     | string  | Yes      | —       | The pattern string to match   |
| `value`       | string  | Yes      | —       | The harmonized value to apply |
| `workspaceId` | integer | Yes      | —       | The workspace ID              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "dimensionId": {
        "type": "integer",
        "description": "The dimension ID to harmonize"
      },
      "pattern": {
        "type": "string",
        "description": "The pattern string to match"
      },
      "value": {
        "type": "string",
        "description": "The harmonized value to apply"
      },
      "workspaceId": {
        "type": "integer",
        "description": "The workspace ID"
      }
    },
    "required": [
      "PCID",
      "dimensionId",
      "pattern",
      "value",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_delete\_data\_stream

Delete a data stream

**Parameters:**

| Parameter      | Type    | Required | Default | Description               |
| -------------- | ------- | -------- | ------- | ------------------------- |
| `dataStreamId` | integer | Yes      | —       | The ID of the data stream |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "dataStreamId": {
        "type": "integer",
        "description": "The ID of the data stream"
      }
    },
    "required": [
      "PCID",
      "dataStreamId"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_get\_data\_stream

Get data stream details

**Parameters:**

| Parameter      | Type    | Required | Default | Description               |
| -------------- | ------- | -------- | ------- | ------------------------- |
| `dataStreamId` | integer | Yes      | —       | The ID of the data stream |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "dataStreamId": {
        "type": "integer",
        "description": "The ID of the data stream"
      }
    },
    "required": [
      "PCID",
      "dataStreamId"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_get\_data\_stream\_job\_detail

Get job detail

**Parameters:**

| Parameter | Type    | Required | Default | Description       |
| --------- | ------- | -------- | ------- | ----------------- |
| `jobId`   | integer | Yes      | —       | The ID of the job |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "jobId": {
        "type": "integer",
        "description": "The ID of the job"
      }
    },
    "required": [
      "PCID",
      "jobId"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_get\_data\_stream\_job\_stats

Get data stream job statistics

**Parameters:**

| Parameter      | Type    | Required | Default | Description               |
| -------------- | ------- | -------- | ------- | ------------------------- |
| `dataStreamId` | integer | Yes      | —       | The ID of the data stream |
| `endDate`      | string  | Yes      | —       | End date (YYYY-MM-DD)     |
| `startDate`    | string  | Yes      | —       | Start date (YYYY-MM-DD)   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "dataStreamId": {
        "type": "integer",
        "description": "The ID of the data stream"
      },
      "endDate": {
        "type": "string",
        "description": "End date (YYYY-MM-DD)"
      },
      "startDate": {
        "type": "string",
        "description": "Start date (YYYY-MM-DD)"
      }
    },
    "required": [
      "PCID",
      "dataStreamId",
      "endDate",
      "startDate"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_get\_workspace

Get workspace details

**Parameters:**

| Parameter     | Type    | Required | Default | Description             |
| ------------- | ------- | -------- | ------- | ----------------------- |
| `workspaceId` | integer | Yes      | —       | The ID of the workspace |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "integer",
        "description": "The ID of the workspace"
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_get\_workspace\_calculated\_measurements

Get calculated measurements

**Parameters:**

| Parameter     | Type    | Required | Default | Description             |
| ------------- | ------- | -------- | ------- | ----------------------- |
| `workspaceId` | integer | Yes      | —       | The ID of the workspace |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "integer",
        "description": "The ID of the workspace"
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_get\_workspace\_dimensions

Get workspace dimensions

**Parameters:**

| Parameter     | Type    | Required | Default | Description             |
| ------------- | ------- | -------- | ------- | ----------------------- |
| `workspaceId` | integer | Yes      | —       | The ID of the workspace |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "integer",
        "description": "The ID of the workspace"
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_get\_workspace\_harmonized\_dimensions

Get harmonized dimensions

**Parameters:**

| Parameter     | Type    | Required | Default | Description             |
| ------------- | ------- | -------- | ------- | ----------------------- |
| `workspaceId` | integer | Yes      | —       | The ID of the workspace |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "integer",
        "description": "The ID of the workspace"
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_get\_workspace\_patterns

Get harmonization patterns

**Parameters:**

| Parameter     | Type    | Required | Default | Description             |
| ------------- | ------- | -------- | ------- | ----------------------- |
| `workspaceId` | integer | Yes      | —       | The ID of the workspace |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "integer",
        "description": "The ID of the workspace"
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_list\_workspace\_data\_streams

List data streams in a workspace

**Parameters:**

| Parameter     | Type    | Required | Default | Description             |
| ------------- | ------- | -------- | ------- | ----------------------- |
| `workspaceId` | integer | Yes      | —       | The ID of the workspace |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "workspaceId": {
        "type": "integer",
        "description": "The ID of the workspace"
      }
    },
    "required": [
      "PCID",
      "workspaceId"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_list\_workspaces

List all workspaces

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_patch\_data\_stream

Partially update a data stream

**Parameters:**

| Parameter      | Type    | Required | Default | Description                        |
| -------------- | ------- | -------- | ------- | ---------------------------------- |
| `dataStreamId` | integer | Yes      | —       | The ID of the data stream          |
| `enabled`      | boolean | Yes      | —       | Whether the data stream is enabled |
| `name`         | string  | No       | —       | Name of the data stream            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "dataStreamId": {
        "type": "integer",
        "description": "The ID of the data stream"
      },
      "enabled": {
        "type": "boolean",
        "description": "Whether the data stream is enabled"
      },
      "name": {
        "type": "string",
        "description": "Name of the data stream"
      }
    },
    "required": [
      "PCID",
      "dataStreamId",
      "enabled"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_process\_data\_stream

Process a data stream

**Parameters:**

| Parameter      | Type    | Required | Default | Description                            |
| -------------- | ------- | -------- | ------- | -------------------------------------- |
| `dataStreamId` | integer | Yes      | —       | The ID of the data stream              |
| `endDate`      | string  | Yes      | —       | End date for processing (YYYY-MM-DD)   |
| `startDate`    | string  | Yes      | —       | Start date for processing (YYYY-MM-DD) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "dataStreamId": {
        "type": "integer",
        "description": "The ID of the data stream"
      },
      "endDate": {
        "type": "string",
        "description": "End date for processing (YYYY-MM-DD)"
      },
      "startDate": {
        "type": "string",
        "description": "Start date for processing (YYYY-MM-DD)"
      }
    },
    "required": [
      "PCID",
      "dataStreamId",
      "endDate",
      "startDate"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_rerun\_all\_data\_stream\_jobs

Rerun all jobs for a data stream

**Parameters:**

| Parameter      | Type    | Required | Default | Description               |
| -------------- | ------- | -------- | ------- | ------------------------- |
| `dataStreamId` | integer | Yes      | —       | The ID of the data stream |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "dataStreamId": {
        "type": "integer",
        "description": "The ID of the data stream"
      }
    },
    "required": [
      "PCID",
      "dataStreamId"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_rerun\_data\_stream\_jobs

Rerun specific data stream jobs

**Parameters:**

| Parameter      | Type       | Required | Default | Description               |
| -------------- | ---------- | -------- | ------- | ------------------------- |
| `dataStreamId` | integer    | Yes      | —       | The ID of the data stream |
| `body`         | integer\[] | Yes      | —       | List of job IDs to rerun  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "dataStreamId": {
        "type": "integer",
        "description": "The ID of the data stream"
      },
      "body": {
        "type": "array",
        "items": {
          "type": "integer"
        },
        "description": "List of job IDs to rerun"
      }
    },
    "required": [
      "PCID",
      "dataStreamId",
      "body"
    ]
  }
  ```
</Expandable>

***

## salesforce\_marketing\_cloud\_intelligence\_update\_data\_stream

Update a data stream

**Parameters:**

| Parameter      | Type    | Required | Default | Description               |
| -------------- | ------- | -------- | ------- | ------------------------- |
| `dataStreamId` | integer | Yes      | —       | The ID of the data stream |
| `body`         | object  | Yes      | —       | Request body              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "dataStreamId": {
        "type": "integer",
        "description": "The ID of the data stream"
      },
      "body": {
        "type": "object",
        "description": "Request body"
      }
    },
    "required": [
      "PCID",
      "dataStreamId",
      "body"
    ]
  }
  ```
</Expandable>
