Retrieve a list of documents: Query the history of articles created in MiaoBi.
Debug
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
Debug
Authorization information
The following table describes the authorization information for this API. You can use it in the Action element of RAM policy statements to grant RAM users or RAM roles the permission to call this API. Details are as follows:
- Operation: refers to the specific permission point.
- Access level: refers to the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: refers to the resource types supported for authorization in the operation. Details are as follows:
- Required resource types are marked with a preceding asterisk (*).
- For operations that do not support resource-level authorization,
All Resourcesis used.
- Condition key: refers to the condition keys defined by the cloud service itself.
- Related action: refers to other permissions required to successfully perform the operation. The caller must have the permissions of all related actions for the operation to succeed.
| Operation | Access level | Resource type | Condition key | Related action |
|---|---|---|---|---|
| aimiaobi:ListGeneratedContents | list | *All resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| AgentKey | string | Yes | Workspace ID: AgentKey | xxxxx_p_efm |
| TaskId | string | No | Task ID Note By default, you do not need to specify TaskId. The system generates it automatically. When subsequent tasks use the same TaskId, those tasks belong to the same conversation. | task-03d46184ee7d8749 |
| StartTime | string | No | Start time | 2024-01-04 11:46:07 |
| EndTime | string | No | End time | 2024-01-04 11:46:07 |
| Title | string | No | Title text | Hangzhou Asian Games |
| Query | string | No | Search keyword: supports fuzzy search on titles and body text | Search Query |
| ContentDomain | string | No | Content domain (classification of creation types)
Valid values:
| media |
| Current | integer | No | Page number | 1 |
| Size | integer | No | Number of items per page: 10 by default | 10 |
| DataType | string | No | Data type filter
| plainText |
Response parameters
| Name | Type | Description | Example |
|---|---|---|---|
| object | Response | ||
| Code | string | Status code | NoData |
| Current | integer | Page number | 1 |
| Data | array<object> | Document list | |
| Data | object | Document | |
| Content | string | Content: rich text | Hangzhou Asian Games |
| ContentDomain | string | Content domain (classification of creation types)
| media |
| ContentText | string | Content: plain text | Hangzhou Asian Games |
| CreateTime | string | Creation time | 2024-01-04 11:46:07 |
| CreateUser | string | Creator | "123" |
| DeviceId | string | Device ID | xxx |
| Id | long | Document unique ID | 10 |
| KeywordList | array | Keywords | |
| KeywordList | string | Keyword | Opinion |
| Keywords | string | Keywords (string) | Opinion |
| Prompt | string | Prompt used for the last generation | Write xxx article |
| TaskId | string | Conversation task ID | 3f7045e099474ba28ceca1b4eb6d6e21 |
| Title | string | Title | Hangzhou Asian Games |
| UpdateTime | string | Update time | 2024-01-04 11:46:07 |
| UpdateUser | string | Updater | "1111" |
| Uuid | string | UUID traceability unique ID | xxx |
| FileKey | string | File unique ID | oss://default/oss-bucket-name/aimiaobi/2021/07/01/1625126400000/1.docx |
| FileAttr | object | File attributes | |
| FileName | string | File name | homedepothp.txt |
| Width | integer | Video width | 800 |
| TmpUrl | string | Temporary access URL for the video file. Expires in 1 hour. | http://www.example.com/xxx.mp4 |
| Height | integer | Video height | 500 |
| HttpStatusCode | integer | HTTP status code | 200 |
| Message | string | Error message | success |
| RequestId | string | Request ID | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Size | integer | Number of records per page | 10 |
| Success | boolean | Whether the request is successful: true indicates success, and false indicates failure | true |
| Total | integer | Total number of records | 100 |
Examples
Normal response example
JSON format