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

# 엔드포인트 상태 조회



## OpenAPI

````yaml openapi-ko.json GET /endpoints/{endpoint_id}
openapi: 3.1.0
info:
  title: AirCloud External API
  description: AirCloud 엔드포인트를 프로그래밍 방식으로 관리하는 REST API입니다.
  version: 1.0.0
  contact:
    name: support
    url: https://aieev.com
    email: support@aieev.cloud
servers:
  - url: https://external.aieev.cloud:5007/external/api/v1
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: API Key 인증 정보 확인
  - name: Endpoints
    description: '엔드포인트 관리: 조회, 시작, 중지, 스케일링, 설정 변경'
  - name: Replicas
    description: 레플리카 상태 조회
  - name: Logs
    description: 엔드포인트 로그 조회
paths:
  /endpoints/{endpoint_id}:
    get:
      tags:
        - Endpoints
      summary: 엔드포인트 상태 조회
      description: 특정 엔드포인트의 현재 상태를 조회합니다. 활성 상태일 경우 레플리카 상태 요약도 포함됩니다.
      operationId: getEndpointStatus
      parameters:
        - name: endpoint_id
          in: path
          required: true
          description: 엔드포인트 고유 ID
          schema:
            type: string
            example: 51c910f7-ecde-4c6c-88f8-d8e37ca9d598
      responses:
        '200':
          description: 엔드포인트 상태
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EndpointStatusResponse'
        '403':
          description: 엔드포인트가 해당 조직 또는 프로젝트에 속하지 않음
        '404':
          description: 엔드포인트를 찾을 수 없음
components:
  schemas:
    EndpointStatusResponse:
      type: object
      properties:
        endpoint_id:
          type: string
          description: 엔드포인트 고유 ID
          example: 51c910f7-ecde-4c6c-88f8-d8e37ca9d598
        name:
          type: string
          description: 엔드포인트 이름
          example: aieev-endpoint
        endpoint_type:
          type: string
          description: 엔드포인트 유형
          example: container
        is_active:
          type: boolean
          description: 현재 활성 여부
          example: true
        status:
          type: string
          description: 현재 상태. 활성 시 Ray Serve에서 실시간 조회
          example: RUNNING
        num_replicas:
          type: integer
          description: 현재 레플리카 수
          example: 2
        enable_autoscaling:
          type: boolean
          description: 오토스케일링 활성화 여부
          example: false
        instance_type_name:
          type: string
          nullable: true
          description: 인스턴스 타입 이름
          example: RTX 5090
        serving_endpoint_url:
          type: string
          nullable: true
          description: 엔드포인트 공개 URL
          example: https://ap-1.aieev.cloud/ac/7/51c910f7-ecde-4c6c-88f8-d8e37ca9d598
        replica_status_summary:
          type: object
          nullable: true
          additionalProperties:
            type: integer
          description: 상태별 레플리카 수. 활성 상태에서만 제공
          example:
            RUNNING: 2
            STARTING: 0
        created_at:
          type: string
          format: date-time
          description: 생성 시간
        updated_at:
          type: string
          format: date-time
          description: 수정 시간
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API Key를 Bearer 토큰으로 전달합니다. 프로젝트 개요의 API 키 메뉴에서 생성할 수 있습니다.

````