Skip to main content

GetDataSourceOrderConfig

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 Resources is 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.
ActionAccess levelResource typeCondition keyDependent action
aimiaobi:GetDataSourceOrderConfigget
*All Resources
*
    None
None

Request parameters

ParameterTypeRequiredDescriptionExample value
AgentKeystringYes

Unique identifier for the workspace: AgentKey

d9a1f6146a37446495d9985c2e7b267e_p_outbound_public
ProductCodestringYes

Configuration type. Valid values:

  • miaobi

  • miaosou

miaobi
GenerateTechnologystringNo

When productCode=miaosou, it corresponds to Miaosou: generation technology

Valid values:

  • copilotPrecise

  • copilotReference

copilotPrecise

Response elements

ElementTypeDescriptionExample value
object

PlainResult

Codestring

Status code

successful
Dataobject

Business data

UserConfigDataSourceListarray<object>

List of user-configured data source weights

UserConfigDataSourceListobject
Codestring

Code description

QuarkCommonNews
Namestring

Display name

Quark General Search
Numberinteger

Quantity

20
Typestring

Type

SystemSearch
Enableboolean

Indicates whether it is enabled

TotalDocSizeinteger

Maximum total number of documents

1
HttpStatusCodeinteger

HTTP status code

200
Messagestring

Error description

successful
RequestIdstring

Unique request identifier

428DCC0D-3C63-5306-BD1B-124396AB97BE
Successboolean

Indicates whether the request is successful: true indicates success, false indicates failure

true

Examples

Success response JSON format
{
  "Code": "successful",
  "Data": {
    "UserConfigDataSourceList": [
      {
        "Code": "QuarkCommonNews",
        "Name": "夸克通用搜索",
        "Number": 20,
        "Type": "SystemSearch",
        "Enable": true
      }
    ],
    "TotalDocSize": 1
  },
  "HttpStatusCode": 200,
  "Message": "successful",
  "RequestId": "428DCC0D-3C63-5306-BD1B-124396AB97BE",
  "Success": true
}

Error codes

Visit the Error Center to view more error codes.