ModifyAiproEmbedConfig
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AiProId |
string |
No |
The AIPro configuration ID. If this parameter is not specified or is left empty, a new configuration is created. If this parameter is specified, the existing configuration is updated. |
test |
| ShowName |
string |
No |
The name of the configuration. This parameter is required and must be unique within the organization when you create a configuration. If this parameter is left empty when you update a configuration, the name is not updated. |
test |
| AgentName |
string |
No |
The nickname of the agent. The default value is Intelligent Data Analytics Assistant when you create a configuration. |
test |
| ChatHistoryStatus |
integer |
No |
Specifies whether to display the chat history. Valid values:
Default value: 1. |
1 |
| MemoryEnabled |
integer |
No |
Specifies whether to enable memory. Valid values:
Default value: 0. |
1 |
| UploadEnabled |
integer |
No |
Specifies whether to allow file uploads. Valid values:
Default value: 0. |
1 |
| Config |
string |
No |
The JSON string of the embedding appearance configuration saved on the frontend. |
test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
46e53746***70 |
| Result |
boolean |
The execution result of the operation. Valid values:
|
true |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "46e53746***70",
"Result": true,
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Internal.System.Error | An internal system error occurred. | An internal system error occurred. |
| 400 | AIPro.EmbedConfig.NotFindError | Can not find AI Pro embed config with this aiProId %s. | Embedded configuration not found:%s. |
| 400 | Invalid.Parameter | An error occurred while verifying parameters. | An error occurred while verifying parameters. |
| 400 | AIProEmbed.ShowName.DuplicateError | AIPro embedded configuration name already exists, please replace it and try again. | AIPro embedded configuration name already exists, please replace it and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.