> ## 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.

# amplitude

> Amplitude Analytics — event segmentation, funnels, retention, cohorts, taxonomy, and real-time data

**Server path:** `/amplitude` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                      | Description                     |
| ----------------------------------------------------------------------------------------- | ------------------------------- |
| [`amplitude_list_annotations`](#amplitude_list_annotations)                               | List Annotations                |
| [`amplitude_create_annotation`](#amplitude_create_annotation)                             | Create Annotation               |
| [`amplitude_get_annotation`](#amplitude_get_annotation)                                   | Get Annotation                  |
| [`amplitude_update_annotation`](#amplitude_update_annotation)                             | Update Annotation               |
| [`amplitude_delete_annotation`](#amplitude_delete_annotation)                             | Delete Annotation               |
| [`amplitude_get_chart_results`](#amplitude_get_chart_results)                             | Get Chart Results               |
| [`amplitude_list_cohorts`](#amplitude_list_cohorts)                                       | List Cohorts                    |
| [`amplitude_get_cohort`](#amplitude_get_cohort)                                           | Get Cohort                      |
| [`amplitude_download_cohort`](#amplitude_download_cohort)                                 | Download Cohort Users           |
| [`amplitude_get_user_composition`](#amplitude_get_user_composition)                       | Get User Composition            |
| [`amplitude_get_deletion_requests`](#amplitude_get_deletion_requests)                     | Get Deletion Requests           |
| [`amplitude_request_user_deletion`](#amplitude_request_user_deletion)                     | Request User Deletion           |
| [`amplitude_get_events_list`](#amplitude_get_events_list)                                 | List Events                     |
| [`amplitude_get_event_segmentation`](#amplitude_get_event_segmentation)                   | Get Event Segmentation          |
| [`amplitude_export_project_data`](#amplitude_export_project_data)                         | Export Project Data             |
| [`amplitude_get_funnel_analysis`](#amplitude_get_funnel_analysis)                         | Get Funnel Analysis             |
| [`amplitude_get_real_time_active_users`](#amplitude_get_real_time_active_users)           | Get Real-time Active Users      |
| [`amplitude_get_retention_analysis`](#amplitude_get_retention_analysis)                   | Get Retention Analysis          |
| [`amplitude_get_revenue_ltv`](#amplitude_get_revenue_ltv)                                 | Get Revenue LTV                 |
| [`amplitude_get_average_session_length`](#amplitude_get_average_session_length)           | Get Average Session Length      |
| [`amplitude_get_session_length_distribution`](#amplitude_get_session_length_distribution) | Get Session Length Distribution |
| [`amplitude_get_average_sessions_per_user`](#amplitude_get_average_sessions_per_user)     | Get Average Sessions Per User   |
| [`amplitude_list_event_types`](#amplitude_list_event_types)                               | List Event Types                |
| [`amplitude_list_event_properties`](#amplitude_list_event_properties)                     | List Event Properties           |
| [`amplitude_get_event_type`](#amplitude_get_event_type)                                   | Get Event Type                  |
| [`amplitude_update_event_type`](#amplitude_update_event_type)                             | Update Event Type               |
| [`amplitude_list_user_properties`](#amplitude_list_user_properties)                       | List User Properties            |
| [`amplitude_get_user_activity`](#amplitude_get_user_activity)                             | Get User Activity               |
| [`amplitude_get_active_new_users`](#amplitude_get_active_new_users)                       | Get Active/New User Counts      |
| [`amplitude_get_user_search`](#amplitude_get_user_search)                                 | Search Users                    |

***

## amplitude\_list\_annotations

List Annotations

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

***

## amplitude\_create\_annotation

Create Annotation

**Parameters:**

| Parameter | Type   | Required | Default | Description                                 |
| --------- | ------ | -------- | ------- | ------------------------------------------- |
| `date`    | string | Yes      | —       | Date for the annotation (YYYY-MM-DD format) |
| `details` | string | No       | —       | Detailed description                        |
| `label`   | string | Yes      | —       | Label/title for the annotation              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "date": {
        "type": "string",
        "description": "Date for the annotation (YYYY-MM-DD format)"
      },
      "details": {
        "type": "string",
        "description": "Detailed description"
      },
      "label": {
        "type": "string",
        "description": "Label/title for the annotation"
      }
    },
    "required": [
      "PCID",
      "date",
      "label"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_annotation

Get Annotation

**Parameters:**

| Parameter      | Type   | Required | Default | Description   |
| -------------- | ------ | -------- | ------- | ------------- |
| `annotationId` | string | Yes      | —       | Annotation Id |

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

***

## amplitude\_update\_annotation

Update Annotation

**Parameters:**

| Parameter      | Type   | Required | Default | Description                      |
| -------------- | ------ | -------- | ------- | -------------------------------- |
| `annotationId` | string | Yes      | —       | Annotation Id                    |
| `date`         | string | No       | —       | Updated date (YYYY-MM-DD format) |
| `details`      | string | No       | —       | Updated details                  |
| `label`        | string | No       | —       | Updated label                    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "annotationId": {
        "type": "string",
        "description": "Annotation Id"
      },
      "date": {
        "type": "string",
        "description": "Updated date (YYYY-MM-DD format)"
      },
      "details": {
        "type": "string",
        "description": "Updated details"
      },
      "label": {
        "type": "string",
        "description": "Updated label"
      }
    },
    "required": [
      "PCID",
      "annotationId"
    ]
  }
  ```
</Expandable>

***

## amplitude\_delete\_annotation

Delete Annotation

**Parameters:**

| Parameter      | Type   | Required | Default | Description   |
| -------------- | ------ | -------- | ------- | ------------- |
| `annotationId` | string | Yes      | —       | Annotation Id |

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

***

## amplitude\_get\_chart\_results

Get Chart Results

**Parameters:**

| Parameter | Type   | Required | Default | Description                                |
| --------- | ------ | -------- | ------- | ------------------------------------------ |
| `chartId` | string | Yes      | —       | Chart ID from the URL in Amplitude web app |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "chartId": {
        "type": "string",
        "description": "Chart ID from the URL in Amplitude web app"
      }
    },
    "required": [
      "PCID",
      "chartId"
    ]
  }
  ```
</Expandable>

***

## amplitude\_list\_cohorts

List Cohorts

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

***

## amplitude\_get\_cohort

Get Cohort

**Parameters:**

| Parameter  | Type   | Required | Default | Description               |
| ---------- | ------ | -------- | ------- | ------------------------- |
| `cohortId` | string | Yes      | —       | The cohort ID to retrieve |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "cohortId": {
        "type": "string",
        "description": "The cohort ID to retrieve"
      }
    },
    "required": [
      "PCID",
      "cohortId"
    ]
  }
  ```
</Expandable>

***

## amplitude\_download\_cohort

Download Cohort Users

**Parameters:**

| Parameter  | Type   | Required | Default | Description                                                              |
| ---------- | ------ | -------- | ------- | ------------------------------------------------------------------------ |
| `cohortId` | string | Yes      | —       | The cohort ID to download                                                |
| `props`    | string | No       | `0`     | Set to 1 to include user properties in the download                      |
| `propKeys` | string | No       | —       | Comma-separated list of user property keys to include (requires props=1) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "cohortId": {
        "type": "string",
        "description": "The cohort ID to download"
      },
      "props": {
        "oneOf": [
          {
            "type": "number",
            "const": 0
          },
          {
            "type": "number",
            "const": 1
          }
        ],
        "default": 0,
        "description": "Set to 1 to include user properties in the download"
      },
      "propKeys": {
        "type": "string",
        "description": "Comma-separated list of user property keys to include (requires props=1)"
      }
    },
    "required": [
      "PCID",
      "cohortId"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_user\_composition

Get User Composition

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                                                                                                                    |
| --------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `start`   | string | Yes      | —       | Start date (YYYYMMDD format)                                                                                                                                   |
| `end`     | string | Yes      | —       | End date (YYYYMMDD format)                                                                                                                                     |
| `p`       | string | Yes      | —       | Property to get composition of. Built-in: version, country, city, region, DMA, language, platform, os, device, start\_version, paying. Custom: prefix with gp: |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "start": {
        "type": "string",
        "description": "Start date (YYYYMMDD format)"
      },
      "end": {
        "type": "string",
        "description": "End date (YYYYMMDD format)"
      },
      "p": {
        "type": "string",
        "description": "Property to get composition of. Built-in: version, country, city, region, DMA, language, platform, os, device, start_version, paying. Custom: prefix with gp:"
      }
    },
    "required": [
      "PCID",
      "start",
      "end",
      "p"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_deletion\_requests

Get Deletion Requests

**Parameters:**

| Parameter   | Type   | Required | Default | Description                    |
| ----------- | ------ | -------- | ------- | ------------------------------ |
| `start_day` | string | No       | —       | Start date filter (YYYY-MM-DD) |
| `end_day`   | string | No       | —       | End date filter (YYYY-MM-DD)   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "start_day": {
        "type": "string",
        "description": "Start date filter (YYYY-MM-DD)"
      },
      "end_day": {
        "type": "string",
        "description": "End date filter (YYYY-MM-DD)"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## amplitude\_request\_user\_deletion

Request User Deletion

**Parameters:**

| Parameter       | Type      | Required | Default | Description                              |
| --------------- | --------- | -------- | ------- | ---------------------------------------- |
| `amplitude_ids` | string\[] | Yes      | —       | List of Amplitude IDs to delete          |
| `requester`     | string    | Yes      | —       | Email of the person requesting deletion  |
| `user_ids`      | string\[] | No       | —       | Alternative - list of User IDs to delete |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "amplitude_ids": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "List of Amplitude IDs to delete"
      },
      "requester": {
        "type": "string",
        "description": "Email of the person requesting deletion"
      },
      "user_ids": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Alternative - list of User IDs to delete"
      }
    },
    "required": [
      "PCID",
      "amplitude_ids",
      "requester"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_events\_list

List Events

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

***

## amplitude\_get\_event\_segmentation

Get Event Segmentation

**Parameters:**

| Parameter | Type   | Required | Default     | Description                                                                                                                  |
| --------- | ------ | -------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `e`       | string | Yes      | —           | Event definition as JSON: \{"event\_type": "your\_event"}. Prefix custom events with ce:. Use \_active for any active event. |
| `e2`      | string | No       | —           | Optional second event definition (same format as e)                                                                          |
| `start`   | string | Yes      | —           | Start date (YYYYMMDD format)                                                                                                 |
| `end`     | string | Yes      | —           | End date (YYYYMMDD format)                                                                                                   |
| `m`       | string | No       | `"uniques"` | Metric type: uniques, totals, pct\_dau, average, histogram, sums, value\_avg, or formula                                     |
| `n`       | string | No       | —           | User type: any or active                                                                                                     |
| `i`       | string | No       | `"1"`       | Interval: -300000 (real-time), -3600000 (hourly), 1 (daily), 7 (weekly), 30 (monthly)                                        |
| `s`       | string | No       | —           | Segment definitions as JSON array                                                                                            |
| `g`       | string | No       | —           | Property to group by (limit 2). Only available with single segment.                                                          |
| `limit`   | number | No       | —           | Limit number of group-by values returned                                                                                     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "e": {
        "type": "string",
        "description": "Event definition as JSON: {\"event_type\": \"your_event\"}. Prefix custom events with ce:. Use _active for any active event."
      },
      "e2": {
        "type": "string",
        "description": "Optional second event definition (same format as e)"
      },
      "start": {
        "type": "string",
        "description": "Start date (YYYYMMDD format)"
      },
      "end": {
        "type": "string",
        "description": "End date (YYYYMMDD format)"
      },
      "m": {
        "type": "string",
        "enum": [
          "uniques",
          "totals",
          "pct_dau",
          "average",
          "histogram",
          "sums",
          "value_avg",
          "formula"
        ],
        "default": "uniques",
        "description": "Metric type: uniques, totals, pct_dau, average, histogram, sums, value_avg, or formula"
      },
      "n": {
        "type": "string",
        "enum": [
          "any",
          "active"
        ],
        "description": "User type: any or active"
      },
      "i": {
        "type": "string",
        "enum": [
          "-300000",
          "-3600000",
          "1",
          "7",
          "30"
        ],
        "default": "1",
        "description": "Interval: -300000 (real-time), -3600000 (hourly), 1 (daily), 7 (weekly), 30 (monthly)"
      },
      "s": {
        "type": "string",
        "description": "Segment definitions as JSON array"
      },
      "g": {
        "type": "string",
        "description": "Property to group by (limit 2). Only available with single segment."
      },
      "limit": {
        "type": "number",
        "description": "Limit number of group-by values returned"
      }
    },
    "required": [
      "PCID",
      "e",
      "start",
      "end"
    ]
  }
  ```
</Expandable>

***

## amplitude\_export\_project\_data

Export Project Data

**Parameters:**

| Parameter | Type   | Required | Default | Description                                           |
| --------- | ------ | -------- | ------- | ----------------------------------------------------- |
| `start`   | string | Yes      | —       | Start datetime (YYYYMMDDTHH format, e.g. 20210101T05) |
| `end`     | string | Yes      | —       | End datetime (YYYYMMDDTHH format, e.g. 20210102T20)   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "start": {
        "type": "string",
        "description": "Start datetime (YYYYMMDDTHH format, e.g. 20210101T05)"
      },
      "end": {
        "type": "string",
        "description": "End datetime (YYYYMMDDTHH format, e.g. 20210102T20)"
      }
    },
    "required": [
      "PCID",
      "start",
      "end"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_funnel\_analysis

Get Funnel Analysis

**Parameters:**

| Parameter | Type   | Required | Default     | Description                                                                    |
| --------- | ------ | -------- | ----------- | ------------------------------------------------------------------------------ |
| `e`       | string | Yes      | —           | First event in funnel as JSON: \{"event\_type": "step\_1"}                     |
| `e2`      | string | No       | —           | Second event in funnel                                                         |
| `e3`      | string | No       | —           | Third event in funnel (up to e10 supported)                                    |
| `start`   | string | Yes      | —           | Start date (YYYYMMDD format)                                                   |
| `end`     | string | Yes      | —           | End date (YYYYMMDD format)                                                     |
| `mode`    | string | No       | `"ordered"` | Funnel mode: ordered (default) or unordered                                    |
| `n`       | string | No       | —           | Funnel counting mode. Some projects use totals/uniques, others use active/new. |
| `cs`      | number | No       | —           | Conversion window in seconds                                                   |
| `s`       | string | No       | —           | Segment definitions as JSON array                                              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "e": {
        "type": "string",
        "description": "First event in funnel as JSON: {\"event_type\": \"step_1\"}"
      },
      "e2": {
        "type": "string",
        "description": "Second event in funnel"
      },
      "e3": {
        "type": "string",
        "description": "Third event in funnel (up to e10 supported)"
      },
      "start": {
        "type": "string",
        "description": "Start date (YYYYMMDD format)"
      },
      "end": {
        "type": "string",
        "description": "End date (YYYYMMDD format)"
      },
      "mode": {
        "type": "string",
        "enum": [
          "ordered",
          "unordered"
        ],
        "default": "ordered",
        "description": "Funnel mode: ordered (default) or unordered"
      },
      "n": {
        "type": "string",
        "enum": [
          "totals",
          "uniques",
          "active",
          "new"
        ],
        "description": "Funnel counting mode. Some projects use totals/uniques, others use active/new."
      },
      "cs": {
        "type": "number",
        "description": "Conversion window in seconds"
      },
      "s": {
        "type": "string",
        "description": "Segment definitions as JSON array"
      }
    },
    "required": [
      "PCID",
      "e",
      "start",
      "end"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_real\_time\_active\_users

Get Real-time Active Users

**Parameters:**

| Parameter | Type   | Required | Default | Description                                 |
| --------- | ------ | -------- | ------- | ------------------------------------------- |
| `i`       | string | No       | `"5"`   | Interval in minutes: 5 (default), 15, or 60 |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "i": {
        "type": "string",
        "enum": [
          "5",
          "15",
          "60"
        ],
        "default": "5",
        "description": "Interval in minutes: 5 (default), 15, or 60"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_retention\_analysis

Get Retention Analysis

**Parameters:**

| Parameter | Type   | Required | Default | Description                                        |
| --------- | ------ | -------- | ------- | -------------------------------------------------- |
| `se`      | string | Yes      | —       | Starting event as JSON: \{"event\_type": "signup"} |
| `re`      | string | Yes      | —       | Returning event as JSON: \{"event\_type": "login"} |
| `start`   | string | Yes      | —       | Start date (YYYYMMDD format)                       |
| `end`     | string | Yes      | —       | End date (YYYYMMDD format)                         |
| `rm`      | string | No       | —       | Retention mode: bracket or rolling                 |
| `s`       | string | No       | —       | Segment definitions as JSON array                  |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "se": {
        "type": "string",
        "description": "Starting event as JSON: {\"event_type\": \"signup\"}"
      },
      "re": {
        "type": "string",
        "description": "Returning event as JSON: {\"event_type\": \"login\"}"
      },
      "start": {
        "type": "string",
        "description": "Start date (YYYYMMDD format)"
      },
      "end": {
        "type": "string",
        "description": "End date (YYYYMMDD format)"
      },
      "rm": {
        "type": "string",
        "enum": [
          "bracket",
          "rolling"
        ],
        "description": "Retention mode: bracket or rolling"
      },
      "s": {
        "type": "string",
        "description": "Segment definitions as JSON array"
      }
    },
    "required": [
      "PCID",
      "se",
      "re",
      "start",
      "end"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_revenue\_ltv

Get Revenue LTV

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                              |
| --------- | ------ | -------- | ------- | ------------------------------------------------------------------------ |
| `start`   | string | Yes      | —       | Start date (YYYYMMDD format)                                             |
| `end`     | string | Yes      | —       | End date (YYYYMMDD format)                                               |
| `m`       | string | No       | —       | Metric: 0 for ARPPU, 1 for ARPU, 2 for total revenue, 3 for paying users |
| `i`       | string | No       | `"1"`   | Interval: 1 (daily), 7 (weekly), 30 (monthly)                            |
| `s`       | string | No       | —       | Segment definitions as JSON array                                        |
| `g`       | string | No       | —       | Property to group by                                                     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "start": {
        "type": "string",
        "description": "Start date (YYYYMMDD format)"
      },
      "end": {
        "type": "string",
        "description": "End date (YYYYMMDD format)"
      },
      "m": {
        "type": "string",
        "enum": [
          "0",
          "1",
          "2",
          "3"
        ],
        "description": "Metric: 0 for ARPPU, 1 for ARPU, 2 for total revenue, 3 for paying users"
      },
      "i": {
        "type": "string",
        "enum": [
          "1",
          "7",
          "30"
        ],
        "default": "1",
        "description": "Interval: 1 (daily), 7 (weekly), 30 (monthly)"
      },
      "s": {
        "type": "string",
        "description": "Segment definitions as JSON array"
      },
      "g": {
        "type": "string",
        "description": "Property to group by"
      }
    },
    "required": [
      "PCID",
      "start",
      "end"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_average\_session\_length

Get Average Session Length

**Parameters:**

| Parameter | Type   | Required | Default | Description                  |
| --------- | ------ | -------- | ------- | ---------------------------- |
| `start`   | string | Yes      | —       | Start date (YYYYMMDD format) |
| `end`     | string | Yes      | —       | End date (YYYYMMDD format)   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "start": {
        "type": "string",
        "description": "Start date (YYYYMMDD format)"
      },
      "end": {
        "type": "string",
        "description": "End date (YYYYMMDD format)"
      }
    },
    "required": [
      "PCID",
      "start",
      "end"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_session\_length\_distribution

Get Session Length Distribution

**Parameters:**

| Parameter                        | Type   | Required | Default | Description                                            |
| -------------------------------- | ------ | -------- | ------- | ------------------------------------------------------ |
| `start`                          | string | Yes      | —       | Start date (YYYYMMDD format)                           |
| `end`                            | string | Yes      | —       | End date (YYYYMMDD format)                             |
| `timeHistogramConfigBinTimeUnit` | string | No       | —       | Time unit for bucket sizes: hours, minutes, or seconds |
| `timeHistogramConfigBinMin`      | number | No       | —       | Minimum value for bucketing                            |
| `timeHistogramConfigBinMax`      | number | No       | —       | Maximum value for bucketing                            |
| `timeHistogramConfigBinSize`     | number | No       | —       | Size of each bucket                                    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "start": {
        "type": "string",
        "description": "Start date (YYYYMMDD format)"
      },
      "end": {
        "type": "string",
        "description": "End date (YYYYMMDD format)"
      },
      "timeHistogramConfigBinTimeUnit": {
        "type": "string",
        "enum": [
          "hours",
          "minutes",
          "seconds"
        ],
        "description": "Time unit for bucket sizes: hours, minutes, or seconds"
      },
      "timeHistogramConfigBinMin": {
        "type": "number",
        "description": "Minimum value for bucketing"
      },
      "timeHistogramConfigBinMax": {
        "type": "number",
        "description": "Maximum value for bucketing"
      },
      "timeHistogramConfigBinSize": {
        "type": "number",
        "description": "Size of each bucket"
      }
    },
    "required": [
      "PCID",
      "start",
      "end"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_average\_sessions\_per\_user

Get Average Sessions Per User

**Parameters:**

| Parameter | Type   | Required | Default | Description                  |
| --------- | ------ | -------- | ------- | ---------------------------- |
| `start`   | string | Yes      | —       | Start date (YYYYMMDD format) |
| `end`     | string | Yes      | —       | End date (YYYYMMDD format)   |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "start": {
        "type": "string",
        "description": "Start date (YYYYMMDD format)"
      },
      "end": {
        "type": "string",
        "description": "End date (YYYYMMDD format)"
      }
    },
    "required": [
      "PCID",
      "start",
      "end"
    ]
  }
  ```
</Expandable>

***

## amplitude\_list\_event\_types

List Event Types

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

***

## amplitude\_list\_event\_properties

List Event Properties

**Parameters:**

| Parameter    | Type   | Required | Default | Description                           |
| ------------ | ------ | -------- | ------- | ------------------------------------- |
| `event_type` | string | Yes      | —       | The event type to list properties for |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "event_type": {
        "type": "string",
        "description": "The event type to list properties for"
      }
    },
    "required": [
      "PCID",
      "event_type"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_event\_type

Get Event Type

**Parameters:**

| Parameter   | Type   | Required | Default | Description         |
| ----------- | ------ | -------- | ------- | ------------------- |
| `eventType` | string | Yes      | —       | The event type name |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "eventType": {
        "type": "string",
        "description": "The event type name"
      }
    },
    "required": [
      "PCID",
      "eventType"
    ]
  }
  ```
</Expandable>

***

## amplitude\_update\_event\_type

Update Event Type

**Parameters:**

| Parameter      | Type    | Required | Default | Description                         |
| -------------- | ------- | -------- | ------- | ----------------------------------- |
| `eventType`    | string  | Yes      | —       | The event type name                 |
| `description`  | string  | No       | —       | New description                     |
| `display_name` | string  | No       | —       | New display name                    |
| `visible`      | boolean | No       | —       | Whether the event should be visible |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "eventType": {
        "type": "string",
        "description": "The event type name"
      },
      "description": {
        "type": "string",
        "description": "New description"
      },
      "display_name": {
        "type": "string",
        "description": "New display name"
      },
      "visible": {
        "type": "boolean",
        "description": "Whether the event should be visible"
      }
    },
    "required": [
      "PCID",
      "eventType"
    ]
  }
  ```
</Expandable>

***

## amplitude\_list\_user\_properties

List User Properties

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

***

## amplitude\_get\_user\_activity

Get User Activity

**Parameters:**

| Parameter | Type   | Required | Default | Description                           |
| --------- | ------ | -------- | ------- | ------------------------------------- |
| `user`    | string | Yes      | —       | Amplitude ID of the user              |
| `offset`  | number | No       | `0`     | Offset for pagination (0-indexed)     |
| `limit`   | number | No       | `1000`  | Number of events to return (max 1000) |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "user": {
        "type": "string",
        "description": "Amplitude ID of the user"
      },
      "offset": {
        "type": "number",
        "default": 0,
        "description": "Offset for pagination (0-indexed)"
      },
      "limit": {
        "type": "number",
        "default": 1000,
        "description": "Number of events to return (max 1000)"
      }
    },
    "required": [
      "PCID",
      "user"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_active\_new\_users

Get Active/New User Counts

**Parameters:**

| Parameter | Type   | Required | Default    | Description                                   |
| --------- | ------ | -------- | ---------- | --------------------------------------------- |
| `start`   | string | Yes      | —          | Start date (YYYYMMDD format)                  |
| `end`     | string | Yes      | —          | End date (YYYYMMDD format)                    |
| `m`       | string | No       | `"active"` | User metric: active or new                    |
| `i`       | string | No       | `"1"`      | Interval: 1 (daily), 7 (weekly), 30 (monthly) |
| `s`       | string | No       | —          | Segment definitions as JSON array             |
| `g`       | string | No       | —          | Property to group by                          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "start": {
        "type": "string",
        "description": "Start date (YYYYMMDD format)"
      },
      "end": {
        "type": "string",
        "description": "End date (YYYYMMDD format)"
      },
      "m": {
        "type": "string",
        "enum": [
          "active",
          "new"
        ],
        "default": "active",
        "description": "User metric: active or new"
      },
      "i": {
        "type": "string",
        "enum": [
          "1",
          "7",
          "30"
        ],
        "default": "1",
        "description": "Interval: 1 (daily), 7 (weekly), 30 (monthly)"
      },
      "s": {
        "type": "string",
        "description": "Segment definitions as JSON array"
      },
      "g": {
        "type": "string",
        "description": "Property to group by"
      }
    },
    "required": [
      "PCID",
      "start",
      "end"
    ]
  }
  ```
</Expandable>

***

## amplitude\_get\_user\_search

Search Users

**Parameters:**

| Parameter | Type   | Required | Default | Description                                       |
| --------- | ------ | -------- | ------- | ------------------------------------------------- |
| `user`    | string | Yes      | —       | User ID, device ID, or Amplitude ID to search for |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID"
      },
      "user": {
        "type": "string",
        "description": "User ID, device ID, or Amplitude ID to search for"
      }
    },
    "required": [
      "PCID",
      "user"
    ]
  }
  ```
</Expandable>
