getDetail
- 印刷する
- PDF
getDetail
- 印刷する
- PDF
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
VPC環境で利用できます。
AIアプリの詳細情報を照会します。
リクエスト
リクエストパラメータ
パラメータ名 | 要否 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
id | YES | String | 最大22文字まで入力 | - AIアプリ識別子の UUID(base62) - idは AI Appsの getList APIを通じて取得できる |
リクエストヘッダ
リクエストボディ
- JSON
{ "id": "string" }
- XML
<?xml version="1.0" encoding="UTF-8"?> <GetAiAppDetailRequest> <id>string</id> </GetAiAppDetailRequest>
レスポンス
レスポンスボディ
- 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 }
- 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>
エラーコード
例
リクエスト例
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"
}
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\"}" \
レスポンス例
HTTP
HTTP Status Description 200 OK 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": {} }
この記事は役に立ちましたか?