MENU
      getDetail

        getDetail


        기사 요약

        VPC 환경에서 이용 가능합니다.

        AI 앱의 상세정보를 조회합니다.

        요청

        요청 파라미터

        파라미터명필수 여부타입제약 사항설명
        idYESString최대 22자까지 입력- AI 앱 식별자 UUID(base62)
        - id는 AI Apps의 getList API를 통해서 획득 가능

        요청 헤더

        공통 가이드 참조

        요청 바디

        • JSON
          {
              "id": "string"
          }
          JSON
        • XML
          <?xml version="1.0" encoding="UTF-8"?>
          <GetAiAppDetailRequest>
              <id>string</id>
          </GetAiAppDetailRequest>
          XML

        응답

        응답 바디

        GetAiAppDetailResponse

        • JSON
          {
              "accountName": "string",
              "appId": "string",
              "containers": {
                  "additionalProp1": {
                  "component": "string",
                  "containerId": "string",
                  "cpuCount": 0,
                  "createdAt": "2023-05-17T01:44:47.805Z",
                  "dockerImage": "string",
                  "logUrl": "string",
                  "memoryMb": 0,
                  "status": "string"
                  },
                  "additionalProp2": {
                  "component": "string",
                  "containerId": "string",
                  "cpuCount": 0,
                  "createdAt": "2023-05-17T01:44:47.805Z",
                  "dockerImage": "string",
                  "logUrl": "string",
                  "memoryMb": 0,
                  "status": "string"
                  },
                  "additionalProp3": {
                  "component": "string",
                  "containerId": "string",
                  "cpuCount": 0,
                  "createdAt": "2023-05-17T01:44:47.805Z",
                  "dockerImage": "string",
                  "logUrl": "string",
                  "memoryMb": 0,
                  "status": "string"
                  }
              },
              "elapsedMillis": 0,
              "finalStatus": "string",
              "finishedAt": "2023-05-17T01:44:47.805Z",
              "id": "string",
              "message": "string",
              "name": "string",
              "queueName": "gpu",
              "startedAt": "2023-05-17T01:44:47.805Z",
              "state": "string",
              "success": true
          }
          JSON
        • XML
          <?xml version="1.0" encoding="UTF-8"?>
          <GetAiAppDetailResponse>
              <accountName>string</accountName>
              <appId>string</appId>
              <containers>
                  <additionalProp>Unknown Type: object</additionalProp>
              </containers>
              <elapsedMillis>0</elapsedMillis>
              <finalStatus>string</finalStatus>
              <finishedAt>2023-05-17T01:46:22.848Z</finishedAt>
              <id>string</id>
              <message>string</message>
              <name>string</name>
              <queueName>gpu</queueName>
              <startedAt>2023-05-17T01:46:22.848Z</startedAt>
              <state>string</state>
              <success>true</success>
          </GetAiAppDetailResponse>
          XML

        오류코드

        DataForest 개요 참조

        예시

        요청 예시

        POST https://df.apigw.ntruss.com/api/v2/aiapps/getDetail
        HOST: df.apigw.ntruss.com
        Content-Type: application/json
        x-ncp-apigw-signature-v2: Azm1WBMWDgEONUCUbsVkB4tRIpc053uOHU8bitbQRtU=
        x-ncp-apigw-timestamp: 1658898041497
        x-ncp-iam-access-key: 17F9A6E9F72BD92ED94B
        
        {
          "id": "We8XCO3VE43fOnaQ0kFRma"
        }
        HTTP
        curl -X POST "https://df.apigw.ntruss.com/api/v2/aiapps/getDetail" \
        -H "accept: application/json" \
        -H "Content-Type: application/json" \
        -H "x-ncp-apigw-timestamp:1505290625682" \
        -H "x-ncp-iam-access-key:D78BB444D6D3C84CA38A" \
        -H "x-ncp-apigw-signature-v2:WTPItrmMIfLUk/UyUIyoQbA/z5hq9o3G8eQMolUzTEo=" \
        -d "{ \"id\": \"We8XCO3VE43fOnaQ0kFRma\"}" \
        Bash

        응답 예시

        • HTTP
          HTTP StatusDescription
          200OK
        • BASH
          {
              "success": true,
              "accountName": "<계정-이름>",
              "id": "We8XCO3VE43fOnaQ0kFRma",
              "appId": "application_1643186470613_1332",
              "name": "****-agsi-ilx8",
              "queueName": "gpu",
              "startedAt": "2022-07-27T14:56:02.225+09:00",
              "finishedAt": "2022-07-27T15:09:40.179+09:00",
              "elapsedMillis": integer,
              "state": "FINISHED",
              "finalStatus": "ENDED",
              "containers": {}
          }
          JSON

        이 문서가 도움이 되었습니까?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.