---
title: "Get BYOC infrastructure details"
method: GET
path: "/v1/organizations/{organizationId}/byocInfrastructure/{byocInfrastructureId}"
tags: ["Organization"]
---

# Get BYOC infrastructure details

`GET /v1/organizations/{organizationId}/byocInfrastructure/{byocInfrastructureId}`

## Request

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

**This endpoint is in beta.** API contract is stable, and no breaking changes are expected in the future. <br /><br /> Returns the full configuration of a BYOC infrastructure, including private link and load balancer state, network layout, and BYO-VPC settings read from the data plane.

## Path parameters

- `organizationId` string, uuid, required
- `byocInfrastructureId` string, uuid, required

## Response `200`

Successful response

- object
  - `status` number: HTTP status code.
  - `requestId` string, uuid: Unique id assigned to every request. UUIDv4
  - `result` ByocInfrastructureDetails
    - `id` string: Unique identifier of the BYOC infrastructure
    - `state` string: State of the infrastructure. Current values: 'infra-provisioning', 'infra-terminated', 'infra-terminating', 'infra-ready', 'infra-degraded', 'infra-upgrading', 'infra-awaiting-connector'. New states may be added; treat an unknown state as not ready
    - `accountId` string: Cloud account ID the BYOC infrastructure is bound to: AWS account ID, GCP project ID, or Azure subscription ID
    - `regionId` 'ap-northeast-1' | 'ap-northeast-2' | 'ap-south-1' | 'ap-southeast-1' | 'ap-southeast-2' | 'ca-central-1' | 'eu-central-1' | 'eu-west-1' | 'eu-west-2' | 'il-central-1' | 'us-east-1' | 'us-east-2' | 'us-west-2' | 'us-east1' | 'us-central1' | 'europe-west2' | 'europe-west4' | 'asia-southeast1' | 'asia-northeast1' | 'eastus' | 'eastus2' | 'westus3' | 'germanywestcentral' | 'centralus': Region the BYOC infrastructure is located in
    - `cloudProvider` 'gcp' | 'aws' | 'azure': Cloud provider of the region
    - `displayName` string: Human readable name for infrastructure
    - `enablePrivateLink` boolean: Whether private link connectivity is enabled on the infrastructure
    - `enablePrivateLoadBalancer` boolean: Whether the private load balancer is enabled on the infrastructure
    - `enablePublicLoadBalancer` boolean: Whether the public load balancer is enabled on the infrastructure
    - `vpcCidrRange` string: CIDR range of the ClickHouse-managed VPC. Absent for BYO-VPC infrastructures
    - `vpcAvailabilityZoneList` string[]: Availability zones the infrastructure spans
    - `isByoVpc` boolean: True when the infrastructure runs in a customer-provided VPC (BYO-VPC) instead of a ClickHouse-managed one
    - `byoVpcId` string: Customer VPC ID or network name (BYO-VPC only)
    - `byoVpcPrivateSubnetIds` string[]: Customer private subnet IDs or names (BYO-VPC only; exactly one entry on GCP)
    - `byoVpcPodCidrRangeNames` string[]: Secondary IP range names pinned for pod IPs (GCP BYO-VPC only). Absent when all secondary ranges are used
    - `byoVpcSharedVpcHostProjectId` string: Shared VPC host project owning the VPC and subnet (GCP BYO-VPC only). Absent when the VPC lives in the service project
    - `gcpPscSubnetId` string: Customer-provided Private Service Connect NAT subnet name configured for private link (GCP BYO-VPC only)
    - `accessModel` string: Access model of the infrastructure: `standard` or `restricted`. With `restricted`, private link, load balancer and VPC fields are false or absent
    - `restrictedFacts` ByocReportedRestrictedFacts
      - `clusterName` string: Name of the EKS cluster the connector runs in
      - `platformNodeGroup` string: Node group the platform components run on
      - `availabilityZones` string[]: Availability zones the cluster spans
      - `namespacePrefix` string: Prefix of the namespace each service runs in. Absent when the data plane reports none, in which case services use `ns-`
      - `executorRoleArn` string: Direct image mode only: IAM role of the connector executor
      - `nodeRoleArns` string[]: Direct image mode only: IAM roles of the cluster nodes
      - `imageMode` string: How the connector pulls platform images: `direct` or `bundle`
      - `imageRegistry` string: Bundle image mode only: OCI repository root holding the platform images
      - `dataBucket` string: S3 bucket services store data in
      - `backupBucket` string: S3 bucket services store backups in
      - `storageRoleArn` string: IAM role services assume to reach the buckets
      - `scraperEndpoint` string: Remote-write URL of the connector scraper
      - `enableMonitoring` boolean: Whether the monitoring components are installed
      - `enableSnapshotController` boolean: Whether the volume snapshot controller is installed
      - `enableAutoscaler` boolean: Whether the ClickHouse autoscaler is installed
    - `connector` ByocConnector
      - `lastHeartbeatAt` string, date-time: Last heartbeat of the connector. ISO-8601. Absent until the connector first reports
      - `components` ByocConnectorComponent[]: Components the connector reports on
        - `name` string: Connector component, e.g. scraper, executor or troubleshooter
        - `state` string: State the component last reported
        - `version` string: Version the component last reported
        - `lastHeartbeatAt` string, date-time: Last heartbeat of the component. ISO-8601
      - `platformState` string: State of the platform layer the connector installs
      - `platformDetail` string: What you need to do when the platform layer waits on you

## 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-12-02** `dd7b68280285`: 5 breaking
  - the response property `result/restrictedFacts/backupBucket` became optional for the status `200`
  - the response property `result/restrictedFacts/clusterName` became optional for the status `200`
  - the response property `result/restrictedFacts/dataBucket` became optional for the status `200`
  - the response property `result/restrictedFacts/imageMode` became optional for the status `200`
  - …1 more
- **2026-11-20** `6c2218858de8`: 9 info
  - added the optional property `result/accessModel` to the response with the `200` status
  - added the optional property `result/connector` to the response with the `200` status
  - added the optional property `result/restrictedFacts` to the response with the `200` status
  - removed the `infra-degraded` enum value from the `result/state` response property for the response status `200`
  - …5 more

[Operation history](https://skmtc.dev/clickhouse/apis/openapi-spec-for-clickhouse-cloud/changes/v1/organizations/:organizationId/byocInfrastructure/:byocInfrastructureId/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)
