cURL
curl --request GET \ --url https://external.aieev.cloud:5007/external/api/v1/endpoints/{endpoint_id}/logs/file \ --header 'Authorization: Bearer <token>'
{ "content": "<string>", "start_line": 123, "end_line": 123 }
API Key를 Bearer 토큰으로 전달합니다. 프로젝트 개요의 API 키 메뉴에서 생성할 수 있습니다.
엔드포인트 고유 ID
로그 파일이 위치한 노드 ID. /logs 응답의 node_id 값 사용
/logs
node_id
로그 파일 경로. /logs 응답의 filename 값 사용
filename
읽기 시작할 라인 번호. 1부터 시작
x >= 1
읽기 종료할 라인 번호. 최대 50000
1 <= x <= 50000
로그 파일 내용
로그 파일 내용 (지정된 라인 범위). 각 줄은 JSON 형식의 로그 엔트리
실제 반환된 시작 라인 번호
실제 반환된 종료 라인 번호