Retrieves configuration information for write data sources and general search data sources.
Try it now
You can call this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.
Debug
RAM authorization
The following table lists the authorization information for this API. You can use it in the Action element of a RAM policy statement to grant a RAM user or RAM role permission to call this API. Details are as follows:
- 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 are as follows:
- Required resource types are marked with a preceding *.
- 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: other permissions required to successfully perform the operation. The caller must have the permissions of the dependent actions as well for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| aimiaobi:GetDataSourceOrderConfig | get | *All Resources * |
| None |
Request parameters
| Parameter | Type | Required | Description | Example value |
|---|---|---|---|---|
| AgentKey | string | Yes | Unique identifier for the workspace: AgentKey | d9a1f6146a37446495d9985c2e7b267e_p_outbound_public |
| ProductCode | string | Yes | Configuration type. Valid values:
| miaobi |
| GenerateTechnology | string | No | When productCode=miaosou, it corresponds to Miaosou: generation technology Valid values:
| copilotPrecise |
Response elements
| Element | Type | Description | Example value |
|---|---|---|---|
| object | PlainResult | ||
| Code | string | Status code | successful |
| Data | object | Business data | |
| UserConfigDataSourceList | array<object> | List of user-configured data source weights | |
| UserConfigDataSourceList | object | ||
| Code | string | Code description | QuarkCommonNews |
| Name | string | Display name | Quark General Search |
| Number | integer | Quantity | 20 |
| Type | string | Type | SystemSearch |
| Enable | boolean | Indicates whether it is enabled | |
| TotalDocSize | integer | Maximum total number of documents | 1 |
| HttpStatusCode | integer | HTTP status code | 200 |
| Message | string | Error description | successful |
| RequestId | string | Unique request identifier | 428DCC0D-3C63-5306-BD1B-124396AB97BE |
| Success | boolean | Indicates whether the request is successful: true indicates success, false indicates failure | true |
Examples
Success response
JSON format