getList
- Print
- PDF
getList
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
View all AI workspace list.
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
search.accountId | YES | String | Enter up to 22 characters. | UUID(base62) of the account to view |
Request Headers
Request bodies
- JSON
{ "search": { "accountId": "string" } }
- XML
<?xml version="1.0" encoding="UTF-8"?> <GetAiWorkspaceListRequest> <search> <accountId>string</accountId> </search> </GetAiWorkspaceListRequest>
Responses
Response bodies
- JSON
{ "contents": [ { "accountName": "string", "createdAt": "2023-05-15T02:23:55.752Z", "description": "string", "disabled": true, "id": "string", "imageVersion": "string", "modifiedAt": "2023-05-15T02:23:55.752Z", "name": "string" } ], "message": "string", "success": true, "total": 0 }
- XML
<?xml version="1.0" encoding="UTF-8"?> <GetAiWorkspaceListResponse> <contents> <accountName>string</accountName> <createdAt>2023-05-15T02:26:26.689Z</createdAt> <description>string</description> <disabled>true</disabled> <id>string</id> <imageVersion>string</imageVersion> <modifiedAt>2023-05-15T02:26:26.689Z</modifiedAt> <name>string</name> </contents> <message>string</message> <success>true</success> <total>0</total> </GetAiWorkspaceListResponse>
Errors
Examples
Request Examples
POST https://df.apigw.ntruss.com/api/v2/aiworkspaces/getList
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
{
"search": {
"accountId": "azjdAVRBx7cdEZqjvxSabH"
}
}
curl -X POST "https://df.apigw.ntruss.com/api/v2/aiworkspaces/getList" \
-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 "{ \"search\": { \"accountId\": \"azjdAVRBx7cdEZqjvxSabH\" }}" \
Response examples
HTTP
HTTP Status Description 200 OK BASH
{ "success": true, "total":1, "contents": [ { "id": "9YYJ3tyxqtafSniaNvJ8uq", "name": "<AI workspace-name>", "accountName": "<account-name>", "description": "<AI workspace-name>", "imageVersion": "<Docker image>:<Docker image version>", "createdAt": "2022-07-27T16:17:44.055+09:00", "modifiedAt": "2022-07-27T16:17:44.092+09:00", "disabled": true } ] }
Was this article helpful?