> ## 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.

# List servers

> List bare-metal servers in inventory with filtering



## OpenAPI

````yaml api-docs/archived/atlas.json get /v1/regions/{region}/infrastructure/servers
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:
    get:
      tags:
        - Servers
      summary: List servers
      description: List bare-metal servers in inventory with filtering
      operationId: listServers
      parameters:
        - name: region
          in: path
          required: true
          schema:
            type: string
          description: Region identifier
        - name: status
          in: query
          schema:
            type: string
            enum:
              - available
              - provisioning
              - provisioned
              - maintenance
              - decommissioned
              - error
          description: Filter by status
        - name: health
          in: query
          schema:
            type: string
            enum:
              - healthy
              - degraded
              - unhealthy
              - unknown
          description: Filter by health
        - name: profileId
          in: query
          schema:
            type: string
          description: Filter by assigned profile
        - name: limit
          in: query
          schema:
            type: number
            default: 50
          description: Maximum results
        - name: offset
          in: query
          schema:
            type: number
            default: 0
          description: Results to skip
      responses:
        '200':
          description: List of servers
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Server'
                  meta:
                    type: object
                    properties:
                      total:
                        type: number
                      limit:
                        type: number
                      offset:
                        type: number
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

````