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

# Get server

> Get server details, health status, tags, and profile assignment



## OpenAPI

````yaml api-docs/archived/atlas.json get /v1/regions/{region}/infrastructure/servers/{id}
openapi: 3.1.1
info:
  title: Infrastructure API
  version: 1.0.0
  description: >-
    Infrastructure API for the k0rdent Enterprise platform. Provides bare-metal
    server lifecycle management, inventory tracking, bulk enrollment, persona
    profiles, and network switch management.
  contact:
    name: k0rdent Enterprise API Support
    email: api-support@example.com
    url: https://support.example.com
  license:
    name: Proprietary
    url: https://k0rdent.example.com/license
servers:
  - url: ''
    description: For documentation only
  - url: https://api.internal.example.com
    description: Atlas API Base URL
  - url: https://api.example.com
    description: Arc API Base URL
  - url: http://localhost:{port}
    description: Local Development
    variables:
      port:
        default: '4010'
        description: Infrastructure service port
security: []
paths:
  /v1/regions/{region}/infrastructure/servers/{id}:
    get:
      tags:
        - Servers
      summary: Get server
      description: Get server details, health status, tags, and profile assignment
      operationId: getServer
      parameters:
        - name: region
          in: path
          required: true
          schema:
            type: string
          description: Region identifier
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: Server identifier
      responses:
        '200':
          description: Server details
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  data:
                    $ref: '#/components/schemas/Server'
        '404':
          description: Server not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    Server:
      type: object
      description: Bare-metal server inventory entry
      properties:
        id:
          type: string
          description: Server identifier
        hostname:
          type: string
          description: Server hostname
        serialNumber:
          type: string
          nullable: true
          description: Hardware serial number
        bmcAddress:
          type: string
          nullable: true
          description: BMC/IPMI management address
        status:
          type: string
          enum:
            - available
            - provisioning
            - provisioned
            - maintenance
            - decommissioned
            - error
          description: Server lifecycle status
        health:
          type: string
          enum:
            - healthy
            - degraded
            - unhealthy
            - unknown
          description: Server health status
        profileId:
          type: string
          nullable: true
          description: Assigned persona profile
        specs:
          type: object
          description: Hardware specifications
          properties:
            cpu:
              type: string
              description: CPU model/count
            memoryGB:
              type: number
              description: Memory in GB
            storageGB:
              type: number
              description: Total storage in GB
            nics:
              type: number
              description: Number of network interfaces
        tags:
          type: object
          nullable: true
          additionalProperties:
            type: string
          description: Key-value tags
        regionId:
          type: string
          description: Region this server belongs to
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - hostname
        - status
        - health
        - regionId
        - createdAt
    ErrorResponse:
      type: object
      description: Standard error response following RFC 7807
      properties:
        success:
          type: boolean
          enum:
            - false
          description: Success indicator
        error:
          type: object
          properties:
            code:
              type: string
              description: Error code
              examples:
                - VALIDATION_ERROR
                - UNAUTHORIZED
                - FORBIDDEN
                - NOT_FOUND
                - CONFLICT
                - RATE_LIMITED
                - INTERNAL_ERROR
                - SERVICE_UNAVAILABLE
            message:
              type: string
              description: Human-readable error message
            details:
              type: object
              nullable: true
              description: Additional error details
          required:
            - code
            - message
        meta:
          type: object
          description: Response metadata
          properties:
            requestId:
              type: string
              description: Unique request identifier
            timestamp:
              type: string
              format: date-time
              description: Response timestamp
      required:
        - success
        - error

````