Retrieve the data source document.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
aimiaobi:GetDatasetDocument |
get |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
Unique identifier of your Alibaba Cloud Model Studio workspace. Get the workspace ID |
xxxx |
| DatasetId |
integer |
No |
Unique identifier of the dataset. |
1 |
| DatasetName |
string |
No |
Name of the dataset. |
数据集名称 |
| DocUuid |
string |
No |
Internal unique identifier of the document. |
xxx |
| DocId |
string |
No |
User-defined unique ID of the document. |
xxx |
| IncludeFields |
array |
No |
List of fields to include in the response. |
|
|
string |
No |
Field names to include. For example, metadata. |
metadata |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response object. |
||
| Data |
object |
Business data. |
|
| DocUuid |
string |
Unique ID of the document in the document system. |
xxx |
| Url |
string |
URL of the article. |
https://www.aliyun.com |
| Content |
string |
Content of the article. |
文章内容 |
| Summary |
string |
Summary of the article. |
文章摘要 |
| Title |
string |
Title of the document. |
文档标题 |
| PubTime |
string |
Publication time in yyyy-MM-dd HH:mm:ss format. |
2024-05-14 08:54:33 |
| SourceFrom |
string |
Source of the document. |
来源 |
| DisableHandleMultimodalMedia |
boolean |
Whether this record is indexed in the multimodal index library. |
true |
| DocId |
string |
User-side unique ID of the document. |
xxx |
| Metadata |
object |
Dictionary information. |
|
| Text |
string |
Metadata for the document dimension. |
xx |
| VideoShots |
array<object> |
Video sharding information. |
|
|
object |
Video sharding information. |
||
| StartTime |
integer |
Start time of the video shard in milliseconds. |
1000 |
| EndTime |
integer |
End time of the video shard in milliseconds. |
2000 |
| Text |
string |
Content of the video shard. |
xxx |
| AsrSentences |
array<object> |
ASR results. |
|
|
object |
ASR result. |
||
| StartTime |
integer |
Start time in milliseconds. |
1000 |
| EndTime |
integer |
End time in milliseconds. |
2000 |
| Text |
string |
ASR text content. |
xxx |
| KeyValues |
array<object> |
||
|
object |
|||
| Key |
string |
xx |
|
| Value |
string |
xx |
|
| DocType |
string |
Document type. For example, video or image. |
video |
| Status |
integer |
Document status. 100 means success. 0 means failure. 1 means indexing or queued. |
100 |
| CategoryUuid |
string |
xx |
|
| Tags |
array |
||
|
string |
xx |
||
| Extend1 |
string |
xx |
|
| Extend2 |
string |
xx |
|
| Extend3 |
string |
xx |
|
| RequestId |
string |
Unique identifier of the request. |
1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Success |
boolean |
Indicates whether the operation succeeded. true means success. false means failure. |
true |
| Code |
string |
Status code. |
NoData |
| Message |
string |
Error message. |
success |
| HttpStatusCode |
integer |
HTTP status code. |
200 |
Examples
Success response
JSON format
{
"Data": {
"DocUuid": "xxx",
"Url": "https://www.aliyun.com",
"Content": "文章内容",
"Summary": "文章摘要",
"Title": "文档标题\n\n",
"PubTime": "2024-05-14 08:54:33",
"SourceFrom": "来源",
"DisableHandleMultimodalMedia": true,
"DocId": "xxx",
"Metadata": {
"Text": "xx",
"VideoShots": [
{
"StartTime": 1000,
"EndTime": 2000,
"Text": "xxx"
}
],
"AsrSentences": [
{
"StartTime": 1000,
"EndTime": 2000,
"Text": "xxx"
}
],
"KeyValues": [
{
"Key": "xx",
"Value": "xx"
}
]
},
"DocType": "video",
"Status": 100,
"CategoryUuid": "xx",
"Tags": [
"xx"
],
"Extend1": "xx",
"Extend2": "xx",
"Extend3": "xx"
},
"RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
"Success": true,
"Code": "NoData",
"Message": "success",
"HttpStatusCode": 200
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.