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

# Read private cluster access

> Bearer PAT authentication; RBAC permission `clusters.read`. PAT mutations support `wait=false` where implemented; browser mutations require CSRF.



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /api/v1/clusters/scaleway/{cluster_id}/access-info
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
paths:
  /api/v1/clusters/scaleway/{cluster_id}/access-info:
    get:
      tags:
        - Scaleway / Kapsule
      summary: Read private cluster access
      description: >-
        Bearer PAT authentication; RBAC permission `clusters.read`. PAT
        mutations support `wait=false` where implemented; browser mutations
        require CSRF.
      operationId: get_access_info_scaleway_pat
      parameters:
        - in: path
          name: cluster_id
          required: true
          schema:
            format: uuid
            type: string
        - description: PAT organisation override.
          in: header
          name: x-ankra-organisation-id
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScalewayAccessInfo'
          description: Successful response
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Invalid request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Unauthenticated
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Permission or CSRF check failed
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Resource not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Request validation failed
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContractDetailError'
          description: Provider or internal failure
      security:
        - BearerAuth: []
components:
  schemas:
    ScalewayAccessInfo:
      example:
        bastion_host: 203.0.113.10
        bastion_ip: 203.0.113.10
        bastion_port: 61000
        bastion_user: bastion
        cluster_name: scw-prod
        control_plane_ip: 10.0.0.10
        control_plane_ips:
          - 10.0.0.10
        target_user: root
      properties:
        bastion_host:
          type: string
        bastion_ip:
          anyOf:
            - type: string
            - type: 'null'
        bastion_port:
          type: integer
        bastion_user:
          type: string
        cluster_name:
          anyOf:
            - type: string
            - type: 'null'
        control_plane_ip:
          anyOf:
            - type: string
            - type: 'null'
        control_plane_ips:
          items:
            type: string
          type: array
        target_user:
          type: string
      required:
        - bastion_ip
        - control_plane_ip
        - control_plane_ips
        - cluster_name
      type: object
    ContractDetailError:
      example:
        detail: Cluster not found
      properties:
        detail:
          oneOf:
            - type: string
            - additionalProperties: true
              properties: {}
              type: object
      required:
        - detail
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    BearerAuth:
      bearerFormat: PAT
      scheme: bearer
      type: http

````