Run 상세 조회
- Print
- PDF
Run 상세 조회
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Run을 조회합니다.
GET https://nsml.apigw.ntruss.com/nsml/v1/projects/{projectId}/runs/{runName}
요청
요청 파라미터
필드명 | 타입 | 설명 | 비고 |
---|---|---|---|
projectId | String | Project ID | projectId, 프로젝트 생성시 자동 생성되는 unique한 값 |
runName | String | Run 이름 | 숫자값 - auto increment |
응답
필드명 | 타입 | 설명 | 비고 |
---|---|---|---|
runName | String | Run 이름 | 숫자값 - auto increment |
projectId | String | Project ID | |
projectName | String | Project 이름 | |
status | String | Run 상태 | |
engFullName | String | gpu 서버의 영어 이름 | |
gpuSvrCode | Integer | GPU 서버 코드 | GPU 서버 코드 조회에서 얻어옴 |
imageType | String | 이미지 타입 | "BASE" or "CUSTOM" (Base Image로 사용시 "BASE", Custom Image 사용시 "CUSTOM") |
imagePath | String | 이미지 경로 | Base Image 목록 조회 나 Custom Image 목록 조회 에서 얻어옴 |
command | String | 명령 | |
creator | String | Run 생성 유저 | |
isBareMetal | Boolean | BM 여부 | |
envs | Map | 환경변수 | |
note | String | note |
응답 Status
HTTP Status | Desc |
---|---|
200 | OK |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
406 | Not Accepted |
500 | Internal Server Error |
예시
요청 예시
GET /nsml/v1/projects/2mdnduoena36ekcv4v7/runs/3
Host: nsml.apigw.ntruss.com
accept: application/json
x-ncp-iam-access-key: {Access key}
x-ncp-apigw-signature-v2: {API GW signature}
x-ncp-apigw-timestamp: {timestamp}
x-ncp-apigw-api-key: {apigw-api-key}
응답 예시
{
"runName": "3",
"projectId": "2mdnduoena36ekcv4v7",
"projectName": "test-project-1",
"status": "RUN_STATE_COMPLETED",
"creator": "ncp-user-1772",
"engFullName": "GPU T4 FAKE, GPU 2EA",
"gpuSvrCode": 1,
"imageType": "BASE",
"imagePath": "nvcr.io/nvidia/mxnet:21.02-py3",
"command": "python a.py",
"envs": {},
"note": "",
"isBareMetal": false
}
Was this article helpful?