UpdateGeneralConfig

Updated at:

Updates general configurations.

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 a RAM policy statement to grant RAM users or RAM roles the 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:

    • For required resource types, an asterisk (*) is added as a prefix.
    • For operations that do not support resource-level authorization, All resources is used.
  • Condition key: the condition keys defined by the cloud service itself.

  • Related action: other permissions required to successfully perform the action. The caller must also have the permissions of the related actions for the operation to succeed.

ActionAccess levelResource typeCondition keyRelated action
aimiaobi:UpdateGeneralConfigupdate
*All resources
*
    None
None

Request parameters

NameTypeRequiredDescriptionExample value
WorkspaceIdstringYes

The unique identifier of the Model Studio workspace: Get workspaceId

xxxx
ConfigKeystringYes

The unique identifier of the configuration item. The following configurations are supported:

  • MiaoSou data source text search threshold (double): searchGenerate.searchTextMinScore
  • MiaoSou data source image search threshold (double): searchGenerate.searchImageMinScore
  • MiaoSou data source video search threshold (double): searchGenerate.searchVideoMinScore
  • MiaoSou data source audio search threshold (double): searchGenerate.searchAudioMinScore
  • MiaoSou Q&A search general answer summary plain-text prompt template (string): searchGenerate.sumQaAgentPrompt
  • MiaoSou Q&A search general answer summary prompt template with text & images (string): searchGenerate.sumQaAgentVlPrompt
  • MiaoSou Q&A search deep answer summary plain-text prompt template (string): searchGenerate.sumQaEnhanceAgentPrompt
  • MiaoSou Q&A search deep answer summary prompt template with text & images (string): searchGenerate.sumQaEnhanceAgentVlPrompt
xx
ConfigValuestringYes

The value of the configuration item.

xxx

Response parameters

NameTypeDescriptionExample value
object

The response result.

Dataobject

The unique identifier of the configuration item.

ConfigKeystring

The unique identifier of the configuration.

xx
ConfigValuestring

The value of the configuration.

xxx
ConfigValueTypestring

The configuration value type.

xx
ConfigDescstring

The description of the configuration item.

xxx
RequestIdstring

The unique identifier of the request.

1813ceee-7fe5-41b4-87e5-982a4d18cca5
Successboolean

Indicates whether the request was successful. Valid values: true (successful), false (failed).

true
Codestring

The status code.

NoData
Messagestring

The error description.

success
HttpStatusCodeinteger

The HTTP status code.

200

Examples

Success response

JSON format

{
  "Data": {
    "ConfigKey": "xx",
    "ConfigValue": "xxx",
    "ConfigValueType": "xx",
    "ConfigDesc": "xxx"
  },
  "RequestId": "1813ceee-7fe5-41b4-87e5-982a4d18cca5",
  "Success": true,
  "Code": "NoData",
  "Message": "success",
  "HttpStatusCode": 200
}

Error codes

Visit the Error Center to view more error codes.

Change history

Change timeChange summaryOperation
2025-11-12New OpenAPIView change details