> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get

> Returns a specific mk8s cluster by its unique identifier.



## OpenAPI

````yaml https://api.nebius.cloud/openapi.json get /mk8s/v1/clusters/{id}
openapi: 3.0.3
info:
  title: Nebius API
  version: version not set
servers:
  - url: https://api.nebius.cloud
security:
  - bearerAuth: []
tags:
  - name: nebius.ai.v1.DevlabService
  - name: nebius.ai.v1.EndpointService
  - name: nebius.ai.v1.HardwareService
  - name: nebius.ai.v1.JobService
  - name: nebius.applications.v1alpha1.K8sReleaseService
  - name: nebius.applications.v1alpha1.VmAppTemplateService
  - name: nebius.audit.v2.AuditEventExportService
  - name: nebius.audit.v2.AuditEventService
  - name: nebius.billing.v1.CalculatorService
  - name: nebius.billing.v1.PricingPolicyService
  - name: nebius.billing.v1alpha1.CalculatorService
  - name: nebius.billing.v1alpha1.OneTimeExportService
  - name: nebius.billing.v1alpha1.SpotPriceService
  - name: nebius.capacity.v1.CapacityAllowanceService
  - name: nebius.capacity.v1.CapacityBlockGroupService
  - name: nebius.capacity.v1.CapacityIntervalService
  - name: nebius.capacity.v1.ResourceAdviceService
  - name: nebius.compute.v1.DiskService
  - name: nebius.compute.v1.DiskSnapshotService
  - name: nebius.compute.v1.FilesystemService
  - name: nebius.compute.v1.GpuClusterService
  - name: nebius.compute.v1.ImageService
  - name: nebius.compute.v1.InstanceService
  - name: nebius.compute.v1.MaintenanceService
  - name: nebius.compute.v1.NVLInstanceGroupService
  - name: nebius.compute.v1.NodeService
  - name: nebius.compute.v1.PlatformService
  - name: nebius.dns.v1.RecordService
  - name: nebius.dns.v1.ZoneService
  - name: nebius.iam.v1.AccessKeyService
  - name: nebius.iam.v1.AccessPermitService
  - name: nebius.iam.v1.AuthPublicKeyService
  - name: nebius.iam.v1.FederatedCredentialsService
  - name: nebius.iam.v1.FederationCertificateService
  - name: nebius.iam.v1.FederationService
  - name: nebius.iam.v1.GroupMembershipService
  - name: nebius.iam.v1.GroupService
  - name: nebius.iam.v1.InvitationService
  - name: nebius.iam.v1.ProfileService
  - name: nebius.iam.v1.ProjectService
  - name: nebius.iam.v1.ServiceAccountService
  - name: nebius.iam.v1.SessionManagementService
  - name: nebius.iam.v1.StaticKeyService
  - name: nebius.iam.v1.TenantService
  - name: nebius.iam.v1.TenantUserAccountService
  - name: nebius.iam.v1.TenantUserAccountWithAttributesService
  - name: nebius.iam.v2.AccessKeyService
  - name: nebius.iam.v2.ProjectService
  - name: nebius.iam.v2.TenantService
  - name: nebius.kms.v1.AsymmetricCryptoService
  - name: nebius.kms.v1.AsymmetricKeyService
  - name: nebius.kms.v1.SymmetricCryptoService
  - name: nebius.kms.v1.SymmetricKeyService
  - name: nebius.logging.agentmanager.v1.VersionService
  - name: nebius.logging.v1.LogExportService
  - name: nebius.maintenance.v1alpha1.MaintenanceService
  - name: nebius.mk8s.v1.ClusterService
  - name: nebius.mk8s.v1.NodeGroupService
  - name: nebius.mk8s.v1alpha1.ClusterService
  - name: nebius.mk8s.v1alpha1.NodeGroupService
  - name: nebius.msp.mlflow.v1alpha1.ClusterService
  - name: nebius.msp.postgresql.v1alpha1.BackupService
  - name: nebius.msp.postgresql.v1alpha1.ClusterService
  - name: nebius.mysterybox.v1.PayloadService
  - name: nebius.mysterybox.v1.SecretService
  - name: nebius.mysterybox.v1.SecretVersionService
  - name: nebius.quotas.v1.QuotaAllowanceService
  - name: nebius.registry.v1.ArtifactService
  - name: nebius.registry.v1.RegistryService
  - name: nebius.storage.v1.BucketService
  - name: nebius.storage.v1.InventoryService
  - name: nebius.storage.v1.TransferService
  - name: nebius.storage.v1alpha1.TransferService
  - name: nebius.tunnel.v1.TunnelService
  - name: nebius.vpc.v1.AllocationService
  - name: nebius.vpc.v1.NetworkService
  - name: nebius.vpc.v1.PoolService
  - name: nebius.vpc.v1.RouteService
  - name: nebius.vpc.v1.RouteTableService
  - name: nebius.vpc.v1.SecurityGroupService
  - name: nebius.vpc.v1.SecurityRuleService
  - name: nebius.vpc.v1.SubnetService
  - name: nebius.vpc.v1.TargetGroupService
  - name: nebius.vpc.v1alpha1.AllocationService
  - name: nebius.vpc.v1alpha1.NetworkService
  - name: nebius.vpc.v1alpha1.PoolService
  - name: nebius.vpc.v1alpha1.ScopeService
  - name: nebius.vpc.v1alpha1.SubnetService
paths:
  /mk8s/v1/clusters/{id}:
    get:
      tags:
        - nebius.mk8s.v1.ClusterService
      summary: Get
      description: Returns a specific mk8s cluster by its unique identifier.
      operationId: ClusterService_Get
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
        - in: query
          name: resourceVersion
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/nebius.mk8s.v1.Cluster'
          description: A successful response.
components:
  schemas:
    nebius.mk8s.v1.Cluster:
      properties:
        metadata:
          $ref: '#/components/schemas/nebius.common.v1.ResourceMetadata'
        spec:
          $ref: '#/components/schemas/nebius.mk8s.v1.ClusterSpec'
        status:
          $ref: '#/components/schemas/nebius.mk8s.v1.ClusterStatus'
      type: object
    nebius.common.v1.ResourceMetadata:
      description: Common resource metadata.
      properties:
        createdAt:
          description: Timestamp indicating when the resource was created.
          format: date-time
          readOnly: true
          type: string
        id:
          description: Identifier for the resource, unique for its resource type.
          type: string
        labels:
          additionalProperties:
            type: string
          description: Labels associated with the resource.
          type: object
        name:
          description: Human-readable name for the resource.
          type: string
        parentId:
          description: Identifier of the parent resource to which the resource belongs.
          type: string
        resourceVersion:
          description: >-
            Version of the resource for safe concurrent modifications and
            consistent reads.

            Positive and monotonically increases on each resource spec change
            (but *not* on each change of the

            resource's container(s) or status).

            Service allows zero value or current.
          format: int64
          type: string
        updatedAt:
          description: Timestamp indicating when the resource was last updated.
          format: date-time
          readOnly: true
          type: string
      required:
        - parentId
      type: object
    nebius.mk8s.v1.ClusterSpec:
      properties:
        controlPlane:
          $ref: '#/components/schemas/nebius.mk8s.v1.ControlPlaneSpec'
        kubeNetwork:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.KubeNetworkSpec'
          description: Defines kubernetes network configuration, like IP allocation.
      required:
        - controlPlane
      type: object
    nebius.mk8s.v1.ClusterStatus:
      properties:
        controlPlane:
          $ref: '#/components/schemas/nebius.mk8s.v1.ControlPlaneStatus'
        events:
          items:
            $ref: '#/components/schemas/nebius.common.v1.RecurrentResourceEvent'
          type: array
        reconciling:
          description: Show that changes are in flight
          type: boolean
        state:
          $ref: '#/components/schemas/nebius.mk8s.v1.ClusterStatus.State'
      type: object
    nebius.mk8s.v1.ControlPlaneSpec:
      properties:
        auditLogs:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.AuditLogsSpec'
          description: >-
            Specify configuration of the pushing k8s audit logs into service
            logs and show it in the UI.

            By default cluster will be created without it.
        authentication:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.AuthenticationSpec'
          description: >-
            Configures customer JWT authentication. Requires Kubernetes 1.34 and
            a compatible control-plane infra version.
        endpoints:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.ControlPlaneEndpointsSpec'
          description: Specification of endpoints of cluster control plane.
        etcdClusterSize:
          description: >-
            Number of instances in etcd cluster.

            3 by default.

            Control plane with `etcd_cluster_size: 3` called "Highly Available"
            ("HA"), because it's Kubernetes API

            will be available despite a failure of one control plane instance.
          format: int64
          type: string
        karpenter:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.Karpenter'
          description: >-
            Enables installation of the Karpenter inside a cluster.

            Karpenter will be installed as a helm chart inside cluster

            so it requires creation of at least one CPU public node group.


            Please note that there is no feature parity between Karpenter node
            pools and

            public node groups.

            By default cluster will be created without it.
        subnetId:
          description: >-
            Nebius VPC Subnet ID where control plane instances will be located.

            If it isn't specified default network of the parent container will
            be used.

            Also will be default NodeGroup subnet.
          type: string
        version:
          description: >-
            Desired Kubernetes version of the cluster. May be lower than the
            actual cluster version

            if the desired version is no longer supported and the cluster has
            been automatically updated.

            For now only acceptable format is `<major>.<minor>` like "1.31".

            Option for patch version update will be added later.
          type: string
      type: object
    nebius.mk8s.v1.KubeNetworkSpec:
      properties:
        serviceCidrs:
          description: >-
            CIDR blocks for Service ClusterIP allocation.

            For now, only one value is supported.

            Must be a valid CIDR block or prefix length.

            In case of prefix length, certain CIDR is auto allocated.

            Specified CIDR blocks will be reserved in
            Cluster.spec.control_plane.subnet_id to prevent address duplication.

            Allowed prefix length is from "/12" to "/28".

            Empty value treated as ["/16"].
          items:
            type: string
          type: array
      type: object
    nebius.mk8s.v1.ControlPlaneStatus:
      properties:
        auth:
          $ref: '#/components/schemas/nebius.mk8s.v1.ControlPlaneStatusAuth'
        endpoints:
          $ref: '#/components/schemas/nebius.mk8s.v1.ControlPlaneStatusEndpoints'
        etcdClusterSize:
          description: Number of instances in etcd cluster.
          format: int64
          type: string
        version:
          description: >-
            Actual Kubernetes and configuration version.

            Version has format
            `<major>.<minor>.<patch>-nebius-cp.<infra_version>` like

            "1.30.0-nebius-cp.3", where `<major>.<minor>.<patch>` is Kubernetes
            version and `<infra_version>` is version of control plane

            infrastructure and configuration, updating of which may include bug
            fixes, security updates and new features of components running on

            control plane, like CCM or Cluster Autoscaler.
          type: string
      type: object
    nebius.common.v1.RecurrentResourceEvent:
      description: >-
        A resource event that has occurred (more or less in the same way)
        multiple times across a service-defined aggregation interval
      properties:
        firstOccurredAt:
          description: Time of the first occurrence of a recurrent event
          format: date-time
          type: string
        lastOccurrence:
          allOf:
            - $ref: '#/components/schemas/nebius.common.v1.ResourceEvent'
          description: Last occurrence of a recurrent event
        occurrenceCount:
          description: >-
            The number of times this event has occurred between
            `first_occurred_at` and `last_occurrence.occurred_at`. Must be > 0
          format: int64
          type: string
      type: object
    nebius.mk8s.v1.ClusterStatus.State:
      default: STATE_UNSPECIFIED
      enum:
        - STATE_UNSPECIFIED
        - PROVISIONING
        - RUNNING
        - DELETING
      type: string
    nebius.mk8s.v1.AuditLogsSpec:
      type: object
    nebius.mk8s.v1.AuthenticationSpec:
      properties:
        oidc:
          description: Configures OIDC providers for Kubernetes user authentication.
          items:
            $ref: '#/components/schemas/nebius.mk8s.v1.OIDCProvider'
          type: array
      type: object
    nebius.mk8s.v1.ControlPlaneEndpointsSpec:
      properties:
        publicEndpoint:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.PublicEndpointSpec'
          description: >-
            Public endpoint specification. When set, a public endpoint is
            created.
      type: object
    nebius.mk8s.v1.Karpenter:
      type: object
    nebius.mk8s.v1.ControlPlaneStatusAuth:
      properties:
        clusterCaCertificate:
          description: >-
            PEM with the Cluster Certificate Authority, that must be used for
            TLS connection to Kubernetes API.
          type: string
      type: object
    nebius.mk8s.v1.ControlPlaneStatusEndpoints:
      description: >-
        Endpoints of Kubernetes control plane. Kubernetes API can be accessed at
        `https://endpoint/`.
      properties:
        privateEndpoint:
          description: DNS name or IP address accessible from the user VPC.
          type: string
        publicEndpoint:
          description: DNS name or IP address accessible from the Internet.
          type: string
      type: object
    nebius.common.v1.ResourceEvent:
      description: >-
        Represents an API Resource-related event which is potentially important
        to the end-user. What exactly constitutes an *event* to be

        reported is service-dependent
      properties:
        code:
          description: >-
            Event code (unique within the API service), in UpperCamelCase, e.g.
            `"DiskAttached"`
          type: string
        error:
          allOf:
            - $ref: '#/components/schemas/google.rpc.Status'
          description: >-
            Describes a GRPC error status associated with an `ERROR` or `WARN`
            level event, if known. The `error` **must** have a standard GRPC

            `code` (which **must not** be `OK` (0)) and a human-readable
            `message`. A standard `common.v1.ServiceError` **should** also be

            included in `details`
        level:
          allOf:
            - $ref: '#/components/schemas/nebius.common.v1.ResourceEvent.Level'
          description: Severity level for the event
        message:
          description: >-
            A human-readable message describing what has happened

            (and suggested actions for the user, if this is a `WARN` or `ERROR`
            level event)
          type: string
        occurredAt:
          description: Time at which the event has occurred
          format: date-time
          type: string
      type: object
    nebius.mk8s.v1.OIDCProvider:
      properties:
        claimMappings:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.ClaimMappings'
          description: Maps token claims to Kubernetes user attributes.
        claimValidationRules:
          description: Validates token claims before Kubernetes authenticates the user.
          items:
            $ref: '#/components/schemas/nebius.mk8s.v1.ClaimValidationRule'
          type: array
        issuer:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.OIDCIssuer'
          description: Defines the issuer for accepted tokens.
        name:
          description: Identifies this provider within the cluster configuration.
          type: string
        userValidationRules:
          description: Validates the mapped Kubernetes user information.
          items:
            $ref: '#/components/schemas/nebius.mk8s.v1.CELValidationRule'
          type: array
      required:
        - issuer
        - claimMappings
      type: object
    nebius.mk8s.v1.PublicEndpointSpec:
      properties:
        allowedCidrs:
          description: >-
            List of CIDR blocks from which access to public endpoint is allowed.

            If field is not set, or list is empty, it means that access is not
            restricted at all.

            You can specify a maximum of 100 CIDRs.
          items:
            type: string
          type: array
      type: object
    google.rpc.Status:
      description: >-
        The `Status` type defines a logical error model that is suitable for

        different programming environments, including REST APIs and RPC APIs. It
        is

        used by [gRPC](https://github.com/grpc). Each `Status` message contains

        three pieces of data: error code, error message, and error details.


        You can find out more about this error model and how to work with it in
        the

        [API Design Guide](https://cloud.google.com/apis/design/errors).
      properties:
        code:
          description: |-
            The status code, which should be an enum value of
            [google.rpc.Code][google.rpc.Code].
          format: int32
          type: integer
        details:
          description: >-
            A list of messages that carry the error details.  There is a common
            set of

            message types for APIs to use.
          items:
            $ref: '#/components/schemas/google.protobuf.Any'
          type: array
        message:
          description: >-
            A developer-facing error message, which should be in English. Any

            user-facing error message should be localized and sent in the

            [google.rpc.Status.details][google.rpc.Status.details] field, or
            localized

            by the client.
          type: string
      type: object
    nebius.common.v1.ResourceEvent.Level:
      default: UNSPECIFIED
      description: |-
        - UNSPECIFIED: Unspecified event severity level
         - DEBUG: A debug event providing detailed insight. Such events are used to debug problems with specific resource(s) and process(es)
         - INFO: A normal event or state change. Informs what is happening with the API resource. Does not require user attention or interaction
         - WARN: Warning event. Indicates a potential or minor problem with the API resource and/or the corresponding processes. Needs user attention,
        but requires no immediate action (yet)
         - ERROR: Error event. Indicates a serious problem with the API resource and/or the corresponding processes. Requires immediate user action
      enum:
        - UNSPECIFIED
        - DEBUG
        - INFO
        - WARN
        - ERROR
      type: string
    nebius.mk8s.v1.ClaimMappings:
      properties:
        groups:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.PrefixedClaimMapping'
          description: >-
            Maps token claims to Kubernetes groups. Omission disables group
            mapping.
        username:
          allOf:
            - $ref: '#/components/schemas/nebius.mk8s.v1.PrefixedClaimMapping'
          description: Maps token claims to the Kubernetes username.
      required:
        - username
      type: object
    nebius.mk8s.v1.ClaimValidationRule:
      properties:
        claim:
          description: Names the token claim that must match required_value exactly.
          type: string
        expression:
          description: >-
            Validates token claims with CEL. The expression must evaluate to
            true.
          type: string
        message:
          description: Describes a failed CEL validation.
          type: string
        requiredValue:
          description: >-
            An omitted value matches an empty string, following upstream
            behavior.
          type: string
      type: object
    nebius.mk8s.v1.OIDCIssuer:
      properties:
        audiences:
          description: >-
            Lists the token audiences that this issuer accepts, for example,
            `["kubernetes", "dashboard"]`.
          items:
            type: string
          type: array
        certificateAuthority:
          description: PEM CA bundle for discovery and JWKS. Omission uses system trust.
          type: string
        discoveryUrl:
          description: >-
            Overrides the OpenID discovery URL. An empty value uses the issuer's
            standard discovery URL.
          type: string
        url:
          description: Identifies the issuer and must match the token `iss` claim.
          type: string
      type: object
    nebius.mk8s.v1.CELValidationRule:
      properties:
        expression:
          description: Validates the mapped Kubernetes user information with CEL.
          type: string
        message:
          description: Describes a failed CEL validation.
          type: string
      type: object
    google.protobuf.Any:
      additionalProperties: true
      description: >-
        `Any` contains an arbitrary serialized protocol buffer message along
        with a

        URL that describes the type of the serialized message.


        Protobuf library provides support to pack/unpack Any values in the form

        of utility functions or additional generated methods of the Any type.


        Example 1: Pack and unpack a message in C++.

            Foo foo = ...;
            Any any;
            any.PackFrom(foo);
            ...
            if (any.UnpackTo(&foo)) {
              ...
            }

        Example 2: Pack and unpack a message in Java.

            Foo foo = ...;
            Any any = Any.pack(foo);
            ...
            if (any.is(Foo.class)) {
              foo = any.unpack(Foo.class);
            }
            // or ...
            if (any.isSameTypeAs(Foo.getDefaultInstance())) {
              foo = any.unpack(Foo.getDefaultInstance());
            }

         Example 3: Pack and unpack a message in Python.

            foo = Foo(...)
            any = Any()
            any.Pack(foo)
            ...
            if any.Is(Foo.DESCRIPTOR):
              any.Unpack(foo)
              ...

         Example 4: Pack and unpack a message in Go

             foo := &pb.Foo{...}
             any, err := anypb.New(foo)
             if err != nil {
               ...
             }
             ...
             foo := &pb.Foo{}
             if err := any.UnmarshalTo(foo); err != nil {
               ...
             }

        The pack methods provided by protobuf library will by default use

        'type.googleapis.com/full.type.name' as the type URL and the unpack

        methods only use the fully qualified type name after the last '/'

        in the type URL, for example "foo.bar.com/x/y.z" will yield type

        name "y.z".


        JSON

        ====

        The JSON representation of an `Any` value uses the regular

        representation of the deserialized, embedded message, with an

        additional field `@type` which contains the type URL. Example:

            package google.profile;
            message Person {
              string first_name = 1;
              string last_name = 2;
            }

            {
              "@type": "type.googleapis.com/google.profile.Person",
              "firstName": <string>,
              "lastName": <string>
            }

        If the embedded message type is well-known and has a custom JSON

        representation, that representation will be embedded adding a field

        `value` which holds the custom JSON in addition to the `@type`

        field. Example (for message [google.protobuf.Duration][]):

            {
              "@type": "type.googleapis.com/google.protobuf.Duration",
              "value": "1.212s"
            }
      properties:
        '@type':
          description: >-
            A URL/resource name that uniquely identifies the type of the
            serialized

            protocol buffer message. This string must contain at least

            one "/" character. The last segment of the URL's path must represent

            the fully qualified name of the type (as in

            `path/google.protobuf.Duration`). The name should be in a canonical
            form

            (e.g., leading "." is not accepted).


            In practice, teams usually precompile into the binary all types that
            they

            expect it to use in the context of Any. However, for URLs which use
            the

            scheme `http`, `https`, or no scheme, one can optionally set up a
            type

            server that maps type URLs to message definitions as follows:


            * If no scheme is provided, `https` is assumed.

            * An HTTP GET on the URL must yield a [google.protobuf.Type][]
              value in binary format, or produce an error.
            * Applications are allowed to cache lookup results based on the
              URL, or have them precompiled into a binary to avoid any
              lookup. Therefore, binary compatibility needs to be preserved
              on changes to types. (Use versioned type names to manage
              breaking changes.)

            Note: this functionality is not currently available in the official

            protobuf release, and it is not used for type URLs beginning with

            type.googleapis.com. As of May 2023, there are no widely used type
            server

            implementations and no plans to implement one.


            Schemes other than `http`, `https` (or the empty scheme) might be

            used with implementation specific semantics.
          type: string
      type: object
    nebius.mk8s.v1.PrefixedClaimMapping:
      properties:
        claim:
          description: Names the token claim to map.
          type: string
        expression:
          description: Maps token claims with a CEL expression.
          type: string
        prefix:
          description: >-
            Omission and an empty value disable prefixing for claims.
            Expressions require omission, including for an empty value.
          type: string
      type: object
  securitySchemes:
    bearerAuth:
      description: The Authorization header expects a Bearer token.
      scheme: bearer
      type: http

````