> ## 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}/logs
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}/logs:
    get:
      tags:
        - Logs
      summary: 로그 파일 목록 조회
      description: 특정 엔드포인트의 로그 파일 목록을 조회합니다. 레플리카별, 이력 로그 포함 조회가 가능합니다.
      operationId: listLogFiles
      parameters:
        - name: endpoint_id
          in: path
          required: true
          description: 엔드포인트 고유 ID
          schema:
            type: string
        - name: replica_id
          in: query
          description: 특정 레플리카의 로그만 필터링
          schema:
            type: string
        - name: include_history
          in: query
          description: '`false`로 설정하면 현재 활성 로그만 반환하고 이전 로테이션된 로그는 제외'
          schema:
            type: boolean
            default: true
      responses:
        '200':
          description: 로그 파일 목록
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LogFile'
components:
  schemas:
    LogFile:
      type: object
      properties:
        node_id:
          type: string
          description: 로그가 저장된 노드 ID
        replica_id:
          type: string
          description: 연결된 레플리카 ID
        filename:
          type: string
          description: 로그 파일 경로. /logs/file API의 filename 파라미터에 사용
        is_historical:
          type: boolean
          description: 이전 로테이션된(과거) 로그 파일 여부. true이면 종료된 레플리카의 로그
        start_time:
          type: string
          format: date-time
          nullable: true
          description: 로그 시작 시간. 이력 로그에서만 제공
        end_time:
          type: string
          format: date-time
          nullable: true
          description: 로그 종료 시간. 이력 로그에서만 제공
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API Key를 Bearer 토큰으로 전달합니다. 프로젝트 개요의 API 키 메뉴에서 생성할 수 있습니다.

````