ModifyAiproEmbedConfig

Updated at:

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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:

  • 1: Display.

  • 0: Do not display.

Default value: 1.

1

MemoryEnabled

integer

No

Specifies whether to enable memory. Valid values:

  • 1: Enable.

  • 0: Disable.

Default value: 0.

1

UploadEnabled

integer

No

Specifies whether to allow file uploads. Valid values:

  • 1: Allow.

  • 0: Do not allow.

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: The operation is successful.

  • false: The operation fails.

true

Success

boolean

Indicates whether the request is successful. Valid values:

  • true: The request is successful.

  • false: The request fails.

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.