Connection

Updated at:

Parameter

Type

Description

Example

object

Connection information.

Description

string

The connection description.

This is a description of a database connection.

ConnectionType

string

The connection type. Valid values:

  • DashScopeConnection: A service connection to Model Studio.

  • OpenLLMConnection: An open source model connection.

  • MilvusConnection: A Milvus connection.

  • OpenSearchConnection: An OpenSearch connection.

  • LindormConnection: A Lindorm connection.

  • ElasticsearchConnection: An Elasticsearch connection.

  • HologresConnection: A Hologres connection.

  • RDSConnection: An RDS connection.

  • CustomConnection: A custom connection.

ElasticsearchConnection

Accessibility

string

The workspace visibility. Valid values:

  • PRIVATE (default): The connection is visible only to you and administrators in the workspace.

  • PUBLIC: The connection is visible to all users in the workspace.

PRIVATE

Secrets

object

The key-value configurations to encrypt, such as database logon passwords and model connection keys.

string

The value of the encrypted connection configuration.

Dsjk***hsl01

WorkspaceId

string

The workspace ID.

228**

Creator

string

The creator of the connection.

20925961****557803

ResourceMeta

object

The resource information for the connection. This usually applies to database connection configurations.

InstanceName

string

The instance name.

lindorm-xxxxxxx

Extra

string

Extra configuration information.

{"vpcId":"vpc-xxxx"}

InstanceId

string

The instance ID.

ld-2vc1***v1zaqgzol

GmtModifiedTime

string

The time when the connection was last modified. The time is in UTC and follows the ISO 8601 format.

2025-03-07T07:54:56Z

ConnectionName

string

The name of the connection.

lindorm-connection

ConnectionId

string

The connection ID.

conn-pai9m***mi47

Configs

object

The connection configurations.

string

The value of the connection configuration.

12345

Models

array

The model list.

object

The model.

ToolCall

boolean

Indicates whether tool calling is supported. Valid values:

  • true: Supported

  • false: Not supported

true

Model

string

The model identifier.

model_001

DisplayName

string

The model's display name.

BGE model deploy.

ModelType

string

The model type. Valid values:

  • LLM (large language model)

  • Embedding (Embedding model)

  • ReRank (ReRank model)

LLM

GmtCreateTime

string

The time when the connection was created. The time is in UTC and follows the ISO 8601 format.

2025-03-07T07:54:56Z