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

# launchdarkly-usage

> LaunchDarkly Usage — account usage, views, audit log, applications, and announcements

**Server path:** `/launchdarkly-usage` | **Type:** Application | **PCID required:** Yes

## Tools

| Tool                                                                                                          | Description                                 |
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------- |
| [`launchdarkly_usage_create_announcement_public`](#launchdarkly_usage_create_announcement_public)             | Create an announcement                      |
| [`launchdarkly_usage_create_view`](#launchdarkly_usage_create_view)                                           | Create view                                 |
| [`launchdarkly_usage_delete_announcement_public`](#launchdarkly_usage_delete_announcement_public)             | Delete an announcement                      |
| [`launchdarkly_usage_delete_application`](#launchdarkly_usage_delete_application)                             | Delete application                          |
| [`launchdarkly_usage_delete_application_version`](#launchdarkly_usage_delete_application_version)             | Delete application version                  |
| [`launchdarkly_usage_delete_view`](#launchdarkly_usage_delete_view)                                           | Delete view                                 |
| [`launchdarkly_usage_get_announcements_public`](#launchdarkly_usage_get_announcements_public)                 | Get announcements                           |
| [`launchdarkly_usage_get_application`](#launchdarkly_usage_get_application)                                   | Get application by key                      |
| [`launchdarkly_usage_get_application_versions`](#launchdarkly_usage_get_application_versions)                 | Get application versions by application key |
| [`launchdarkly_usage_get_applications`](#launchdarkly_usage_get_applications)                                 | Get applications                            |
| [`launchdarkly_usage_get_audit_log_entries`](#launchdarkly_usage_get_audit_log_entries)                       | List audit log entries                      |
| [`launchdarkly_usage_get_audit_log_entry`](#launchdarkly_usage_get_audit_log_entry)                           | Get audit log entry                         |
| [`launchdarkly_usage_get_contexts_clientside_usage`](#launchdarkly_usage_get_contexts_clientside_usage)       | Get contexts clientside usage               |
| [`launchdarkly_usage_get_contexts_serverside_usage`](#launchdarkly_usage_get_contexts_serverside_usage)       | Get contexts serverside usage               |
| [`launchdarkly_usage_get_contexts_total_usage`](#launchdarkly_usage_get_contexts_total_usage)                 | Get contexts total usage                    |
| [`launchdarkly_usage_get_data_export_events_usage`](#launchdarkly_usage_get_data_export_events_usage)         | Get data export events usage                |
| [`launchdarkly_usage_get_evaluations_usage`](#launchdarkly_usage_get_evaluations_usage)                       | Get evaluations usage                       |
| [`launchdarkly_usage_get_events_usage`](#launchdarkly_usage_get_events_usage)                                 | Get events usage                            |
| [`launchdarkly_usage_get_experimentation_events_usage`](#launchdarkly_usage_get_experimentation_events_usage) | Get experimentation events usage            |
| [`launchdarkly_usage_get_experimentation_keys_usage`](#launchdarkly_usage_get_experimentation_keys_usage)     | Get experimentation keys usage              |
| [`launchdarkly_usage_get_linked_resources`](#launchdarkly_usage_get_linked_resources)                         | Get linked resources                        |
| [`launchdarkly_usage_get_linked_views`](#launchdarkly_usage_get_linked_views)                                 | Get linked views for a given resource       |
| [`launchdarkly_usage_get_mau_sdks_by_type`](#launchdarkly_usage_get_mau_sdks_by_type)                         | Get MAU SDKs by type                        |
| [`launchdarkly_usage_get_mauclientside_usage`](#launchdarkly_usage_get_mauclientside_usage)                   | Get MAU clientside usage                    |
| [`launchdarkly_usage_get_mautotal_usage`](#launchdarkly_usage_get_mautotal_usage)                             | Get MAU total usage                         |
| [`launchdarkly_usage_get_observability_errors_usage`](#launchdarkly_usage_get_observability_errors_usage)     | Get observability errors usage              |
| [`launchdarkly_usage_get_observability_logs_usage`](#launchdarkly_usage_get_observability_logs_usage)         | Get observability logs usage                |
| [`launchdarkly_usage_get_observability_metrics_usage`](#launchdarkly_usage_get_observability_metrics_usage)   | Get observability metrics usage             |
| [`launchdarkly_usage_get_observability_sessions_usage`](#launchdarkly_usage_get_observability_sessions_usage) | Get observability sessions usage            |
| [`launchdarkly_usage_get_observability_traces_usage`](#launchdarkly_usage_get_observability_traces_usage)     | Get observability traces usage              |
| [`launchdarkly_usage_get_sdk_versions_details`](#launchdarkly_usage_get_sdk_versions_details)                 | Get SDK versions usage details              |
| [`launchdarkly_usage_get_service_connections_usage`](#launchdarkly_usage_get_service_connections_usage)       | Get service connections usage               |
| [`launchdarkly_usage_get_stream_usage`](#launchdarkly_usage_get_stream_usage)                                 | Get stream usage                            |
| [`launchdarkly_usage_get_stream_usage_by_sdk_version`](#launchdarkly_usage_get_stream_usage_by_sdk_version)   | Get stream usage by SDK version             |
| [`launchdarkly_usage_get_stream_usage_sdkversion`](#launchdarkly_usage_get_stream_usage_sdkversion)           | Get stream usage SDK versions               |
| [`launchdarkly_usage_get_vega_aiusage`](#launchdarkly_usage_get_vega_aiusage)                                 | Get Vega AI usage                           |
| [`launchdarkly_usage_get_view`](#launchdarkly_usage_get_view)                                                 | Get view                                    |
| [`launchdarkly_usage_get_views`](#launchdarkly_usage_get_views)                                               | List views                                  |
| [`launchdarkly_usage_link_resource`](#launchdarkly_usage_link_resource)                                       | Link resource                               |
| [`launchdarkly_usage_patch_application`](#launchdarkly_usage_patch_application)                               | Update application                          |
| [`launchdarkly_usage_patch_application_version`](#launchdarkly_usage_patch_application_version)               | Update application version                  |
| [`launchdarkly_usage_post_audit_log_entries`](#launchdarkly_usage_post_audit_log_entries)                     | Search audit log entries                    |
| [`launchdarkly_usage_post_audit_log_entry_counts`](#launchdarkly_usage_post_audit_log_entry_counts)           | Get audit log entry counts                  |
| [`launchdarkly_usage_unlink_resource`](#launchdarkly_usage_unlink_resource)                                   | Unlink resource                             |
| [`launchdarkly_usage_update_announcement_public`](#launchdarkly_usage_update_announcement_public)             | Update an announcement                      |
| [`launchdarkly_usage_update_view`](#launchdarkly_usage_update_view)                                           | Update view                                 |

***

## launchdarkly\_usage\_create\_announcement\_public

Create an announcement

**Parameters:**

| Parameter       | Type    | Required | Default | Description                                                                   |
| --------------- | ------- | -------- | ------- | ----------------------------------------------------------------------------- |
| `endTime`       | integer | No       | —       | The end time of the announcement. This is a Unix timestamp in milliseconds.   |
| `isDismissible` | boolean | Yes      | —       | true if the announcement is dismissible                                       |
| `message`       | string  | Yes      | —       | The message of the announcement                                               |
| `severity`      | string  | Yes      | —       | The severity of the announcement                                              |
| `startTime`     | integer | Yes      | —       | The start time of the announcement. This is a Unix timestamp in milliseconds. |
| `title`         | string  | Yes      | —       | The title of the announcement                                                 |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "endTime": {
        "type": "integer",
        "description": "The end time of the announcement. This is a Unix timestamp in milliseconds."
      },
      "isDismissible": {
        "type": "boolean",
        "description": "true if the announcement is dismissible"
      },
      "message": {
        "type": "string",
        "description": "The message of the announcement"
      },
      "severity": {
        "type": "string",
        "description": "The severity of the announcement",
        "enum": [
          "info",
          "warning",
          "critical"
        ]
      },
      "startTime": {
        "type": "integer",
        "description": "The start time of the announcement. This is a Unix timestamp in milliseconds."
      },
      "title": {
        "type": "string",
        "description": "The title of the announcement"
      }
    },
    "required": [
      "PCID",
      "isDismissible",
      "message",
      "severity",
      "startTime",
      "title"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_create\_view

Create view

**Parameters:**

| Parameter           | Type      | Required | Default | Description                                                                                                    |
| ------------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------- |
| `LD-API-Version`    | string    | Yes      | —       | Version of the endpoint.                                                                                       |
| `projectKey`        | string    | Yes      | —       | Project Key                                                                                                    |
| `description`       | string    | No       | —       | Optional detailed description of the view                                                                      |
| `generateSdkKeys`   | boolean   | No       | —       | Whether to generate SDK keys for this view                                                                     |
| `key`               | string    | Yes      | —       | Unique key for the view within the account/project                                                             |
| `maintainerId`      | string    | No       | —       | Member ID of the maintainer for this view. Only one of `maintainerId` or `maintainerTeamKey` can be specified. |
| `maintainerTeamKey` | string    | No       | —       | Key of the maintainer team for this view. Only one of `maintainerId` or `maintainerTeamKey` can be specified.  |
| `name`              | string    | Yes      | —       | Human-readable name for the view                                                                               |
| `tags`              | string\[] | No       | —       | Tags associated with this view                                                                                 |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "LD-API-Version": {
        "type": "string",
        "description": "Version of the endpoint.",
        "enum": [
          "beta"
        ]
      },
      "projectKey": {
        "type": "string",
        "description": "Project Key"
      },
      "description": {
        "type": "string",
        "description": "Optional detailed description of the view"
      },
      "generateSdkKeys": {
        "type": "boolean",
        "description": "Whether to generate SDK keys for this view"
      },
      "key": {
        "type": "string",
        "description": "Unique key for the view within the account/project"
      },
      "maintainerId": {
        "type": "string",
        "description": "Member ID of the maintainer for this view. Only one of `maintainerId` or `maintainerTeamKey` can be specified."
      },
      "maintainerTeamKey": {
        "type": "string",
        "description": "Key of the maintainer team for this view. Only one of `maintainerId` or `maintainerTeamKey` can be specified."
      },
      "name": {
        "type": "string",
        "description": "Human-readable name for the view"
      },
      "tags": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Tags associated with this view"
      }
    },
    "required": [
      "PCID",
      "LD-API-Version",
      "projectKey",
      "key",
      "name"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_delete\_announcement\_public

Delete an announcement

**Parameters:**

| Parameter        | Type   | Required | Default | Description     |
| ---------------- | ------ | -------- | ------- | --------------- |
| `announcementId` | string | Yes      | —       | Announcement Id |

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

***

## launchdarkly\_usage\_delete\_application

Delete application

**Parameters:**

| Parameter        | Type   | Required | Default | Description         |
| ---------------- | ------ | -------- | ------- | ------------------- |
| `applicationKey` | string | Yes      | —       | The application key |

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

***

## launchdarkly\_usage\_delete\_application\_version

Delete application version

**Parameters:**

| Parameter        | Type   | Required | Default | Description                 |
| ---------------- | ------ | -------- | ------- | --------------------------- |
| `applicationKey` | string | Yes      | —       | The application key         |
| `versionKey`     | string | Yes      | —       | The application version key |

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

***

## launchdarkly\_usage\_delete\_view

Delete view

**Parameters:**

| Parameter        | Type   | Required | Default | Description              |
| ---------------- | ------ | -------- | ------- | ------------------------ |
| `LD-API-Version` | string | Yes      | —       | Version of the endpoint. |
| `projectKey`     | string | Yes      | —       | Project Key              |
| `viewKey`        | string | Yes      | —       | View Key                 |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "LD-API-Version": {
        "type": "string",
        "description": "Version of the endpoint.",
        "enum": [
          "beta"
        ]
      },
      "projectKey": {
        "type": "string",
        "description": "Project Key"
      },
      "viewKey": {
        "type": "string",
        "description": "View Key"
      }
    },
    "required": [
      "PCID",
      "LD-API-Version",
      "projectKey",
      "viewKey"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_announcements\_public

Get announcements

**Parameters:**

| Parameter | Type    | Required | Default | Description                                                                                                                                                                        |
| --------- | ------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `status`  | string  | No       | —       | Filter announcements by status.                                                                                                                                                    |
| `limit`   | integer | No       | —       | The number of announcements to return.                                                                                                                                             |
| `offset`  | integer | No       | —       | Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "status": {
        "type": "string",
        "description": "Filter announcements by status.",
        "enum": [
          "active",
          "inactive",
          "scheduled"
        ]
      },
      "limit": {
        "type": "integer",
        "description": "The number of announcements to return."
      },
      "offset": {
        "type": "integer",
        "description": "Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_application

Get application by key

**Parameters:**

| Parameter        | Type   | Required | Default | Description                                                                                                    |
| ---------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------- |
| `applicationKey` | string | Yes      | —       | The application key                                                                                            |
| `expand`         | string | No       | —       | A comma-separated list of properties that can reveal additional information in the response. Options: `flags`. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "applicationKey": {
        "type": "string",
        "description": "The application key"
      },
      "expand": {
        "type": "string",
        "description": "A comma-separated list of properties that can reveal additional information in the response. Options: `flags`."
      }
    },
    "required": [
      "PCID",
      "applicationKey"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_application\_versions

Get application versions by application key

**Parameters:**

| Parameter        | Type    | Required | Default | Description                                                                                                                                                                                                                                                        |
| ---------------- | ------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `filter`         | string  | No       | —       | Accepts filter by `key`, `name`, `supported`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). |
| `applicationKey` | string  | Yes      | —       | The application key                                                                                                                                                                                                                                                |
| `limit`          | integer | No       | —       | The number of versions to return. Defaults to 50.                                                                                                                                                                                                                  |
| `offset`         | integer | No       | —       | Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`.                                                                                 |
| `sort`           | string  | No       | —       | Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending.                         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "filter": {
        "type": "string",
        "description": "Accepts filter by `key`, `name`, `supported`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions)."
      },
      "applicationKey": {
        "type": "string",
        "description": "The application key"
      },
      "limit": {
        "type": "integer",
        "description": "The number of versions to return. Defaults to 50."
      },
      "offset": {
        "type": "integer",
        "description": "Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`."
      },
      "sort": {
        "type": "string",
        "description": "Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending."
      }
    },
    "required": [
      "PCID",
      "applicationKey"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_applications

Get applications

**Parameters:**

| Parameter | Type    | Required | Default | Description                                                                                                                                                                                                                                                   |
| --------- | ------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `filter`  | string  | No       | —       | Accepts filter by `key`, `name`, `kind`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions). |
| `limit`   | integer | No       | —       | The number of applications to return. Defaults to 10.                                                                                                                                                                                                         |
| `offset`  | integer | No       | —       | Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`.                                                                            |
| `sort`    | string  | No       | —       | Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending.                    |
| `expand`  | string  | No       | —       | A comma-separated list of properties that can reveal additional information in the response. Options: `flags`.                                                                                                                                                |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "filter": {
        "type": "string",
        "description": "Accepts filter by `key`, `name`, `kind`, and `autoAdded`. To learn more about the filter syntax, read [Filtering applications and application versions](https://launchdarkly.com/docs/api/applications-beta#filtering-applications-and-application-versions)."
      },
      "limit": {
        "type": "integer",
        "description": "The number of applications to return. Defaults to 10."
      },
      "offset": {
        "type": "integer",
        "description": "Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`."
      },
      "sort": {
        "type": "string",
        "description": "Accepts sorting order and fields. Fields can be comma separated. Possible fields are `creationDate`, `name`. Examples: `sort=name` sort by names ascending, `sort=-name,creationDate` sort by names descending and creationDate ascending."
      },
      "expand": {
        "type": "string",
        "description": "A comma-separated list of properties that can reveal additional information in the response. Options: `flags`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_audit\_log\_entries

List audit log entries

**Parameters:**

| Parameter | Type    | Required | Default | Description                                                                                                                  |
| --------- | ------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------- |
| `before`  | integer | No       | —       | A timestamp filter, expressed as a Unix epoch time in milliseconds.  All entries this returns occurred before the timestamp. |
| `after`   | integer | No       | —       | A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred after the timestamp.   |
| `q`       | string  | No       | —       | Text to search for. You can search for the full or partial name of the resource.                                             |
| `limit`   | integer | No       | —       | A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10.                             |
| `spec`    | string  | No       | —       | A resource specifier that lets you filter audit log listings by resource                                                     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "before": {
        "type": "integer",
        "description": "A timestamp filter, expressed as a Unix epoch time in milliseconds.  All entries this returns occurred before the timestamp."
      },
      "after": {
        "type": "integer",
        "description": "A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries this returns occurred after the timestamp."
      },
      "q": {
        "type": "string",
        "description": "Text to search for. You can search for the full or partial name of the resource."
      },
      "limit": {
        "type": "integer",
        "description": "A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10."
      },
      "spec": {
        "type": "string",
        "description": "A resource specifier that lets you filter audit log listings by resource"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_audit\_log\_entry

Get audit log entry

**Parameters:**

| Parameter | Type   | Required | Default | Description                   |
| --------- | ------ | -------- | ------- | ----------------------------- |
| `id`      | string | Yes      | —       | The ID of the audit log entry |

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

***

## launchdarkly\_usage\_get\_contexts\_clientside\_usage

Get contexts clientside usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                                                                                                                                      |
| ----------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month.                                                                                                                                                                                                      |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time.                                                                                                                                                                                                                            |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                                                                                                                                        |
| `environmentKey`  | string | No       | —       | An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key.                                                                                                                                                      |
| `contextKind`     | string | No       | —       | A context kind to filter results by. Can be specified multiple times, one query parameter per context kind.                                                                                                                                                                                                                      |
| `sdkName`         | string | No       | —       | An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name.                                                                                                                                                                                                                             |
| `anonymous`       | string | No       | —       | An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.\<br/>Valid values: `true`, `false`.                                                                                                                                                                           |
| `groupBy`         | string | No       | —       | If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.\<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`.                                                                                                                                                                                                 |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month\_to\_date** supports `daily` and `monthly`; **incremental** and **rolling\_30d** support `daily` only.                                                                                                                    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "environmentKey": {
        "type": "string",
        "description": "An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key."
      },
      "contextKind": {
        "type": "string",
        "description": "A context kind to filter results by. Can be specified multiple times, one query parameter per context kind."
      },
      "sdkName": {
        "type": "string",
        "description": "An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name."
      },
      "anonymous": {
        "type": "string",
        "description": "An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`."
      },
      "groupBy": {
        "type": "string",
        "description": "If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_contexts\_serverside\_usage

Get contexts serverside usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                                                                                                                                      |
| ----------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.                                                                                                                                                                                                           |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.                                                                                                                                                                                                                                 |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                                                                                                                                        |
| `environmentKey`  | string | No       | —       | An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key.                                                                                                                                                      |
| `contextKind`     | string | No       | —       | A context kind to filter results by. Can be specified multiple times, one query parameter per context kind.                                                                                                                                                                                                                      |
| `sdkName`         | string | No       | —       | An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name.                                                                                                                                                                                                                             |
| `anonymous`       | string | No       | —       | An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.\<br/>Valid values: `true`, `false`.                                                                                                                                                                           |
| `groupBy`         | string | No       | —       | If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.\<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`.                                                                                                                                                                                                 |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month\_to\_date** supports `daily` and `monthly`; **incremental** and **rolling\_30d** support `daily` only.                                                                                                                    |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "environmentKey": {
        "type": "string",
        "description": "An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key."
      },
      "contextKind": {
        "type": "string",
        "description": "A context kind to filter results by. Can be specified multiple times, one query parameter per context kind."
      },
      "sdkName": {
        "type": "string",
        "description": "An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name."
      },
      "anonymous": {
        "type": "string",
        "description": "An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`."
      },
      "groupBy": {
        "type": "string",
        "description": "If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_contexts\_total\_usage

Get contexts total usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                                                                                                                                                 |
| ----------------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month.                                                                                                                                                                                                                 |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time.                                                                                                                                                                                                                                       |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                                                                                                                                                   |
| `environmentKey`  | string | No       | —       | An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key.                                                                                                                                                                 |
| `contextKind`     | string | No       | —       | A context kind to filter results by. Can be specified multiple times, one query parameter per context kind.                                                                                                                                                                                                                                 |
| `sdkName`         | string | No       | —       | An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name.                                                                                                                                                                                                                                        |
| `sdkType`         | string | No       | —       | An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type.                                                                                                                                                                                                                                        |
| `anonymous`       | string | No       | —       | An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.\<br/>Valid values: `true`, `false`.                                                                                                                                                                                      |
| `groupBy`         | string | No       | —       | If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.\<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkType`, `sdkAppId`, `anonymousV2`. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`.                                                                                                                                                                                                            |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month\_to\_date** supports `daily` and `monthly`; **incremental** and **rolling\_30d** support `daily` only.                                                                                                                               |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "environmentKey": {
        "type": "string",
        "description": "An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key."
      },
      "contextKind": {
        "type": "string",
        "description": "A context kind to filter results by. Can be specified multiple times, one query parameter per context kind."
      },
      "sdkName": {
        "type": "string",
        "description": "An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name."
      },
      "sdkType": {
        "type": "string",
        "description": "An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type."
      },
      "anonymous": {
        "type": "string",
        "description": "An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`."
      },
      "groupBy": {
        "type": "string",
        "description": "If specified, returns data for each distinct value of the given field. `contextKind` is always included as a grouping dimension. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkType`, `sdkAppId`, `anonymousV2`."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_data\_export\_events\_usage

Get data export events usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                                      |
| ----------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month.                                                                                                      |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time.                                                                                                                            |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                                        |
| `environmentKey`  | string | No       | —       | An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key.                                                      |
| `eventKind`       | string | No       | —       | An event kind to filter results by. Can be specified multiple times, one query parameter per event kind.                                                                                                                         |
| `groupBy`         | string | No       | —       | If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.\<br/>Valid values: `environmentId`, `eventKind`. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`.                                                                                                                |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month\_to\_date** aggregation type.\<br/>Valid values: `daily`, `hourly`, `monthly`.                                     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "environmentKey": {
        "type": "string",
        "description": "An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key."
      },
      "eventKind": {
        "type": "string",
        "description": "An event kind to filter results by. Can be specified multiple times, one query parameter per event kind."
      },
      "groupBy": {
        "type": "string",
        "description": "If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `environmentId`, `eventKind`."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_evaluations\_usage

Get evaluations usage

**Parameters:**

| Parameter        | Type   | Required | Default | Description                                                                       |
| ---------------- | ------ | -------- | ------- | --------------------------------------------------------------------------------- |
| `projectKey`     | string | Yes      | —       | The project key                                                                   |
| `environmentKey` | string | Yes      | —       | The environment key                                                               |
| `featureFlagKey` | string | Yes      | —       | The feature flag key                                                              |
| `from`           | string | No       | —       | The series of data returned starts from this timestamp. Defaults to 30 days ago.  |
| `to`             | string | No       | —       | The series of data returned ends at this timestamp. Defaults to the current time. |
| `tz`             | string | No       | —       | The timezone to use for breaks between days when returning daily data.            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "projectKey": {
        "type": "string",
        "description": "The project key"
      },
      "environmentKey": {
        "type": "string",
        "description": "The environment key"
      },
      "featureFlagKey": {
        "type": "string",
        "description": "The feature flag key"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp. Defaults to 30 days ago."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp. Defaults to the current time."
      },
      "tz": {
        "type": "string",
        "description": "The timezone to use for breaks between days when returning daily data."
      }
    },
    "required": [
      "PCID",
      "projectKey",
      "environmentKey",
      "featureFlagKey"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_events\_usage

Get events usage

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                                       |
| --------- | ------ | -------- | ------- | --------------------------------------------------------------------------------- |
| `type`    | string | Yes      | —       | The type of event to retrieve. Must be either `received` or `published`.          |
| `from`    | string | No       | —       | The series of data returned starts from this timestamp. Defaults to 24 hours ago. |
| `to`      | string | No       | —       | The series of data returned ends at this timestamp. Defaults to the current time. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "type": {
        "type": "string",
        "description": "The type of event to retrieve. Must be either `received` or `published`."
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp. Defaults to 24 hours ago."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp. Defaults to the current time."
      }
    },
    "required": [
      "PCID",
      "type"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_experimentation\_events\_usage

Get experimentation events usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                                                  |
| ----------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month.                                                                                                                  |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time.                                                                                                                                        |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                                                    |
| `environmentKey`  | string | No       | —       | An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key.                                                                  |
| `eventKey`        | string | No       | —       | An event key to filter results by. Can be specified multiple times, one query parameter per event key.                                                                                                                                       |
| `eventKind`       | string | No       | —       | An event kind to filter results by. Can be specified multiple times, one query parameter per event kind.                                                                                                                                     |
| `groupBy`         | string | No       | —       | If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.\<br/>Valid values: `environmentId`, `eventKey`, `eventKind`. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`.                                                                                                                            |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month\_to\_date** aggregation type.\<br/>Valid values: `daily`, `hourly`, `monthly`.                                                 |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "environmentKey": {
        "type": "string",
        "description": "An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key."
      },
      "eventKey": {
        "type": "string",
        "description": "An event key to filter results by. Can be specified multiple times, one query parameter per event key."
      },
      "eventKind": {
        "type": "string",
        "description": "An event kind to filter results by. Can be specified multiple times, one query parameter per event kind."
      },
      "groupBy": {
        "type": "string",
        "description": "If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `environmentId`, `eventKey`, `eventKind`."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_experimentation\_keys\_usage

Get experimentation keys usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                                                      |
| ----------------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month.                                                                                                                      |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time.                                                                                                                                            |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                                                        |
| `environmentKey`  | string | No       | —       | An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key.                                                                      |
| `experimentId`    | string | No       | —       | An experiment ID to filter results by. Can be specified multiple times, one query parameter per experiment ID.                                                                                                                                   |
| `groupBy`         | string | No       | —       | If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.\<br/>Valid values: `projectId`, `environmentId`, `experimentId`. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`.                                                                                                                                |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month\_to\_date** aggregation type.\<br/>Valid values: `daily`, `hourly`, `monthly`.                                                     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "environmentKey": {
        "type": "string",
        "description": "An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key."
      },
      "experimentId": {
        "type": "string",
        "description": "An experiment ID to filter results by. Can be specified multiple times, one query parameter per experiment ID."
      },
      "groupBy": {
        "type": "string",
        "description": "If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `experimentId`."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_linked\_resources

Get linked resources

**Parameters:**

| Parameter        | Type      | Required | Default | Description                                                                                                                                                                                                                                         |
| ---------------- | --------- | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `LD-API-Version` | string    | Yes      | —       | Version of the endpoint.                                                                                                                                                                                                                            |
| `projectKey`     | string    | Yes      | —       | Project Key                                                                                                                                                                                                                                         |
| `viewKey`        | string    | Yes      | —       | View Key                                                                                                                                                                                                                                            |
| `resourceType`   | string    | Yes      | —       | Resource Type                                                                                                                                                                                                                                       |
| `limit`          | integer   | No       | —       | The number of views to return.                                                                                                                                                                                                                      |
| `offset`         | integer   | No       | —       | Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`.                                                                  |
| `sort`           | string    | No       | —       | Field to sort by. Default field is `linkedAt`, default order is ascending.                                                                                                                                                                          |
| `query`          | string    | No       | —       | Case-insensitive search query for linked resources. Matches resource key and, when expanded, resource name.                                                                                                                                         |
| `filter`         | string    | No       | —       | Optional resource filter expression for linked resources. - Supported for `flags` and `segments` resource types. - Uses the same syntax as link/unlink and list endpoints. - For `segments`, `environmentId` is required when `filter` is provided. |
| `expand`         | string\[] | No       | —       | A comma-separated list of fields to expand.                                                                                                                                                                                                         |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "LD-API-Version": {
        "type": "string",
        "description": "Version of the endpoint.",
        "enum": [
          "beta"
        ]
      },
      "projectKey": {
        "type": "string",
        "description": "Project Key"
      },
      "viewKey": {
        "type": "string",
        "description": "View Key"
      },
      "resourceType": {
        "type": "string",
        "description": "Resource Type",
        "enum": [
          "flags",
          "segments"
        ]
      },
      "limit": {
        "type": "integer",
        "description": "The number of views to return."
      },
      "offset": {
        "type": "integer",
        "description": "Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`."
      },
      "sort": {
        "type": "string",
        "description": "Field to sort by. Default field is `linkedAt`, default order is ascending.",
        "enum": [
          "linkedAt",
          "name"
        ]
      },
      "query": {
        "type": "string",
        "description": "Case-insensitive search query for linked resources. Matches resource key and, when expanded, resource name."
      },
      "filter": {
        "type": "string",
        "description": "Optional resource filter expression for linked resources. - Supported for `flags` and `segments` resource types. - Uses the same syntax as link/unlink and list endpoints. - For `segments`, `environmentId` is required when `filter` is provided."
      },
      "expand": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "maintainer",
            "resourceDetails"
          ]
        },
        "description": "A comma-separated list of fields to expand."
      }
    },
    "required": [
      "PCID",
      "LD-API-Version",
      "projectKey",
      "viewKey",
      "resourceType"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_linked\_views

Get linked views for a given resource

**Parameters:**

| Parameter        | Type    | Required | Default | Description                                                                                                                                                                        |
| ---------------- | ------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `LD-API-Version` | string  | Yes      | —       | Version of the endpoint.                                                                                                                                                           |
| `projectKey`     | string  | Yes      | —       | Project Key                                                                                                                                                                        |
| `resourceType`   | string  | Yes      | —       | Resource Type                                                                                                                                                                      |
| `resourceKey`    | string  | Yes      | —       | Resource Key                                                                                                                                                                       |
| `environmentId`  | string  | No       | —       | Environment ID. Required when resourceType is 'segments'                                                                                                                           |
| `limit`          | integer | No       | —       | The number of views to return.                                                                                                                                                     |
| `offset`         | integer | No       | —       | Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "LD-API-Version": {
        "type": "string",
        "description": "Version of the endpoint.",
        "enum": [
          "beta"
        ]
      },
      "projectKey": {
        "type": "string",
        "description": "Project Key"
      },
      "resourceType": {
        "type": "string",
        "description": "Resource Type",
        "enum": [
          "flags",
          "segments"
        ]
      },
      "resourceKey": {
        "type": "string",
        "description": "Resource Key"
      },
      "environmentId": {
        "type": "string",
        "description": "Environment ID. Required when resourceType is 'segments'"
      },
      "limit": {
        "type": "integer",
        "description": "The number of views to return."
      },
      "offset": {
        "type": "integer",
        "description": "Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`."
      }
    },
    "required": [
      "PCID",
      "LD-API-Version",
      "projectKey",
      "resourceType",
      "resourceKey"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_mau\_sdks\_by\_type

Get MAU SDKs by type

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                                                                                                  |
| --------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`    | string | No       | —       | The data returned starts from this timestamp. Defaults to seven days ago. The timestamp is in Unix milliseconds, for example, 1656694800000. |
| `to`      | string | No       | —       | The data returned ends at this timestamp. Defaults to the current time. The timestamp is in Unix milliseconds, for example, 1657904400000.   |
| `sdktype` | string | No       | —       | The type of SDK with monthly active users (MAU) to list. Must be either `client` or `server`.                                                |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The data returned starts from this timestamp. Defaults to seven days ago. The timestamp is in Unix milliseconds, for example, 1656694800000."
      },
      "to": {
        "type": "string",
        "description": "The data returned ends at this timestamp. Defaults to the current time. The timestamp is in Unix milliseconds, for example, 1657904400000."
      },
      "sdktype": {
        "type": "string",
        "description": "The type of SDK with monthly active users (MAU) to list. Must be either `client` or `server`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_mauclientside\_usage

Get MAU clientside usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                                                                            |
| ----------------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month.                                                                                                                                            |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time.                                                                                                                                                                  |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                                                                              |
| `environmentKey`  | string | No       | —       | An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key.                                                                                            |
| `sdkName`         | string | No       | —       | An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name.                                                                                                                                                                   |
| `anonymous`       | string | No       | —       | An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.\<br/>Valid values: `true`, `false`.                                                                                                                 |
| `groupBy`         | string | No       | —       | If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.\<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`.                                                                                                                                       |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month\_to\_date** supports `daily` and `monthly`; **incremental** and **rolling\_30d** support `daily` only.                                                          |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "environmentKey": {
        "type": "string",
        "description": "An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key."
      },
      "sdkName": {
        "type": "string",
        "description": "An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name."
      },
      "anonymous": {
        "type": "string",
        "description": "An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`."
      },
      "groupBy": {
        "type": "string",
        "description": "If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkAppId`, `anonymousV2`."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_mautotal\_usage

Get MAU total usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                                                                                       |
| ----------------- | ------ | -------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month.                                                                                                                                                       |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time.                                                                                                                                                                             |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                                                                                         |
| `environmentKey`  | string | No       | —       | An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key.                                                                                                       |
| `sdkName`         | string | No       | —       | An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name.                                                                                                                                                                              |
| `sdkType`         | string | No       | —       | An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type.                                                                                                                                                                              |
| `anonymous`       | string | No       | —       | An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.\<br/>Valid values: `true`, `false`.                                                                                                                            |
| `groupBy`         | string | No       | —       | If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.\<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkType`, `sdkAppId`, `anonymousV2`. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`.                                                                                                                                                  |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month\_to\_date** supports `daily` and `monthly`; **incremental** and **rolling\_30d** support `daily` only.                                                                     |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "environmentKey": {
        "type": "string",
        "description": "An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key."
      },
      "sdkName": {
        "type": "string",
        "description": "An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name."
      },
      "sdkType": {
        "type": "string",
        "description": "An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type."
      },
      "anonymous": {
        "type": "string",
        "description": "An anonymous value to filter results by. Can be specified multiple times, one query parameter per anonymous value.<br/>Valid values: `true`, `false`."
      },
      "groupBy": {
        "type": "string",
        "description": "If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `sdkName`, `sdkType`, `sdkAppId`, `anonymousV2`."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_observability\_errors\_usage

Get observability errors usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                   |
| ----------------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.                                                                                        |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.                                                                                                              |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                     |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month\_to\_date** supports `daily` and `monthly`; **incremental** and **rolling\_30d** support `daily` only. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`.                                                                              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_observability\_logs\_usage

Get observability logs usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                   |
| ----------------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.                                                                                        |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.                                                                                                              |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                     |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month\_to\_date** supports `daily` and `monthly`; **incremental** and **rolling\_30d** support `daily` only. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`.                                                                              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_observability\_metrics\_usage

Get observability metrics usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                          |
| ----------------- | ------ | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.                                                                                               |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.                                                                                                                     |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                            |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month\_to\_date** supports `hourly`, `daily`, and `monthly`; **average** supports `hourly`, `daily`, and `monthly`. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `average`.                                                                                                        |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `hourly`, `daily`, and `monthly`; **average** supports `hourly`, `daily`, and `monthly`."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `average`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_observability\_sessions\_usage

Get observability sessions usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                   |
| ----------------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.                                                                                        |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.                                                                                                              |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                     |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month\_to\_date** supports `daily` and `monthly`; **incremental** and **rolling\_30d** support `daily` only. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`.                                                                              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_observability\_traces\_usage

Get observability traces usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                   |
| ----------------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.                                                                                        |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.                                                                                                              |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                     |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month\_to\_date** supports `daily` and `monthly`; **incremental** and **rolling\_30d** support `daily` only. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`.                                                                              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_sdk\_versions\_details

Get SDK versions usage details

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

***

## launchdarkly\_usage\_get\_service\_connections\_usage

Get service connections usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                                                                                                                        |
| ----------------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month.                                                                                                                                                                                        |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time.                                                                                                                                                                                                              |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                                                                                                                          |
| `environmentKey`  | string | No       | —       | An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key.                                                                                                                                        |
| `connectionType`  | string | No       | —       | A connection type to filter results by. Can be specified multiple times, one query parameter per connection type.                                                                                                                                                                                                  |
| `relayVersion`    | string | No       | —       | A relay version to filter results by. Can be specified multiple times, one query parameter per relay version.                                                                                                                                                                                                      |
| `sdkName`         | string | No       | —       | An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name.                                                                                                                                                                                                               |
| `sdkVersion`      | string | No       | —       | An SDK version to filter results by. Can be specified multiple times, one query parameter per SDK version.                                                                                                                                                                                                         |
| `sdkType`         | string | No       | —       | An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type.                                                                                                                                                                                                               |
| `sdkAppId`        | string | No       | —       | An SDK app ID to filter results by. Can be specified multiple times, one query parameter per SDK app ID.                                                                                                                                                                                                           |
| `groupBy`         | string | No       | —       | If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.\<br/>Valid values: `projectId`, `environmentId`, `connectionType`, `relayVersion`, `sdkName`, `sdkVersion`, `sdkType`, `sdkAppId`. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`.                                                                                                                                                                                                  |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month\_to\_date** aggregation type.\<br/>Valid values: `daily`, `hourly`, `monthly`.                                                                                                                       |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix milliseconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix milliseconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "environmentKey": {
        "type": "string",
        "description": "An environment key to filter results by. If specified, exactly one `projectKey` must be provided. Can be specified multiple times, one query parameter per environment key."
      },
      "connectionType": {
        "type": "string",
        "description": "A connection type to filter results by. Can be specified multiple times, one query parameter per connection type."
      },
      "relayVersion": {
        "type": "string",
        "description": "A relay version to filter results by. Can be specified multiple times, one query parameter per relay version."
      },
      "sdkName": {
        "type": "string",
        "description": "An SDK name to filter results by. Can be specified multiple times, one query parameter per SDK name."
      },
      "sdkVersion": {
        "type": "string",
        "description": "An SDK version to filter results by. Can be specified multiple times, one query parameter per SDK version."
      },
      "sdkType": {
        "type": "string",
        "description": "An SDK type to filter results by. Can be specified multiple times, one query parameter per SDK type."
      },
      "sdkAppId": {
        "type": "string",
        "description": "An SDK app ID to filter results by. Can be specified multiple times, one query parameter per SDK app ID."
      },
      "groupBy": {
        "type": "string",
        "description": "If specified, returns data for each distinct value of the given field. Can be specified multiple times to group data by multiple dimensions, one query parameter per dimension.<br/>Valid values: `projectId`, `environmentId`, `connectionType`, `relayVersion`, `sdkName`, `sdkVersion`, `sdkType`, `sdkAppId`."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. `monthly` granularity is only supported with the **month_to_date** aggregation type.<br/>Valid values: `daily`, `hourly`, `monthly`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_stream\_usage

Get stream usage

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                                           |
| --------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------- |
| `source`  | string | Yes      | —       | The source of streaming connections to describe. Must be either `client` or `server`. |
| `from`    | string | No       | —       | The series of data returned starts from this timestamp. Defaults to 30 days ago.      |
| `to`      | string | No       | —       | The series of data returned ends at this timestamp. Defaults to the current time.     |
| `tz`      | string | No       | —       | The timezone to use for breaks between days when returning daily data.                |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "source": {
        "type": "string",
        "description": "The source of streaming connections to describe. Must be either `client` or `server`."
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp. Defaults to 30 days ago."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp. Defaults to the current time."
      },
      "tz": {
        "type": "string",
        "description": "The timezone to use for breaks between days when returning daily data."
      }
    },
    "required": [
      "PCID",
      "source"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_stream\_usage\_by\_sdk\_version

Get stream usage by SDK version

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                                              |
| --------- | ------ | -------- | ------- | ---------------------------------------------------------------------------------------- |
| `source`  | string | Yes      | —       | The source of streaming connections to describe. Must be either `client` or `server`.    |
| `from`    | string | No       | —       | The series of data returned starts from this timestamp. Defaults to 24 hours ago.        |
| `to`      | string | No       | —       | The series of data returned ends at this timestamp. Defaults to the current time.        |
| `tz`      | string | No       | —       | The timezone to use for breaks between days when returning daily data.                   |
| `sdk`     | string | No       | —       | If included, this filters the returned series to only those that match this SDK name.    |
| `version` | string | No       | —       | If included, this filters the returned series to only those that match this SDK version. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "source": {
        "type": "string",
        "description": "The source of streaming connections to describe. Must be either `client` or `server`."
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp. Defaults to 24 hours ago."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp. Defaults to the current time."
      },
      "tz": {
        "type": "string",
        "description": "The timezone to use for breaks between days when returning daily data."
      },
      "sdk": {
        "type": "string",
        "description": "If included, this filters the returned series to only those that match this SDK name."
      },
      "version": {
        "type": "string",
        "description": "If included, this filters the returned series to only those that match this SDK version."
      }
    },
    "required": [
      "PCID",
      "source"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_stream\_usage\_sdkversion

Get stream usage SDK versions

**Parameters:**

| Parameter | Type   | Required | Default | Description                                                                           |
| --------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------- |
| `source`  | string | Yes      | —       | The source of streaming connections to describe. Must be either `client` or `server`. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "source": {
        "type": "string",
        "description": "The source of streaming connections to describe. Must be either `client` or `server`."
      }
    },
    "required": [
      "PCID",
      "source"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_vega\_aiusage

Get Vega AI usage

**Parameters:**

| Parameter         | Type   | Required | Default | Description                                                                                                                                                                                                   |
| ----------------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `from`            | string | No       | —       | The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month.                                                                                        |
| `to`              | string | No       | —       | The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time.                                                                                                              |
| `projectKey`      | string | No       | —       | A project key to filter results by. Can be specified multiple times, one query parameter per project key.                                                                                                     |
| `granularity`     | string | No       | —       | Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month\_to\_date** supports `daily` and `monthly`; **incremental** and **rolling\_30d** support `daily` only. |
| `aggregationType` | string | No       | —       | Specifies the aggregation method. Defaults to `month_to_date`.\<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`.                                                                              |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "from": {
        "type": "string",
        "description": "The series of data returned starts from this timestamp (Unix seconds). Defaults to the beginning of the current month."
      },
      "to": {
        "type": "string",
        "description": "The series of data returned ends at this timestamp (Unix seconds). Defaults to the current time."
      },
      "projectKey": {
        "type": "string",
        "description": "A project key to filter results by. Can be specified multiple times, one query parameter per project key."
      },
      "granularity": {
        "type": "string",
        "description": "Specifies the data granularity. Defaults to `daily`. Valid values depend on `aggregationType`: **month_to_date** supports `daily` and `monthly`; **incremental** and **rolling_30d** support `daily` only."
      },
      "aggregationType": {
        "type": "string",
        "description": "Specifies the aggregation method. Defaults to `month_to_date`.<br/>Valid values: `month_to_date`, `incremental`, `rolling_30d`."
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_view

Get view

**Parameters:**

| Parameter        | Type      | Required | Default | Description                                                                                                                                                                                                                                                                            |
| ---------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `LD-API-Version` | string    | Yes      | —       | Version of the endpoint.                                                                                                                                                                                                                                                               |
| `projectKey`     | string    | Yes      | —       | Project Key                                                                                                                                                                                                                                                                            |
| `viewKey`        | string    | Yes      | —       | View Key                                                                                                                                                                                                                                                                               |
| `sort`           | string    | No       | —       | A sort to apply to the list of views.                                                                                                                                                                                                                                                  |
| `limit`          | integer   | No       | —       | The number of views to return.                                                                                                                                                                                                                                                         |
| `offset`         | integer   | No       | —       | Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`.                                                                                                     |
| `filter`         | string    | No       | —       | A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals). |
| `expand`         | string\[] | No       | —       | A comma-separated list of fields to expand.                                                                                                                                                                                                                                            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "LD-API-Version": {
        "type": "string",
        "description": "Version of the endpoint.",
        "enum": [
          "beta"
        ]
      },
      "projectKey": {
        "type": "string",
        "description": "Project Key"
      },
      "viewKey": {
        "type": "string",
        "description": "View Key"
      },
      "sort": {
        "type": "string",
        "description": "A sort to apply to the list of views.",
        "enum": [
          "key",
          "name",
          "updatedAt"
        ]
      },
      "limit": {
        "type": "integer",
        "description": "The number of views to return."
      },
      "offset": {
        "type": "integer",
        "description": "Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`."
      },
      "filter": {
        "type": "string",
        "description": "A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals)."
      },
      "expand": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "allFlags",
            "allSegments",
            "allResources",
            "maintainer",
            "flagsSummary",
            "segmentsSummary",
            "resourceSummary"
          ]
        },
        "description": "A comma-separated list of fields to expand."
      }
    },
    "required": [
      "PCID",
      "LD-API-Version",
      "projectKey",
      "viewKey"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_get\_views

List views

**Parameters:**

| Parameter        | Type      | Required | Default | Description                                                                                                                                                                                                                                                                            |
| ---------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `LD-API-Version` | string    | Yes      | —       | Version of the endpoint.                                                                                                                                                                                                                                                               |
| `projectKey`     | string    | Yes      | —       | Project Key                                                                                                                                                                                                                                                                            |
| `sort`           | string    | No       | —       | A sort to apply to the list of views.                                                                                                                                                                                                                                                  |
| `limit`          | integer   | No       | —       | The number of views to return.                                                                                                                                                                                                                                                         |
| `offset`         | integer   | No       | —       | Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`.                                                                                                     |
| `filter`         | string    | No       | —       | A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals). |
| `expand`         | string\[] | No       | —       | A comma-separated list of fields to expand.                                                                                                                                                                                                                                            |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "LD-API-Version": {
        "type": "string",
        "description": "Version of the endpoint.",
        "enum": [
          "beta"
        ]
      },
      "projectKey": {
        "type": "string",
        "description": "Project Key"
      },
      "sort": {
        "type": "string",
        "description": "A sort to apply to the list of views.",
        "enum": [
          "key",
          "name",
          "updatedAt"
        ]
      },
      "limit": {
        "type": "integer",
        "description": "The number of views to return."
      },
      "offset": {
        "type": "integer",
        "description": "Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`."
      },
      "filter": {
        "type": "string",
        "description": "A filter to apply to the list of views. Supports the following fields and operators: `name` (equals, notEquals, startsWith, contains, anyOf), `key` (equals, notEquals, startsWith, contains, anyOf), `tag` (equals, anyOf), `maintainerId` (equals, anyOf), `isPayloadView` (equals)."
      },
      "expand": {
        "type": "array",
        "items": {
          "type": "string",
          "enum": [
            "flagsSummary",
            "segmentsSummary",
            "resourceSummary"
          ]
        },
        "description": "A comma-separated list of fields to expand."
      }
    },
    "required": [
      "PCID",
      "LD-API-Version",
      "projectKey"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_link\_resource

Link resource

**Parameters:**

| Parameter        | Type   | Required | Default | Description                                                                                                                                                                                                                                                  |
| ---------------- | ------ | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `LD-API-Version` | string | Yes      | —       | Version of the endpoint.                                                                                                                                                                                                                                     |
| `projectKey`     | string | Yes      | —       | Project Key                                                                                                                                                                                                                                                  |
| `viewKey`        | string | Yes      | —       | View Key                                                                                                                                                                                                                                                     |
| `resourceType`   | string | Yes      | —       | Resource Type                                                                                                                                                                                                                                                |
| `body`           | object | Yes      | —       | Resources to link to the view. You can provide explicit keys/IDs, filters, or both. - Flags: identified by key or filtered by maintainerId, maintainerTeamKey, tags, state, query - Segments: identified by segment ID or filtered by tags, query, unbounded |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "LD-API-Version": {
        "type": "string",
        "description": "Version of the endpoint.",
        "enum": [
          "beta"
        ]
      },
      "projectKey": {
        "type": "string",
        "description": "Project Key"
      },
      "viewKey": {
        "type": "string",
        "description": "View Key"
      },
      "resourceType": {
        "type": "string",
        "description": "Resource Type",
        "enum": [
          "flags",
          "segments"
        ]
      },
      "body": {
        "type": "object",
        "description": "Resources to link to the view. You can provide explicit keys/IDs, filters, or both. - Flags: identified by key or filtered by maintainerId, maintainerTeamKey, tags, state, query - Segments: identified by segment ID or filtered by tags, query, unbounded"
      }
    },
    "required": [
      "PCID",
      "LD-API-Version",
      "projectKey",
      "viewKey",
      "resourceType",
      "body"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_patch\_application

Update application

**Parameters:**

| Parameter        | Type      | Required | Default | Description         |
| ---------------- | --------- | -------- | ------- | ------------------- |
| `applicationKey` | string    | Yes      | —       | The application key |
| `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"
      },
      "applicationKey": {
        "type": "string",
        "description": "The application key"
      },
      "body": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "op": {
              "type": "string",
              "description": "The type of operation to perform"
            },
            "path": {
              "type": "string",
              "description": "A JSON Pointer string specifying the part of the document to operate on"
            },
            "value": {
              "description": "A JSON value used in \"add\", \"replace\", and \"test\" operations"
            }
          },
          "required": [
            "op",
            "path"
          ]
        },
        "description": "Request body"
      }
    },
    "required": [
      "PCID",
      "applicationKey",
      "body"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_patch\_application\_version

Update application version

**Parameters:**

| Parameter        | Type      | Required | Default | Description                 |
| ---------------- | --------- | -------- | ------- | --------------------------- |
| `applicationKey` | string    | Yes      | —       | The application key         |
| `versionKey`     | string    | Yes      | —       | The application version key |
| `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"
      },
      "applicationKey": {
        "type": "string",
        "description": "The application key"
      },
      "versionKey": {
        "type": "string",
        "description": "The application version key"
      },
      "body": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "op": {
              "type": "string",
              "description": "The type of operation to perform"
            },
            "path": {
              "type": "string",
              "description": "A JSON Pointer string specifying the part of the document to operate on"
            },
            "value": {
              "description": "A JSON value used in \"add\", \"replace\", and \"test\" operations"
            }
          },
          "required": [
            "op",
            "path"
          ]
        },
        "description": "Request body"
      }
    },
    "required": [
      "PCID",
      "applicationKey",
      "versionKey",
      "body"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_post\_audit\_log\_entries

Search audit log entries

**Parameters:**

| Parameter | Type      | Required | Default | Description                                                                                                              |
| --------- | --------- | -------- | ------- | ------------------------------------------------------------------------------------------------------------------------ |
| `before`  | integer   | No       | —       | A timestamp filter, expressed as a Unix epoch time in milliseconds.  All entries returned occurred before the timestamp. |
| `after`   | integer   | No       | —       | A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned occurred after the timestamp.   |
| `q`       | string    | No       | —       | Text to search for. You can search for the full or partial name of the resource.                                         |
| `limit`   | integer   | No       | —       | A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10.                         |
| `body`    | object\[] | No       | —       | Request body                                                                                                             |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "before": {
        "type": "integer",
        "description": "A timestamp filter, expressed as a Unix epoch time in milliseconds.  All entries returned occurred before the timestamp."
      },
      "after": {
        "type": "integer",
        "description": "A timestamp filter, expressed as a Unix epoch time in milliseconds. All entries returned occurred after the timestamp."
      },
      "q": {
        "type": "string",
        "description": "Text to search for. You can search for the full or partial name of the resource."
      },
      "limit": {
        "type": "integer",
        "description": "A limit on the number of audit log entries that return. Set between 1 and 20. The default is 10."
      },
      "body": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "resources": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Resource specifier strings"
            },
            "notResources": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Targeted resources are the resources NOT in this list. The <code>resources</code> field must be empty to use this field."
            },
            "actions": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Actions to perform on a resource"
            },
            "notActions": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Targeted actions are the actions NOT in this list. The <code>actions</code> field must be empty to use this field."
            },
            "effect": {
              "type": "string",
              "enum": [
                "allow",
                "deny"
              ],
              "description": "Whether this statement should allow or deny actions on the resources."
            }
          },
          "required": [
            "effect"
          ]
        },
        "description": "Request body"
      }
    },
    "required": [
      "PCID"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_post\_audit\_log\_entry\_counts

Get audit log entry counts

**Parameters:**

| Parameter | Type      | Required | Default | Description                                                                          |
| --------- | --------- | -------- | ------- | ------------------------------------------------------------------------------------ |
| `before`  | integer   | No       | —       | A timestamp filter, expressed as a Unix epoch time in milliseconds. Defaults to now. |
| `after`   | integer   | Yes      | —       | A timestamp filter, expressed as a Unix epoch time in milliseconds. Required.        |
| `buckets` | integer   | No       | —       | Number of time buckets to divide the range into. Default 50, max 500.                |
| `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"
      },
      "before": {
        "type": "integer",
        "description": "A timestamp filter, expressed as a Unix epoch time in milliseconds. Defaults to now."
      },
      "after": {
        "type": "integer",
        "description": "A timestamp filter, expressed as a Unix epoch time in milliseconds. Required."
      },
      "buckets": {
        "type": "integer",
        "description": "Number of time buckets to divide the range into. Default 50, max 500."
      },
      "body": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "resources": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Resource specifier strings"
            },
            "notResources": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Targeted resources are the resources NOT in this list. The <code>resources</code> field must be empty to use this field."
            },
            "actions": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Actions to perform on a resource"
            },
            "notActions": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Targeted actions are the actions NOT in this list. The <code>actions</code> field must be empty to use this field."
            },
            "effect": {
              "type": "string",
              "enum": [
                "allow",
                "deny"
              ],
              "description": "Whether this statement should allow or deny actions on the resources."
            }
          },
          "required": [
            "effect"
          ]
        },
        "description": "Request body"
      }
    },
    "required": [
      "PCID",
      "after",
      "body"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_unlink\_resource

Unlink resource

**Parameters:**

| Parameter        | Type   | Required | Default | Description                                                                                           |
| ---------------- | ------ | -------- | ------- | ----------------------------------------------------------------------------------------------------- |
| `LD-API-Version` | string | Yes      | —       | Version of the endpoint.                                                                              |
| `projectKey`     | string | Yes      | —       | Project Key                                                                                           |
| `viewKey`        | string | Yes      | —       | View Key                                                                                              |
| `resourceType`   | string | Yes      | —       | Resource Type                                                                                         |
| `body`           | object | Yes      | —       | The resource to link to the view. Flags are identified by key. Segments are identified by segment ID. |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "LD-API-Version": {
        "type": "string",
        "description": "Version of the endpoint.",
        "enum": [
          "beta"
        ]
      },
      "projectKey": {
        "type": "string",
        "description": "Project Key"
      },
      "viewKey": {
        "type": "string",
        "description": "View Key"
      },
      "resourceType": {
        "type": "string",
        "description": "Resource Type",
        "enum": [
          "flags",
          "segments"
        ]
      },
      "body": {
        "type": "object",
        "description": "The resource to link to the view. Flags are identified by key. Segments are identified by segment ID."
      }
    },
    "required": [
      "PCID",
      "LD-API-Version",
      "projectKey",
      "viewKey",
      "resourceType",
      "body"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_update\_announcement\_public

Update an announcement

**Parameters:**

| Parameter        | Type      | Required | Default | Description                      |
| ---------------- | --------- | -------- | ------- | -------------------------------- |
| `announcementId` | string    | Yes      | —       | Announcement Id                  |
| `body`           | object\[] | Yes      | —       | Update announcement request body |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "announcementId": {
        "type": "string",
        "description": "Announcement Id"
      },
      "body": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "op": {
              "type": "string",
              "description": "The type of operation to perform"
            },
            "path": {
              "type": "string",
              "description": "A JSON Pointer string specifying the part of the document to operate on"
            },
            "value": {
              "description": "A JSON value used in \"add\", \"replace\", and \"test\" operations"
            }
          },
          "required": [
            "op",
            "path"
          ]
        },
        "description": "Update announcement request body"
      }
    },
    "required": [
      "PCID",
      "announcementId",
      "body"
    ]
  }
  ```
</Expandable>

***

## launchdarkly\_usage\_update\_view

Update view

**Parameters:**

| Parameter           | Type      | Required | Default | Description                                                                                                    |
| ------------------- | --------- | -------- | ------- | -------------------------------------------------------------------------------------------------------------- |
| `LD-API-Version`    | string    | Yes      | —       | Version of the endpoint.                                                                                       |
| `projectKey`        | string    | Yes      | —       | Project Key                                                                                                    |
| `viewKey`           | string    | Yes      | —       | View Key                                                                                                       |
| `archived`          | boolean   | No       | —       | Whether or not the view is archived                                                                            |
| `description`       | string    | No       | —       | Optional detailed description of the view                                                                      |
| `generateSdkKeys`   | boolean   | No       | —       | Whether to generate SDK keys for this view                                                                     |
| `maintainerId`      | string    | No       | —       | Member ID of the maintainer for this view. Only one of `maintainerId` or `maintainerTeamKey` can be specified. |
| `maintainerTeamKey` | string    | No       | —       | Key of the maintainer team for this view. Only one of `maintainerId` or `maintainerTeamKey` can be specified.  |
| `name`              | string    | No       | —       | Human-readable name for the view                                                                               |
| `tags`              | string\[] | No       | —       | Tags associated with this view                                                                                 |

<Expandable title="inputSchema">
  ```json theme={null}
  {
    "type": "object",
    "properties": {
      "PCID": {
        "type": "string",
        "description": "Pink Connect ID for the authenticated connection"
      },
      "LD-API-Version": {
        "type": "string",
        "description": "Version of the endpoint.",
        "enum": [
          "beta"
        ]
      },
      "projectKey": {
        "type": "string",
        "description": "Project Key"
      },
      "viewKey": {
        "type": "string",
        "description": "View Key"
      },
      "archived": {
        "type": "boolean",
        "description": "Whether or not the view is archived"
      },
      "description": {
        "type": "string",
        "description": "Optional detailed description of the view"
      },
      "generateSdkKeys": {
        "type": "boolean",
        "description": "Whether to generate SDK keys for this view"
      },
      "maintainerId": {
        "type": "string",
        "description": "Member ID of the maintainer for this view. Only one of `maintainerId` or `maintainerTeamKey` can be specified."
      },
      "maintainerTeamKey": {
        "type": "string",
        "description": "Key of the maintainer team for this view. Only one of `maintainerId` or `maintainerTeamKey` can be specified."
      },
      "name": {
        "type": "string",
        "description": "Human-readable name for the view"
      },
      "tags": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Tags associated with this view"
      }
    },
    "required": [
      "PCID",
      "LD-API-Version",
      "projectKey",
      "viewKey"
    ]
  }
  ```
</Expandable>
