---
title: Get Google-Managed Data Controls
url: https://platform.claude.com/docs/en/api/http/beta/user_profiles/providers/google/data_controls/retrieve
---

# Get Google-Managed Data Controls

**GET** `/v1/user_profiles/{user_profile_id}/providers/google/data_controls`

Get the profile's encryption keys and storage buckets for Claude on Google Cloud's Agent Platform, with each region's status.

## Path parameters

- `user_profile_id: string`

  The ID of the user profile whose Google-managed data controls to retrieve (`uprof_...`).

## Headers

- `"anthropic-version": optional string`

  The version of the Claude API you want to use.

  Read more about versioning and our version history [here](https://platform.claude.com/docs/en/api/versioning?sdk_languages=http).

- `"anthropic-beta": optional array of AnthropicBeta`

  This endpoint is in beta: requests must send `google-managed-data-controls-2026-09-01` in this header.

  - `string`

  - `"computer-use-2024-10-22"`

  - `"computer-use-2025-01-24"`

  - `"output-128k-2025-02-19"`

  - `"mcp-client-2025-04-04"`

  - `"mcp-client-2025-11-20"`

  - `"dev-full-thinking-2025-05-14"`

  - `"interleaved-thinking-2025-05-14"`

  - `"code-execution-2025-05-22"`

  - `"context-1m-2025-08-07"`

  - `"context-management-2025-06-27"`

  - `"model-context-window-exceeded-2025-08-26"`

  - `"fast-mode-2026-02-01"`

  - `"output-300k-2026-03-24"`

  - `"user-profiles-2026-03-24"`

  - `"user-profiles-2026-08-18"`

  - `"user-profiles-2026-09-04"`

  - `"advisor-tool-2026-03-01"`

  - `"managed-agents-2026-04-01"`

  - `"dreaming-2026-04-21"`

  - `"thinking-token-count-2026-05-13"`

  - `"server-side-fallback-2026-06-01"`

  - `"server-side-fallback-2026-07-01"`

  - `"fallback-credit-2026-06-01"`

  - `"fallback-credit-2026-07-01"`

  - `"agent-memory-2026-07-22"`

  - `"mid-conversation-tool-changes-2026-07-01"`

  - `"compact-2026-01-12"`

  - `"computer-use-2025-11-24"`

  - `"mcp-tunnels-2026-06-22"`

  - `"structured-outputs-2025-11-13"`

  - `"task-budgets-2026-03-13"`

  - `"thinking-display-updates-2026-08-18"`

  - `"mid-conversation-output-config-2026-07-01"`

  - `"thinking-binding-controls-2026-08-01"`

  - `"mid-conversation-system-clear-at-2026-08-21"`

  - `"compact-2026-09-04"`

  - `"inline-tools-2026-09-15"`

  - `"mcp-client-2026-09-15"`

  - `"ce-plugins-2026-09-01"`

  - `"spend-limit-reads-2026-09-26"`

  - `"telemetry-destinations-2026-08-11"`

  - `"webhooks-2026-10-07"`

  - `"admin-user-sign-out-2026-10-08"`

  - `"message-threads-2026-08-12"`

  - `"analytics-usage-cost-2026-08-24"`

  - `"experimental-claude-tag-2026-10-21"`

  - `"ce-claude-code-managed-settings-2026-10-06"`

  - `"efs-2026-10-01"`

  - `"google-managed-data-controls-2026-09-01"`

  - `"user-profiles-billing-2026-10-01"`

  - `"message-batches-2024-09-24"`

    **Deprecated**: This value is no longer needed. Remove it from your requests.

  - `"prompt-caching-2024-07-31"`

    **Deprecated**: This value is no longer needed. Remove it from your requests.

  - `"pdfs-2024-09-25"`

    **Deprecated**: This value is no longer needed. Remove it from your requests.

  - `"token-counting-2024-11-01"`

    **Deprecated**: This value is no longer needed. Remove it from your requests.

  - `"token-efficient-tools-2025-02-19"`

    **Deprecated**: This value is no longer needed. Remove it from your requests.

  - `"files-api-2025-04-14"`

    **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/files#migrate-from-files-api-2025-04-14

  - `"extended-cache-ttl-2025-04-11"`

    **Deprecated**: This value is no longer needed. Remove it from your requests.

  - `"skills-2025-10-02"`

    **Deprecated**: Sending this value selects the beta response shapes. Removing it moves you to the current shapes, so follow the migration steps: https://platform.claude.com/docs/en/build-with-claude/skills-guide#migrate-from-skills-2025-10-02

  - `"cache-diagnosis-2026-04-07"`

    **Deprecated**: This value is no longer needed. Remove it from your requests.

  - `"ce-user-management-2026-07-13"`

    **Deprecated**: This value is no longer needed. Remove it from your requests.

- `"anthropic-workspace-id": optional string`

  Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).

  Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.

## Returns

- `BetaGoogleManagedDataControls object`

  A user profile's encryption key and storage bucket settings for Claude on Google Cloud's Agent Platform. Every user profile has one of these objects. You can read and update it, but not create or delete it. Keys and buckets are set for each region. A request's region depends on the Google endpoint it is sent to: `us` is the US multi-region endpoint and the regional endpoint of every location whose name starts with `us-`, `eu` is the EU multi-region endpoint and the regional endpoint of every location whose name starts with `europe-`, `sg` is the `asia-southeast1` regional endpoint, and `global` is the global endpoint, wherever Google serves the request. Anthropic may add regions.

  - `type: "google_managed_data_controls"`

    Object type. Always `google_managed_data_controls`.

  - `bucket_label_value: string`

    The label value that every bucket set up for this profile must have. It never changes.

  - `cmek: BetaGoogleManagedCMEKControl`

    The customer-managed encryption key control: the key in the end customer's Google Cloud KMS that is set for each region.

    - `BetaGoogleManagedCMEKDisabled object`

      The control is off and has no keys.

      - `type: "disabled"`

      - `retired_keys: array of BetaGoogleManagedRetiredKey`

        Keys that a region has retired, earliest `expires_at` first.

        - `expires_at: string`

          When this entry is removed, in RFC 3339 format.

          format: date-time

        - `external_key_id: string`

          The ID of the retired External Key (`ekey_...`).

        - `region: string`

          The code of the region that retired the key.

    - `BetaGoogleManagedCMEKEnabled object`

      The control is on and has a key for at least one region.

      - `type: "enabled"`

      - `external_key_ids: map[string]`

        The ID of the External Key configured for each region (`ekey_...`), keyed by region code. A region with no key is left out.

      - `retired_keys: array of BetaGoogleManagedRetiredKey`

        Keys that a region has retired, earliest `expires_at` first.

        - `expires_at: string`

          When this entry is removed, in RFC 3339 format.

          format: date-time

        - `external_key_id: string`

          The ID of the retired External Key (`ekey_...`).

        - `region: string`

          The code of the region that retired the key.

      - `status: map[BetaGoogleManagedCMEKRegionStatus]`

        Each region's status for the control, keyed by region code. A region that your organization is not offered may have no entry, and Anthropic may add regions.

        - `BetaGoogleManagedCMEKRegionNotConfigured object`

          No key is set for this region.

          - `type: "not_configured"`

          - `effective_external_key_id: string or null`

            The ID of the External Key that the region applies now (`ekey_...`). While a replacement key is `pending` or `failed`, this is the previous key. `null` when the region applies no key.

        - `BetaGoogleManagedCMEKRegionPending object`

          The region is validating the configured key, or the key has passed validation and the region has not started to apply it.

          - `type: "pending"`

          - `effective_external_key_id: string or null`

            The ID of the External Key that the region applies now (`ekey_...`). While a replacement key is `pending` or `failed`, this is the previous key. `null` when the region applies no key.

          - `error: string or null`

            Why the latest validation attempt failed. `null` when no attempt has failed.

        - `BetaGoogleManagedCMEKRegionActive object`

          The configured key passed validation, and the region applies it.

          - `type: "active"`

          - `effective_external_key_id: string or null`

            The ID of the External Key that the region applies now (`ekey_...`). While a replacement key is `pending` or `failed`, this is the previous key. `null` when the region applies no key.

          - `error: string or null`

            Why Google Cloud KMS refused the region's latest use of the key. `null` when the region has no refusal to report. A `null` does not mean that the key works.

          - `last_checked_at: string or null`

            When the region last got a successful answer from Google Cloud KMS for the key, in RFC 3339 format. `null` when it has none to report.

            format: date-time

          - `validated_at: string`

            When the status last became `active`, in RFC 3339 format.

            format: date-time

        - `BetaGoogleManagedCMEKRegionFailed object`

          The region stopped retrying validation before the configured key passed. To restart validation, send the region a key again. It can be the same key.

          - `type: "failed"`

          - `effective_external_key_id: string or null`

            The ID of the External Key that the region applies now (`ekey_...`). While a replacement key is `pending` or `failed`, this is the previous key. `null` when the region applies no key.

          - `error: string`

            Why the region cannot use the configured key.

        - `BetaGoogleManagedCMEKRegionSuspended object`

          Anthropic has withdrawn or paused its approval of customer-managed keys for this profile, so the region does not apply the control.

          - `type: "suspended"`

          - `effective_external_key_id: string or null`

            The ID of the External Key that the region applies now (`ekey_...`). While a replacement key is `pending` or `failed`, this is the previous key. `null` when the region applies no key.

  - `storage: BetaGoogleManagedStorageControl`

    The customer-owned storage control: the end customer's Cloud Storage bucket that is set for each region.

    - `BetaGoogleManagedStorageDisabled object`

      The control is off and has no buckets.

      - `type: "disabled"`

      - `retired_buckets: array of BetaGoogleManagedRetiredBucket`

        Buckets that a region has retired, earliest `expires_at` first.

        - `bucket_name: string`

          The bucket's Cloud Storage name.

        - `expires_at: string`

          When this entry is removed, in RFC 3339 format.

          format: date-time

        - `project_number: string`

          The number of the Google Cloud project that holds the bucket, in decimal.

        - `region: string`

          The code of the region that retired the bucket.

    - `BetaGoogleManagedStorageEnabled object`

      The control is on and has a bucket for at least one region.

      - `type: "enabled"`

      - `buckets: map[BetaGoogleManagedStorageBucket]`

        The bucket configured for each region, keyed by region code. A region with no bucket is left out.

        - `bucket_name: string`

          The bucket's Cloud Storage name.

        - `kms_key_name: string or null`

          The resource name of the Cloud KMS key that the bucket encrypts objects under by default. `null` until the region has confirmed the bucket, and when the bucket has no default key.

        - `location: string or null`

          The bucket's location, as Cloud Storage reports it. `null` until the region has confirmed the bucket.

        - `project_id: string or null`

          The ID of the project that holds the bucket. `null` until the region has confirmed the bucket.

        - `project_number: string`

          The number of the Google Cloud project that holds the bucket, in decimal.

      - `retired_buckets: array of BetaGoogleManagedRetiredBucket`

        Buckets that a region has retired, earliest `expires_at` first.

        - `bucket_name: string`

          The bucket's Cloud Storage name.

        - `expires_at: string`

          When this entry is removed, in RFC 3339 format.

          format: date-time

        - `project_number: string`

          The number of the Google Cloud project that holds the bucket, in decimal.

        - `region: string`

          The code of the region that retired the bucket.

      - `status: map[BetaGoogleManagedStorageRegionStatus]`

        Each region's status for the control, keyed by region code. A region that your organization is not offered may have no entry, and Anthropic may add regions.

        - `BetaGoogleManagedStorageRegionNotConfigured object`

          No bucket is set for this region.

          - `type: "not_configured"`

          - `effective_bucket: BetaGoogleManagedBucketReference or null`

            The bucket that the region applies now. While a replacement bucket is `pending` or `failed`, this is the previous bucket. `null` when the region applies no bucket.

            - `bucket_name: string`

              The bucket's Cloud Storage name.

            - `project_number: string`

              The number of the Google Cloud project that holds the bucket, in decimal.

        - `BetaGoogleManagedStorageRegionPending object`

          The region is verifying the configured bucket.

          - `type: "pending"`

          - `effective_bucket: BetaGoogleManagedBucketReference or null`

            The bucket that the region applies now. While a replacement bucket is `pending` or `failed`, this is the previous bucket. `null` when the region applies no bucket.

          - `failed_checks: array of BetaGoogleManagedStorageFailedCheck`

            The checks that the latest reported verification attempt failed. Empty when none has failed.

            - `check: "label_mismatch" or "location_mismatch" or "encryption" or 8 more`

              Which check failed, such as `label_mismatch` or `grant_mismatch`. Anthropic may add values.

              - `"label_mismatch"`

              - `"location_mismatch"`

              - `"encryption"`

              - `"versioning"`

              - `"bucket_settings"`

              - `"lifecycle_rules"`

              - `"deletion_policy"`

              - `"grant_mismatch"`

              - `"kms_key_refused"`

              - `"probe_failed"`

              - `"project_not_verified"`

            - `message: string`

              What failed and, where the end customer can fix it, what to change.

            - `role: "ingest" or "read" or "maintenance" or 2 more or null`

              On a check about one of the accounts that Anthropic uses to reach the bucket, that account's kind of access, such as `ingest`. `null` on any other check. Anthropic may add values.

              - `"ingest"`

              - `"read"`

              - `"maintenance"`

              - `"media_erasure"`

              - `"verify"`

        - `BetaGoogleManagedStorageRegionActive object`

          The configured bucket passed verification, and the region applies it.

          - `type: "active"`

          - `effective_bucket: BetaGoogleManagedBucketReference or null`

            The bucket that the region applies now. While a replacement bucket is `pending` or `failed`, this is the previous bucket. `null` when the region applies no bucket.

          - `failed_checks: array of BetaGoogleManagedStorageFailedCheck`

            The checks that the latest reported daily verification failed. Empty when it passed.

            - `check: "label_mismatch" or "location_mismatch" or "encryption" or 8 more`

              Which check failed, such as `label_mismatch` or `grant_mismatch`. Anthropic may add values.

            - `message: string`

              What failed and, where the end customer can fix it, what to change.

            - `role: "ingest" or "read" or "maintenance" or 2 more or null`

              On a check about one of the accounts that Anthropic uses to reach the bucket, that account's kind of access, such as `ingest`. `null` on any other check. Anthropic may add values.

          - `validated_at: string`

            When the status last became `active`, in RFC 3339 format.

            format: date-time

        - `BetaGoogleManagedStorageRegionFailed object`

          The region stopped retrying verification before the configured bucket passed. To restart verification, send the region a bucket again. It can be the same bucket.

          - `type: "failed"`

          - `effective_bucket: BetaGoogleManagedBucketReference or null`

            The bucket that the region applies now. While a replacement bucket is `pending` or `failed`, this is the previous bucket. `null` when the region applies no bucket.

          - `failed_checks: array of BetaGoogleManagedStorageFailedCheck`

            The checks that the last reported verification attempt failed.

            - `check: "label_mismatch" or "location_mismatch" or "encryption" or 8 more`

              Which check failed, such as `label_mismatch` or `grant_mismatch`. Anthropic may add values.

            - `message: string`

              What failed and, where the end customer can fix it, what to change.

            - `role: "ingest" or "read" or "maintenance" or 2 more or null`

              On a check about one of the accounts that Anthropic uses to reach the bucket, that account's kind of access, such as `ingest`. `null` on any other check. Anthropic may add values.

        - `BetaGoogleManagedStorageRegionSuspended object`

          Anthropic has withdrawn or paused its approval of customer-owned storage for this profile, so the region does not apply the control.

          - `type: "suspended"`

          - `effective_bucket: BetaGoogleManagedBucketReference or null`

            The bucket that the region applies now. While a replacement bucket is `pending` or `failed`, this is the previous bucket. `null` when the region applies no bucket.

  - `updated_at: string`

    When an update last changed a control, or a region's status last changed, in RFC 3339 format. A region that starts or stops reading `suspended`, a change to `last_checked_at` alone, and the removal of a retired entry do not count.

    format: date-time

  - `user_profile_id: string`

    The ID of the user profile that these controls belong to (`uprof_...`).

## Example

```bash
curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID/providers/google/data_controls \
    -H 'anthropic-version: 2026-10-21' \
    -H 'anthropic-beta: user-profiles-2026-09-04,google-managed-data-controls-2026-09-01' \
    -H "Authorization: Bearer $ANTHROPIC_API_KEY"
```

### Response (200)

```json
{
  "bucket_label_value": "2f6d8c3a-91b4-4e57-8a0c-d5e1f7b3a924",
  "cmek": {
    "retired_keys": [
      {
        "expires_at": "2026-09-29T09:14:03Z",
        "external_key_id": "ekey_01SDCCSbTxrXDpWc1phhtcfK",
        "region": "us"
      }
    ],
    "type": "disabled"
  },
  "storage": {
    "retired_buckets": [],
    "type": "disabled"
  },
  "type": "google_managed_data_controls",
  "updated_at": "2026-08-30T09:14:03Z",
  "user_profile_id": "uprof_011CZkZCu8hGbp5mYRQgUmz9"
}
```
