GetDataset
Queries a dataset.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:GetDataset |
get |
*Dataset
|
None | None |
Request syntax
GET /workspace/{workspace}/dataset/{datasetName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
The workspace ID. |
workspace-test |
| datasetName |
string |
Yes |
The dataset name. |
test_dataset |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| description |
string |
The description. |
test |
| createTime |
string |
The creation time. |
1695090077 |
| requestId |
string |
The request ID. |
8FDE2569-626B-5176-9844-28877A***** |
| updateTime |
string |
The update time. |
1695090077 |
| workspace |
string |
The workspace name. |
workspace-test |
| datasetName |
string |
The dataset name. |
test_dataset |
| regionId |
string |
The region ID. |
cn-heyuan |
| schema |
object |
The table schema. |
|
| IndexKey |
The table schema. |
Examples
Success response
JSON format
{
"description": "test",
"createTime": "1695090077",
"requestId": "8FDE2569-626B-5176-9844-28877A*****",
"updateTime": "1695090077",
"workspace": "workspace-test",
"datasetName": "test_dataset",
"regionId": "cn-heyuan",
"schema": {
"key": {
"chn": true,
"type": "text",
"embedding": "text-embedding-v4",
"jsonKeys": {
"key": {
"type": "text",
"chn": true
}
}
}
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.