ListBiddingDoc
Retrieves the list of bidding document writing tasks.
Try it now
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.
RAM authorization
The following table lists the authorization information for this API. You can use the Action element in RAM permission policy statements to grant RAM users or RAM roles the permission to call this API. Details:
-
Action: the specific permission point.
-
Access level: the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization for the operation. Details:
- For required resource types, an asterisk (*) is prefixed.
- For operations that do not support resource-level authorization,
All resourcesis used.
-
Condition key: the condition keys defined by the cloud service itself.
-
Dependent action: the other permissions required to successfully perform the operation. The caller must have the permissions of all dependent actions for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:ListBiddingDoc | list | *All resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| WorkspaceId | string | No | llm-xx | |
| TaskName | string | No | Defines the task name. | My bidding task |
| TaskStatus | integer | No | Task status | 0-waiting, 1-running, 2-success, 3-pause, 4-fail |
| CreateTimeStart | string | No | Start creation time, in timestamp format. | 2023-02-19 07:28:11 |
| CreateTimeEnd | string | No | End creation time, in timestamp format. | 2023-03-18 02:00:00 |
| Current | integer | No | Current page number | 1 |
| Size | integer | No | Number of items per page. Default: 10. | 10 |
| Skip | integer | No | Deprecated | null |
| MaxResults | integer | No | Deprecated | null |
| NextToken | string | No | Deprecated | null |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | Schema of Response | ||
| RequestId | string | Id of the request | 1813ceee-7fe5-41b4-87e5-982a4d18cca5 |
| Code | string | Status code | success |
| HttpStatusCode | integer | HTTP status code | 200 |
| Message | string | Error description | success |
| Success | boolean | Whether the operation was successful: true for success, false for failure | true |
| MaxResults | integer | Deprecated | null |
| NextToken | string | Deprecated | null |
| TotalCount | integer | Deprecated | null |
| Current | integer | Current page number | 1 |
| Size | integer | Number of items per page | 10 |
| Total | integer | Total records | 10 |
| Data | array<object> | Returned data | |
| Data | object | Business data | |
| TaskId | string | Task ID. | 3f7045e099474ba28ceca1b4eb6d6e21 |
| TaskName | string | Task name | My bidding task |
| TaskStatus | integer | Task status | 1 |
| CreateTimeStart | string | Creation time - start range, format: yyyy-MM-dd HH:mm:ss | 2023-03-18 02:00:00 |
| TaskStep | string | Task step | analysis writing |
Examples
Success response
JSON format
{
"RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
"Code": "success",
"HttpStatusCode": 200,
"Message": "success",
"Success": true,
"MaxResults": 0,
"NextToken": null,
"TotalCount": 0,
"Current": 1,
"Size": 10,
"Total": 10,
"Data": [
{
"TaskId": "3f7045e099474ba28ceca1b4eb6d6e21",
"TaskName": "任务名称",
"TaskStatus": 1,
"CreateTimeStart": "2023-03-18 02:00:00\n",
"TaskStep": "analysis\nwriting"
}
]
}
Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 403 | NoPermission | You are not authorized to perform this action. | Please check the workspaceId assignment |
Visit the Error Center for more error codes.