---
title: "Organization activity"
method: GET
path: "/v1/organizations/{organizationId}/activities/{activityId}"
tags: ["Organization"]
---

# Organization activity

`GET /v1/organizations/{organizationId}/activities/{activityId}`

## Request

- Base URL: `https://api.clickhouse.cloud`
- URL: `https://api.clickhouse.cloud/v1/organizations/{organizationId}/activities/{activityId}`
- Auth: HTTP basic

Returns a single organization activity by ID.

## Path parameters

- `organizationId` string, uuid, required
- `activityId` string, required

## Response `200`

Successful response

- object
  - `status` number: HTTP status code.
  - `requestId` string, uuid: Unique id assigned to every request. UUIDv4
  - `result` Activity
    - `id` string: Unique activity ID.
    - `createdAt` string, date-time: Timestamp of the activity. ISO-8601.
    - `type` string: Type of the activity. One of 'create_organization', 'delete_organization', 'organization_update_name', 'transfer_service_in', 'transfer_service_out', 'save_payment_method', 'marketplace_subscription', 'migrate_marketplace_billing_details_in', 'migrate_marketplace_billing_details_out', 'organization_update_tier', 'organization_invite_create', 'organization_invite_delete', 'organization_member_join', 'organization_member_add', 'organization_member_leave', 'organization_member_delete', 'organization_member_update_role', 'organization_member_update_roles', 'organization_member_update_mfa_method', 'organization_saml_connection_create', 'organization_saml_connection_update', 'user_login', 'user_login_failed', 'user_logout', 'key_create', 'key_delete', 'openapi_key_update', 'service_create', 'service_start', 'service_stop', 'service_awaken', 'service_idle', 'service_running', 'service_partially_running', 'service_delete', 'service_update_name', 'service_update_ip_access_list', 'service_update_autoscaling_memory', 'service_update_autoscaling_idling', 'service_update_password', 'service_update_autoscaling_replicas', 'service_update_max_allowable_replicas', 'service_update_backup_configuration', 'service_restore_backup', 'service_update_release_channel', 'service_update_gpt_usage_consent', 'service_update_private_endpoints', 'service_import_to_organization', 'service_export_from_organization', 'service_maintenance_start', 'service_maintenance_end', 'service_update_core_dump', 'service_update_deletion_protection', 'service_update_autoscaling_schedule', 'service_update_query_endpoints', 'service_update_direct_connection', 'service_update_sql_console_jwt_auth', 'service_update_snapshot_configuration', 'service_update_collector_ip_access_list', 'service_update_mysql_interface', 'service_update_clickhouse_settings', 'service_update_upgrade_window', 'service_delete_upgrade_window', 'service_trigger_failover', 'service_trigger_recovery', 'service_mcp_enabled', 'service_mcp_disabled', 'service_upgrade', 'service_scaled_down_for_tier_change', 'service_encryption_key_check_failed', 'service_encryption_key_rotation_failed', 'service_encryption_key_rotated', 'service_stop_encryption_key_inaccessible', 'service_restart_encryption_key_rotation', 'backup_delete', 'backup_bucket_create', 'backup_bucket_update', 'backup_bucket_delete', 'backup_bucket_archive', 'warehouse_update_name', 'warehouse_update_release_channel', 'role_create', 'role_update', 'role_delete', 'role_resources_delete', 'organization_member_remove_roles', 'scim_user_profile_update', 'scim_group_create', 'scim_group_update', 'scim_group_delete', 'organization_saml_connection_delete', 'organization_update_saml_query_ownership_migration', 'organization_approved_domain_verify', 'organization_approved_domain_update', 'organization_approved_domain_delete', 'organization_approved_domain_auto_join', 'organization_approved_domain_auto_invite', 'datadog_integration_create', 'datadog_integration_delete', 'organization_update_spend_alert', 'organization_update_core_dumps', 'organization_update_ai_support', 'organization_update_ai_data_sharing', 'organization_update_private_endpoints', 'organization_update_pci_compliance', 'organization_update_hipaa_status', 'organization_security_contact_add', 'organization_security_contact_remove', 'organization_security_contact_replace', 'organization_update_public_preview', 'byoc_infrastructure_update_customer_authorized_access', 'transfer_credits_in', 'transfer_credits_out', 'promo_code_claim', 'schema_advisor_seed', 'schema_advisor_generate_plan', 'schema_advisor_approve_plan', 'schema_advisor_start_deployment', 'schema_advisor_start_benchmark', 'schema_advisor_run_benchmark', 'schema_advisor_start_promotion', 'schema_advisor_exchange_tables', 'schema_advisor_materialize', 'schema_advisor_drop_sandbox', 'udf_create', 'udf_update', 'udf_delete', 'udf_version_create', 'udf_version_delete', 'udf_attach', 'udf_detach', 'udf_update_services', 'udf_redeploy', 'udf_rebuild', 'claude_billing_link', 'claude_billing_unlink', 'postgres_action'. New values may be added; treat unknown values as valid.
    - `actorType` 'user' | 'support' | 'system' | 'api': Type of the actor: 'user', 'support', 'system', 'api'.
    - `actorId` string: Unique actor ID.
    - `actorDetails` string: Additional information about the actor.
    - `actorIpAddress` string: IP address of the actor. Defined for 'user' and 'api' actor types.
    - `organizationId` string: Scope of the activity: organization ID this activity is related to.
    - `serviceId` string: Scope of the activity: service ID this activity is related to.
    - `userAgent` string: User agent of the actor
    - `targetKeyId` string: For 'openapi_key_update' activities: the ID of the API key that was updated.
    - `keyUpdateType` 'created' | 'deleted' | 'name-changed' | 'role-changed' | 'state-changed' | 'date-changed' | 'ip-access-list-changed' | 'org-role-changed' | 'default-service-role-changed' | 'service-role-changed' | 'roles-v2-changed': For 'openapi_key_update' activities: the type of update that was performed.
    - `targetRoleIds` string[]: For role and actor-role activities: IDs of the affected roles.
    - `targetRoleNames` string[]: For role and actor-role activities: names of the affected roles, when recorded.
    - `targetActorIds` string[]: For 'organization_member_update_roles' and 'organization_member_remove_roles' activities: IDs of the affected actors (e.g. 'user/<id>').
    - `targetResourceIds` string[]: For 'role_resources_delete' activities: IDs of the deleted resources the roles referenced.
    - `deletionProtectionBypassed` boolean: For 'service_delete' activities: true when a deletion protection override was recorded for the delete. Omitted when none was recorded.

## Other responses

- `400`: The request cannot be processed due to a client error. Please verify your request parameters and try again.
- `500`: An internal server error has occurred. If this issue persists, please contact ClickHouse Cloud support for assistance.

## Changes

- **2026-11-20** `6c2218858de8`: 1 info
  - added the optional property `result/deletionProtectionBypassed` to the response with the `200` status
- **2026-11-10** `606966fca38d`: 130 info
  - removed the `backup_bucket_archive` enum value from the `result/type` response property for the response status `200`
  - removed the `backup_bucket_create` enum value from the `result/type` response property for the response status `200`
  - removed the `backup_bucket_delete` enum value from the `result/type` response property for the response status `200`
  - removed the `backup_bucket_update` enum value from the `result/type` response property for the response status `200`
  - …126 more
- **2026-11-06** `5af1afc50d64`: 1 warning
  - added the new `byoc_infrastructure_update_customer_authorized_access` enum value to the `result/type` response property for the response status `200`

[Operation history](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/changes/v1/organizations/:organizationId/activities/:activityId/get.md)

---

[API](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud.md) - [All operations](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/llms.txt) - [OpenAPI document](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/revisions/eac345053548?raw)
