{
	"openapi": "3.0.3",
	"info": {
		"title": "默认模块",
		"description": "",
		"version": "1.0.0"
	},
	"servers": [
		{
			"url": "/",
			"description": "默认服务器"
		}
	],
	"tags": [
		{
			"name": "vector",
			"description": "向量"
		}
	],
	"paths": {
		"/api/ai/vector-store/types": {
			"post": {
				"summary": "获取支持的向量存储类型列表",
				"deprecated": false,
				"description": "",
				"tags": ["vector"],
				"parameters": [
					{
						"name": "Authorization",
						"in": "header",
						"description": "",
						"example": "bpm_client_1520995593147650048",
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"type": "object",
								"properties": {}
							},
							"example": {}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"description": "",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"isSuccess": {
											"type": "boolean"
										},
										"code": {
											"type": "integer"
										},
										"result": {
											"type": "array",
											"items": {
												"type": "object",
												"properties": {
													"connection_fields": {
														"type": "array",
														"items": {
															"type": "object",
															"properties": {
																"default": {
																	"type": "string"
																},
																"description": {
																	"type": "string"
																},
																"immutable": {
																	"type": "boolean"
																},
																"name": {
																	"type": "string"
																},
																"required": {
																	"type": "boolean"
																},
																"sensitive": {
																	"type": "boolean"
																},
																"type": {
																	"type": "string"
																}
															},
															"required": [
																"default",
																"description",
																"immutable",
																"name",
																"required",
																"sensitive",
																"type"
															]
														}
													},
													"display_name": {
														"type": "string"
													},
													"index_fields": {
														"type": "array",
														"items": {
															"type": "object",
															"properties": {
																"default": {
																	"type": "string"
																},
																"description": {
																	"type": "string"
																},
																"immutable": {
																	"type": "boolean"
																},
																"name": {
																	"type": "string"
																},
																"required": {
																	"type": "boolean"
																},
																"sensitive": {
																	"type": "boolean"
																},
																"type": {
																	"type": "string"
																},
																"max": {
																	"type": "integer"
																},
																"min": {
																	"type": "integer"
																},
																"enum": {
																	"type": "array",
																	"items": {
																		"type": "string"
																	}
																}
															},
															"required": [
																"default",
																"description",
																"immutable",
																"name",
																"required",
																"sensitive",
																"type",
																"max",
																"min"
															]
														}
													},
													"type": {
														"type": "string"
													}
												},
												"required": ["connection_fields", "display_name", "index_fields", "type"]
											}
										},
										"isAuthorized": {
											"type": "boolean"
										}
									},
									"required": ["isSuccess", "code", "result", "isAuthorized"]
								},
								"example": {
									"isSuccess": true,
									"code": 1,
									"result": [
										{
											"connection_fields": [
												{
													"default": "http://localhost:9200",
													"description": "URL",
													"immutable": false,
													"name": "addr",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "elastic",
													"description": "Username",
													"immutable": false,
													"name": "username",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Password",
													"immutable": false,
													"name": "password",
													"required": false,
													"sensitive": true,
													"type": "string"
												}
											],
											"display_name": "Elasticsearch",
											"index_fields": [
												{
													"default": "weknora",
													"description": "Index Name",
													"immutable": false,
													"name": "index_name",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "4",
													"description": "Shards",
													"immutable": false,
													"name": "number_of_shards",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replicas",
													"immutable": false,
													"name": "number_of_replicas",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "elasticsearch"
										},
										{
											"connection_fields": [
												{
													"default": "localhost",
													"description": "Host",
													"immutable": false,
													"name": "host",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "6334",
													"description": "Port",
													"immutable": false,
													"name": "port",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"description": "API Key",
													"immutable": false,
													"name": "api_key",
													"required": false,
													"sensitive": true,
													"type": "string"
												},
												{
													"default": "false",
													"description": "Use TLS",
													"immutable": false,
													"name": "use_tls",
													"required": false,
													"sensitive": false,
													"type": "boolean"
												}
											],
											"display_name": "Qdrant",
											"index_fields": [
												{
													"default": "weknora_embeddings",
													"description": "Collection Prefix",
													"immutable": false,
													"name": "collection_prefix",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "1",
													"description": "Shard Number",
													"immutable": false,
													"name": "shard_number",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replication Factor",
													"immutable": false,
													"name": "replication_factor",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "qdrant"
										},
										{
											"connection_fields": [
												{
													"default": "localhost:19530",
													"description": "Address",
													"immutable": false,
													"name": "addr",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Database Name",
													"immutable": false,
													"name": "database",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "root",
													"description": "Username",
													"immutable": false,
													"name": "username",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Password",
													"immutable": false,
													"name": "password",
													"required": false,
													"sensitive": true,
													"type": "string"
												}
											],
											"display_name": "Milvus",
											"index_fields": [
												{
													"default": "weknora_embeddings",
													"description": "Collection Name",
													"immutable": false,
													"name": "collection_name",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "1",
													"description": "Shards (write parallelism)",
													"immutable": false,
													"name": "shards_num",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "In-memory Replicas (read HA)",
													"immutable": false,
													"name": "replica_number",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "milvus"
										},
										{
											"connection_fields": [
												{
													"default": "http://localhost:8080",
													"description": "Address",
													"immutable": false,
													"name": "addr",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Username",
													"immutable": false,
													"name": "username",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "API Key",
													"immutable": false,
													"name": "api_key",
													"required": true,
													"sensitive": true,
													"type": "string"
												},
												{
													"default": "weknora",
													"description": "Database",
													"immutable": false,
													"name": "database",
													"required": false,
													"sensitive": false,
													"type": "string"
												}
											],
											"display_name": "Tencent VectorDB",
											"index_fields": [
												{
													"default": "weknora_embeddings",
													"description": "Collection Name",
													"immutable": false,
													"name": "collection_name",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "1",
													"description": "Shards",
													"immutable": false,
													"name": "shards_num",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replicas",
													"immutable": false,
													"name": "replica_number",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "tencent_vectordb"
										},
										{
											"connection_fields": [
												{
													"default": "weaviate:8080",
													"description": "Host",
													"immutable": false,
													"name": "host",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "weaviate:50051",
													"description": "gRPC Address",
													"immutable": false,
													"name": "grpc_address",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "http",
													"description": "Scheme",
													"immutable": false,
													"name": "scheme",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "API Key",
													"immutable": false,
													"name": "api_key",
													"required": false,
													"sensitive": true,
													"type": "string"
												}
											],
											"display_name": "Weaviate",
											"index_fields": [
												{
													"default": "Weknora_embeddings",
													"description": "Collection Prefix",
													"immutable": false,
													"name": "collection_prefix",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "1",
													"description": "Shard Count",
													"immutable": false,
													"name": "desired_shard_count",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replication Factor",
													"immutable": false,
													"name": "replication_factor",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "weaviate"
										},
										{
											"connection_fields": [
												{
													"default": "doris-fe:9030",
													"description": "FE MySQL Address (host:port)",
													"immutable": false,
													"name": "addr",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "8030",
													"description": "FE HTTP Port (Stream Load)",
													"immutable": false,
													"name": "http_port",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "weknora",
													"description": "Database",
													"immutable": false,
													"name": "database",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "root",
													"description": "Username",
													"immutable": false,
													"name": "username",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Password",
													"immutable": false,
													"name": "password",
													"required": false,
													"sensitive": true,
													"type": "string"
												}
											],
											"display_name": "Apache Doris",
											"index_fields": [
												{
													"default": "weknora_embeddings",
													"description": "Table Prefix",
													"immutable": false,
													"name": "collection_prefix",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "10",
													"description": "Buckets per table",
													"immutable": false,
													"name": "buckets_num",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replication Num",
													"immutable": false,
													"name": "replication_num",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "doris"
										},
										{
											"connection_fields": [
												{
													"default": "https://localhost:9200",
													"description": "URL",
													"immutable": false,
													"name": "addr",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "admin",
													"description": "Username",
													"immutable": false,
													"name": "username",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Password",
													"immutable": false,
													"name": "password",
													"required": false,
													"sensitive": true,
													"type": "string"
												},
												{
													"default": "false",
													"description": "Skip TLS certificate verification. For self-signed dev clusters only — never enable in production.",
													"immutable": false,
													"name": "insecure_skip_verify",
													"required": false,
													"sensitive": false,
													"type": "boolean"
												}
											],
											"display_name": "OpenSearch",
											"index_fields": [
												{
													"default": "weknora",
													"description": "Index Name",
													"immutable": false,
													"name": "index_name",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "4",
													"description": "Shards",
													"immutable": false,
													"max": 64,
													"min": 1,
													"name": "number_of_shards",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replicas",
													"immutable": false,
													"max": 10,
													"min": 0,
													"name": "number_of_replicas",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "16",
													"description": "HNSW graph degree (M). Immutable after index creation.",
													"immutable": true,
													"max": 100,
													"min": 2,
													"name": "hnsw_m",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "100",
													"description": "HNSW build candidate list. Higher (e.g. 200-512) improves recall at the cost of build time. Immutable after creation.",
													"immutable": true,
													"max": 4096,
													"min": 2,
													"name": "hnsw_ef_construction",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "100",
													"description": "HNSW search candidate list. Effective on the faiss engine; the lucene engine reads it at query time. Immutable (no settings-update path).",
													"immutable": true,
													"max": 10000,
													"min": 1,
													"name": "hnsw_ef_search",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "lucene",
													"description": "k-NN backend.",
													"enum": ["lucene", "faiss"],
													"immutable": true,
													"name": "knn_engine",
													"required": false,
													"sensitive": false,
													"type": "string"
												}
											],
											"type": "opensearch"
										}
									],
									"isAuthorized": true
								}
							}
						},
						"headers": {}
					}
				},
				"security": []
			}
		},
		"/api/ai/vector-store/selectList": {
			"post": {
				"summary": "获取向量选择列表",
				"deprecated": false,
				"description": "",
				"tags": ["vector"],
				"parameters": [
					{
						"name": "Authorization",
						"in": "header",
						"description": "",
						"example": "bpm_client_1520995593147650048",
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"type": "object",
								"properties": {
									"keyword": {
										"type": "string"
									}
								},
								"required": []
							},
							"example": {
								"keyword": ""
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"description": "",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"isSuccess": {
											"type": "boolean"
										},
										"code": {
											"type": "integer"
										},
										"result": {
											"type": "array",
											"items": {
												"type": "object",
												"properties": {
													"connection_fields": {
														"type": "array",
														"items": {
															"type": "object",
															"properties": {
																"default": {
																	"type": "string"
																},
																"description": {
																	"type": "string"
																},
																"immutable": {
																	"type": "boolean"
																},
																"name": {
																	"type": "string"
																},
																"required": {
																	"type": "boolean"
																},
																"sensitive": {
																	"type": "boolean"
																},
																"type": {
																	"type": "string"
																}
															},
															"required": [
																"default",
																"description",
																"immutable",
																"name",
																"required",
																"sensitive",
																"type"
															]
														}
													},
													"display_name": {
														"type": "string"
													},
													"index_fields": {
														"type": "array",
														"items": {
															"type": "object",
															"properties": {
																"default": {
																	"type": "string"
																},
																"description": {
																	"type": "string"
																},
																"immutable": {
																	"type": "boolean"
																},
																"name": {
																	"type": "string"
																},
																"required": {
																	"type": "boolean"
																},
																"sensitive": {
																	"type": "boolean"
																},
																"type": {
																	"type": "string"
																},
																"max": {
																	"type": "integer"
																},
																"min": {
																	"type": "integer"
																},
																"enum": {
																	"type": "array",
																	"items": {
																		"type": "string"
																	}
																}
															},
															"required": [
																"default",
																"description",
																"immutable",
																"name",
																"required",
																"sensitive",
																"type",
																"max",
																"min"
															]
														}
													},
													"type": {
														"type": "string"
													}
												},
												"required": ["connection_fields", "display_name", "index_fields", "type"]
											}
										},
										"isAuthorized": {
											"type": "boolean"
										}
									},
									"required": ["isSuccess", "code", "result", "isAuthorized"]
								},
								"example": {
									"isSuccess": true,
									"code": 1,
									"result": [
										{
											"connection_fields": [
												{
													"default": "http://localhost:9200",
													"description": "URL",
													"immutable": false,
													"name": "addr",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "elastic",
													"description": "Username",
													"immutable": false,
													"name": "username",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Password",
													"immutable": false,
													"name": "password",
													"required": false,
													"sensitive": true,
													"type": "string"
												}
											],
											"display_name": "Elasticsearch",
											"index_fields": [
												{
													"default": "weknora",
													"description": "Index Name",
													"immutable": false,
													"name": "index_name",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "4",
													"description": "Shards",
													"immutable": false,
													"name": "number_of_shards",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replicas",
													"immutable": false,
													"name": "number_of_replicas",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "elasticsearch"
										}
									],
									"isAuthorized": true
								}
							},
							"headers": {}
						}
					},
					"security": []
				}
			}
		},
		"/api/ai/vector-store/pageList": {
			"post": {
				"summary": "获取分页列表",
				"deprecated": false,
				"description": "",
				"tags": ["vector"],
				"parameters": [
					{
						"name": "Authorization",
						"in": "header",
						"description": "",
						"example": "bpm_client_1520995593147650048",
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"type": "object",
								"properties": {
									"keyword": {
										"type": "string"
									},
									"pageIndex": {
										"type": "integer"
									},
									"pageSize": {
										"type": "integer"
									}
								},
								"required": ["keyword", "pageIndex", "pageSize"]
							},
							"example": {
								"keyword": "",
								"pageIndex": 1,
								"pageSize": 20
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"description": "",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"isSuccess": {
											"type": "boolean"
										},
										"code": {
											"type": "integer"
										},
										"result": {
											"type": "array",
											"items": {
												"type": "object",
												"properties": {
													"connection_fields": {
														"type": "array",
														"items": {
															"type": "object",
															"properties": {
																"default": {
																	"type": "string"
																},
																"description": {
																	"type": "string"
																},
																"immutable": {
																	"type": "boolean"
																},
																"name": {
																	"type": "string"
																},
																"required": {
																	"type": "boolean"
																},
																"sensitive": {
																	"type": "boolean"
																},
																"type": {
																	"type": "string"
																}
															},
															"required": [
																"default",
																"description",
																"immutable",
																"name",
																"required",
																"sensitive",
																"type"
															]
														}
													},
													"display_name": {
														"type": "string"
													},
													"index_fields": {
														"type": "array",
														"items": {
															"type": "object",
															"properties": {
																"default": {
																	"type": "string"
																},
																"description": {
																	"type": "string"
																},
																"immutable": {
																	"type": "boolean"
																},
																"name": {
																	"type": "string"
																},
																"required": {
																	"type": "boolean"
																},
																"sensitive": {
																	"type": "boolean"
																},
																"type": {
																	"type": "string"
																},
																"max": {
																	"type": "integer"
																},
																"min": {
																	"type": "integer"
																},
																"enum": {
																	"type": "array",
																	"items": {
																		"type": "string"
																	}
																}
															},
															"required": [
																"default",
																"description",
																"immutable",
																"name",
																"required",
																"sensitive",
																"type",
																"max",
																"min"
															]
														}
													},
													"type": {
														"type": "string"
													}
												},
												"required": ["connection_fields", "display_name", "index_fields", "type"]
											}
										},
										"isAuthorized": {
											"type": "boolean"
										}
									},
									"required": ["isSuccess", "code", "result", "isAuthorized"]
								},
								"example": {
									"isSuccess": true,
									"code": 1,
									"result": [
										{
											"connection_fields": [
												{
													"default": "http://localhost:9200",
													"description": "URL",
													"immutable": false,
													"name": "addr",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "elastic",
													"description": "Username",
													"immutable": false,
													"name": "username",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Password",
													"immutable": false,
													"name": "password",
													"required": false,
													"sensitive": true,
													"type": "string"
												}
											],
											"display_name": "Elasticsearch",
											"index_fields": [
												{
													"default": "weknora",
													"description": "Index Name",
													"immutable": false,
													"name": "index_name",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "4",
													"description": "Shards",
													"immutable": false,
													"name": "number_of_shards",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replicas",
													"immutable": false,
													"name": "number_of_replicas",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "elasticsearch"
										},
										{
											"connection_fields": [
												{
													"default": "localhost",
													"description": "Host",
													"immutable": false,
													"name": "host",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "6334",
													"description": "Port",
													"immutable": false,
													"name": "port",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"description": "API Key",
													"immutable": false,
													"name": "api_key",
													"required": false,
													"sensitive": true,
													"type": "string"
												},
												{
													"default": "false",
													"description": "Use TLS",
													"immutable": false,
													"name": "use_tls",
													"required": false,
													"sensitive": false,
													"type": "boolean"
												}
											],
											"display_name": "Qdrant",
											"index_fields": [
												{
													"default": "weknora_embeddings",
													"description": "Collection Prefix",
													"immutable": false,
													"name": "collection_prefix",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "1",
													"description": "Shard Number",
													"immutable": false,
													"name": "shard_number",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replication Factor",
													"immutable": false,
													"name": "replication_factor",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "qdrant"
										},
										{
											"connection_fields": [
												{
													"default": "localhost:19530",
													"description": "Address",
													"immutable": false,
													"name": "addr",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Database Name",
													"immutable": false,
													"name": "database",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "root",
													"description": "Username",
													"immutable": false,
													"name": "username",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Password",
													"immutable": false,
													"name": "password",
													"required": false,
													"sensitive": true,
													"type": "string"
												}
											],
											"display_name": "Milvus",
											"index_fields": [
												{
													"default": "weknora_embeddings",
													"description": "Collection Name",
													"immutable": false,
													"name": "collection_name",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "1",
													"description": "Shards (write parallelism)",
													"immutable": false,
													"name": "shards_num",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "In-memory Replicas (read HA)",
													"immutable": false,
													"name": "replica_number",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "milvus"
										},
										{
											"connection_fields": [
												{
													"default": "http://localhost:8080",
													"description": "Address",
													"immutable": false,
													"name": "addr",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Username",
													"immutable": false,
													"name": "username",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "API Key",
													"immutable": false,
													"name": "api_key",
													"required": true,
													"sensitive": true,
													"type": "string"
												},
												{
													"default": "weknora",
													"description": "Database",
													"immutable": false,
													"name": "database",
													"required": false,
													"sensitive": false,
													"type": "string"
												}
											],
											"display_name": "Tencent VectorDB",
											"index_fields": [
												{
													"default": "weknora_embeddings",
													"description": "Collection Name",
													"immutable": false,
													"name": "collection_name",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "1",
													"description": "Shards",
													"immutable": false,
													"name": "shards_num",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replicas",
													"immutable": false,
													"name": "replica_number",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "tencent_vectordb"
										},
										{
											"connection_fields": [
												{
													"default": "weaviate:8080",
													"description": "Host",
													"immutable": false,
													"name": "host",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "weaviate:50051",
													"description": "gRPC Address",
													"immutable": false,
													"name": "grpc_address",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "http",
													"description": "Scheme",
													"immutable": false,
													"name": "scheme",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "API Key",
													"immutable": false,
													"name": "api_key",
													"required": false,
													"sensitive": true,
													"type": "string"
												}
											],
											"display_name": "Weaviate",
											"index_fields": [
												{
													"default": "Weknora_embeddings",
													"description": "Collection Prefix",
													"immutable": false,
													"name": "collection_prefix",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "1",
													"description": "Shard Count",
													"immutable": false,
													"name": "desired_shard_count",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replication Factor",
													"immutable": false,
													"name": "replication_factor",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "weaviate"
										},
										{
											"connection_fields": [
												{
													"default": "doris-fe:9030",
													"description": "FE MySQL Address (host:port)",
													"immutable": false,
													"name": "addr",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "8030",
													"description": "FE HTTP Port (Stream Load)",
													"immutable": false,
													"name": "http_port",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "weknora",
													"description": "Database",
													"immutable": false,
													"name": "database",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "root",
													"description": "Username",
													"immutable": false,
													"name": "username",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Password",
													"immutable": false,
													"name": "password",
													"required": false,
													"sensitive": true,
													"type": "string"
												}
											],
											"display_name": "Apache Doris",
											"index_fields": [
												{
													"default": "weknora_embeddings",
													"description": "Table Prefix",
													"immutable": false,
													"name": "collection_prefix",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "10",
													"description": "Buckets per table",
													"immutable": false,
													"name": "buckets_num",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replication Num",
													"immutable": false,
													"name": "replication_num",
													"required": false,
													"sensitive": false,
													"type": "number"
												}
											],
											"type": "doris"
										},
										{
											"connection_fields": [
												{
													"default": "https://localhost:9200",
													"description": "URL",
													"immutable": false,
													"name": "addr",
													"required": true,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "admin",
													"description": "Username",
													"immutable": false,
													"name": "username",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"description": "Password",
													"immutable": false,
													"name": "password",
													"required": false,
													"sensitive": true,
													"type": "string"
												},
												{
													"default": "false",
													"description": "Skip TLS certificate verification. For self-signed dev clusters only — never enable in production.",
													"immutable": false,
													"name": "insecure_skip_verify",
													"required": false,
													"sensitive": false,
													"type": "boolean"
												}
											],
											"display_name": "OpenSearch",
											"index_fields": [
												{
													"default": "weknora",
													"description": "Index Name",
													"immutable": false,
													"name": "index_name",
													"required": false,
													"sensitive": false,
													"type": "string"
												},
												{
													"default": "4",
													"description": "Shards",
													"immutable": false,
													"max": 64,
													"min": 1,
													"name": "number_of_shards",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "1",
													"description": "Replicas",
													"immutable": false,
													"max": 10,
													"min": 0,
													"name": "number_of_replicas",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "16",
													"description": "HNSW graph degree (M). Immutable after index creation.",
													"immutable": true,
													"max": 100,
													"min": 2,
													"name": "hnsw_m",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "100",
													"description": "HNSW build candidate list. Higher (e.g. 200-512) improves recall at the cost of build time. Immutable after creation.",
													"immutable": true,
													"max": 4096,
													"min": 2,
													"name": "hnsw_ef_construction",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "100",
													"description": "HNSW search candidate list. Effective on the faiss engine; the lucene engine reads it at query time. Immutable (no settings-update path).",
													"immutable": true,
													"max": 10000,
													"min": 1,
													"name": "hnsw_ef_search",
													"required": false,
													"sensitive": false,
													"type": "number"
												},
												{
													"default": "lucene",
													"description": "k-NN backend.",
													"enum": ["lucene", "faiss"],
													"immutable": true,
													"name": "knn_engine",
													"required": false,
													"sensitive": false,
													"type": "string"
												}
											],
											"type": "opensearch"
										}
									],
									"isAuthorized": true
								}
							}
						},
						"headers": {}
					}
				},
				"security": []
			}
		},
		"/api/ai/vector-store/info": {
			"post": {
				"summary": "获取详情",
				"deprecated": false,
				"description": "",
				"tags": ["vector"],
				"parameters": [
					{
						"name": "Authorization",
						"in": "header",
						"description": "",
						"example": "bpm_client_1520995593147650048",
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"type": "object",
								"properties": {
									"id": {
										"type": "string"
									}
								},
								"required": ["id"]
							},
							"example": {
								"id": "aca5124a-171e-4edb-abe7-181733258d59"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"description": "",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"isSuccess": {
											"type": "boolean"
										},
										"code": {
											"type": "integer"
										},
										"result": {
											"type": "object",
											"properties": {
												"connection_config": {
													"type": "object",
													"properties": {
														"addr": {
															"type": "string"
														},
														"version": {
															"type": "string"
														},
														"username": {
															"type": "string"
														}
													},
													"required": ["addr", "version", "username"]
												},
												"creationTime": {
													"type": "string"
												},
												"creatorUserId": {
													"type": "string"
												},
												"engine_type": {
													"type": "string"
												},
												"id": {
													"type": "string"
												},
												"index_config": {
													"type": "object",
													"properties": {
														"number_of_shards": {
															"type": "integer"
														},
														"index_name": {
															"type": "string"
														},
														"number_of_replicas": {
															"type": "integer"
														}
													},
													"required": ["number_of_shards", "index_name", "number_of_replicas"]
												},
												"isDeleted": {
													"type": "boolean"
												},
												"name": {
													"type": "string"
												},
												"source": {
													"type": "string"
												},
												"updateTime": {
													"type": "string"
												},
												"userId": {
													"type": "string"
												}
											},
											"required": [
												"connection_config",
												"creationTime",
												"creatorUserId",
												"engine_type",
												"id",
												"index_config",
												"isDeleted",
												"name",
												"source",
												"updateTime",
												"userId"
											]
										},
										"isAuthorized": {
											"type": "boolean"
										}
									},
									"required": ["isSuccess", "code", "result", "isAuthorized"]
								},
								"example": {
									"isSuccess": true,
									"code": 1,
									"result": {
										"connection_config": {
											"addr": "http://es.shalu.com",
											"version": "8.10.4",
											"username": "elastic"
										},
										"creationTime": "2026-06-08 21:58:08",
										"creatorUserId": "7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993",
										"engine_type": "elasticsearch",
										"id": "2311f372-21b0-4956-ac1e-61d3c49fa606",
										"index_config": {
											"number_of_shards": 4,
											"index_name": "shalu",
											"number_of_replicas": 1
										},
										"isDeleted": false,
										"name": "Elasticsearch",
										"source": "user",
										"updateTime": "2026-06-08 21:58:08",
										"userId": "7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993"
									},
									"isAuthorized": true
								}
							}
						},
						"headers": {}
					}
				},
				"security": []
			}
		},
		"/api/ai/vector-store/create": {
			"post": {
				"summary": "创建向量存储",
				"deprecated": false,
				"description": "",
				"tags": ["vector"],
				"parameters": [
					{
						"name": "Authorization",
						"in": "header",
						"description": "",
						"example": "bpm_client_1520995593147650048",
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"type": "object",
								"properties": {
									"name": {
										"type": "string"
									},
									"engine_type": {
										"type": "string"
									},
									"connection_config": {
										"type": "object",
										"properties": {
											"addr": {
												"type": "string"
											},
											"username": {
												"type": "string"
											},
											"password": {
												"type": "string"
											}
										},
										"required": ["addr", "username", "password"]
									},
									"index_config": {
										"type": "object",
										"properties": {
											"index_name": {
												"type": "string"
											},
											"number_of_shards": {
												"type": "integer"
											},
											"number_of_replicas": {
												"type": "integer"
											}
										},
										"required": ["index_name", "number_of_shards", "number_of_replicas"]
									}
								},
								"required": ["name", "engine_type", "connection_config", "index_config"]
							},
							"examples": {
								"1": {
									"value": {
										"name": "Elasticsearch",
										"engine_type": "elasticsearch",
										"connection_config": {
											"addr": "http://es.shalu.com",
											"username": "elastic",
											"password": ""
										},
										"index_config": {
											"index_name": "shalu",
											"number_of_shards": 4,
											"number_of_replicas": 1
										}
									},
									"summary": "Elasticsearch"
								},
								"2": {
									"value": {
										"name": "Doris",
										"engine_type": "doris",
										"connection_config": {
											"addr": "doris-fe:9030",
											"http_port": 8030,
											"database": "shalu",
											"user": "username",
											"password": ""
										},
										"index_config": {
											"collection_prefix": "shalu",
											"buckets_num": 10,
											"replication_num": 1
										}
									},
									"summary": "Doris"
								},
								"3": {
									"value": {
										"name": "Milvus",
										"engine_type": "milvus",
										"connection_config": {
											"addr": "localhost:19530",
											"database": "shalu",
											"username": "root",
											"password": ""
										},
										"index_config": {
											"collection_name": "shalu",
											"shards_num": 1,
											"replica_number": 1
										}
									},
									"summary": "Milvus"
								},
								"4": {
									"value": {
										"name": "OpenSearch",
										"engine_type": "opensearch",
										"connection_config": {
											"addr": "https://localhost:9200",
											"username": "admin",
											"password": "",
											"insecure_skip_verify": false
										},
										"index_config": {
											"index_name": "shalu",
											"number_of_shards": 4,
											"number_of_replicas": 1,
											"hnsw_m": 16,
											"hnsw_ef_construction": 100,
											"hnsw_ef_search": 100,
											"knn_engine": "lucene"
										}
									},
									"summary": "OpenSearch"
								},
								"5": {
									"value": {
										"name": "Qdrant",
										"engine_type": "qdrant",
										"connection_config": {
											"host": "localhost",
											"port": 6334,
											"api_key": "",
											"use_tls": false
										},
										"index_config": {
											"collection_prefix": "shalu",
											"shard_number": 1,
											"replication_factor": 1
										}
									},
									"summary": "Qdrant"
								},
								"6": {
									"value": {
										"name": "TencentVectorDB",
										"engine_type": "tencent_vectordb",
										"connection_config": {
											"addr": "http://localhost:8080",
											"username": "shalu",
											"port": 6334,
											"api_key": "",
											"database": ""
										},
										"index_config": {
											"collection_name": "shalu",
											"shards_num": 1,
											"replica_number": 1
										}
									},
									"summary": "TencentVectorDB"
								},
								"7": {
									"value": {
										"name": "Weaviate",
										"engine_type": "weaviate",
										"connection_config": {
											"host": "weaviate:8080",
											"grpc_address": "weaviate:50051",
											"scheme": "http",
											"api_key": ""
										},
										"index_config": {
											"collection_prefix": "shalu",
											"desired_shard_count": 1,
											"replication_factor": 1
										}
									},
									"summary": "Weaviate"
								}
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"description": "",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"isSuccess": {
											"type": "boolean"
										},
										"code": {
											"type": "integer"
										},
										"result": {
											"type": "object",
											"properties": {
												"connection_config": {
													"type": "object",
													"properties": {
														"addr": {
															"type": "string"
														},
														"version": {
															"type": "string"
														},
														"username": {
															"type": "string"
														}
													},
													"required": ["addr", "version", "username"]
												},
												"creationTime": {
													"type": "string"
												},
												"creatorUserId": {
													"type": "string"
												},
												"engine_type": {
													"type": "string"
												},
												"id": {
													"type": "string"
												},
												"index_config": {
													"type": "object",
													"properties": {
														"number_of_shards": {
															"type": "integer"
														},
														"index_name": {
															"type": "string"
														},
														"number_of_replicas": {
															"type": "integer"
														}
													},
													"required": ["number_of_shards", "index_name", "number_of_replicas"]
												},
												"isDeleted": {
													"type": "boolean"
												},
												"name": {
													"type": "string"
												},
												"source": {
													"type": "string"
												},
												"updateTime": {
													"type": "string"
												},
												"userId": {
													"type": "string"
												}
											},
											"required": [
												"connection_config",
												"creationTime",
												"creatorUserId",
												"engine_type",
												"id",
												"index_config",
												"isDeleted",
												"name",
												"source",
												"updateTime",
												"userId"
											]
										},
										"isAuthorized": {
											"type": "boolean"
										}
									},
									"required": ["isSuccess", "code", "result", "isAuthorized"]
								},
								"example": {
									"isSuccess": true,
									"code": 1,
									"result": {
										"connection_config": {
											"addr": "http://es.shalu.com",
											"version": "8.10.4",
											"username": "elastic"
										},
										"creationTime": "2026-06-08 21:58:07",
										"creatorUserId": "7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993",
										"engine_type": "elasticsearch",
										"id": "2311f372-21b0-4956-ac1e-61d3c49fa606",
										"index_config": {
											"number_of_shards": 4,
											"index_name": "shalu",
											"number_of_replicas": 1
										},
										"isDeleted": false,
										"name": "Elasticsearch",
										"source": "user",
										"updateTime": "2026-06-08 21:58:07",
										"userId": "7F8A2BFE-402D-4499-9BB8-2EF7FFC7B993"
									},
									"isAuthorized": true
								}
							}
						},
						"headers": {}
					}
				},
				"security": []
			}
		},
		"/api/ai/vector-store/update": {
			"post": {
				"summary": "更新向量存储 ",
				"deprecated": false,
				"description": "",
				"tags": ["vector"],
				"parameters": [
					{
						"name": "Authorization",
						"in": "header",
						"description": "",
						"example": "bpm_client_1520995593147650048",
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"type": "object",
								"properties": {
									"id": {
										"type": "string"
									},
									"name": {
										"type": "string"
									}
								},
								"required": ["id", "name"]
							},
							"example": {
								"id": "2311f372-21b0-4956-ac1e-61d3c49fa606",
								"name": "Elasticsearch"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"description": "",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"isSuccess": {
											"type": "boolean"
										},
										"code": {
											"type": "integer"
										},
										"isAuthorized": {
											"type": "boolean"
										}
									},
									"required": ["isSuccess", "code", "isAuthorized"]
								},
								"example": {
									"isSuccess": true,
									"code": 1,
									"isAuthorized": true
								}
							}
						},
						"headers": {}
					}
				},
				"security": []
			}
		},
		"/api/ai/vector-store/delete": {
			"post": {
				"summary": "删除向量存储",
				"deprecated": false,
				"description": "",
				"tags": ["vector"],
				"parameters": [
					{
						"name": "Authorization",
						"in": "header",
						"description": "",
						"example": "bpm_client_1520995593147650048",
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"type": "object",
								"properties": {
									"id": {
										"type": "string"
									}
								},
								"required": ["id"]
							},
							"example": {
								"id": "2311f372-21b0-4956-ac1e-61d3c49fa606"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"description": "",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"isSuccess": {
											"type": "boolean"
										},
										"code": {
											"type": "integer"
										},
										"isAuthorized": {
											"type": "boolean"
										}
									},
									"required": ["isSuccess", "code", "isAuthorized"]
								},
								"example": {
									"isSuccess": true,
									"code": 1,
									"isAuthorized": true
								}
							}
						},
						"headers": {}
					}
				},
				"security": []
			}
		},
		"/api/ai/vector-store/connect_test_config": {
			"post": {
				"summary": "使用原始凭据测试连接",
				"deprecated": false,
				"description": "",
				"tags": ["vector"],
				"parameters": [
					{
						"name": "Authorization",
						"in": "header",
						"description": "",
						"example": "bpm_client_1520995593147650048",
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"type": "object",
								"properties": {
									"engine_type": {
										"type": "string"
									},
									"connection_config": {
										"type": "object",
										"properties": {
											"addr": {
												"type": "string"
											},
											"username": {
												"type": "string"
											},
											"password": {
												"type": "string"
											}
										},
										"required": ["addr", "username", "password"]
									}
								},
								"required": ["engine_type", "connection_config"]
							},
							"example": {
								"engine_type": "elasticsearch",
								"connection_config": {
									"addr": "http://es.shalu.com",
									"username": "elastic",
									"password": ""
								}
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"description": "",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"isSuccess": {
											"type": "boolean"
										},
										"code": {
											"type": "integer"
										},
										"result": {
											"type": "object",
											"properties": {
												"version": {
													"type": "string"
												}
											},
											"required": ["version"]
										},
										"isAuthorized": {
											"type": "boolean"
										}
									},
									"required": ["isSuccess", "code", "result", "isAuthorized"]
								},
								"example": {
									"isSuccess": true,
									"code": 1,
									"result": {
										"version": "8.10.4"
									},
									"isAuthorized": true
								}
							}
						},
						"headers": {}
					}
				},
				"security": []
			}
		},
		"/api/ai/vector-store/connect_test_id": {
			"post": {
				"summary": "测试已保存或环境变量存储的连接",
				"deprecated": false,
				"description": "",
				"tags": ["vector"],
				"parameters": [
					{
						"name": "Authorization",
						"in": "header",
						"description": "",
						"example": "bpm_client_1520995593147650048",
						"schema": {
							"type": "string"
						}
					}
				],
				"requestBody": {
					"content": {
						"application/json": {
							"schema": {
								"type": "object",
								"properties": {
									"id": {
										"type": "string"
									}
								},
								"required": ["id"]
							},
							"example": {
								"id": "aca5124a-171e-4edb-abe7-181733258d59"
							}
						}
					},
					"required": true
				},
				"responses": {
					"200": {
						"description": "",
						"content": {
							"application/json": {
								"schema": {
									"type": "object",
									"properties": {
										"isSuccess": {
											"type": "boolean"
										},
										"code": {
											"type": "integer"
										},
										"result": {
											"type": "object",
											"properties": {
												"version": {
													"type": "string"
												}
											},
											"required": ["version"]
										},
										"isAuthorized": {
											"type": "boolean"
										}
									},
									"required": ["isSuccess", "code", "result", "isAuthorized"]
								},
								"example": {
									"isSuccess": true,
									"code": 1,
									"result": {
										"version": "8.10.4"
									},
									"isAuthorized": true
								}
							}
						},
						"headers": {}
					}
				},
				"security": []
			}
		}
	},
	"components": {
		"schemas": {
			"AgentNode": {
				"type": "object",
				"properties": {
					"appAgentId": {
						"type": "string",
						"format": "uuid"
					},
					"creationTime": {
						"type": "string",
						"format": "date-time"
					},
					"creatorUserId": {
						"type": "string",
						"format": "uuid"
					},
					"data": {
						"$ref": "#/components/schemas/NodeData"
					},
					"height": {
						"type": "integer"
					},
					"id": {
						"type": "string",
						"format": "uuid"
					},
					"isDeleted": {
						"type": "boolean"
					},
					"position": {
						"type": "object",
						"properties": {
							"x": {
								"type": "integer"
							},
							"y": {
								"type": "integer"
							}
						},
						"required": ["x", "y"]
					},
					"selected": {
						"type": "boolean"
					},
					"type": {
						"type": "string",
						"enum": ["custom", "start", "end", "condition", "task", "http-request"]
					},
					"updateTime": {
						"type": "string",
						"format": "date-time"
					},
					"width": {
						"type": "integer"
					},
					"zIndex": {
						"type": "integer"
					}
				},
				"required": [
					"appAgentId",
					"creationTime",
					"creatorUserId",
					"data",
					"id",
					"position",
					"type"
				]
			},
			"NodeData": {
				"type": "object",
				"properties": {
					"outputs": {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"name": {
									"type": "string"
								},
								"describe": {
									"type": "string"
								},
								"type": {
									"type": "string",
									"enum": ["string", "number", "boolean", "object", "array"]
								}
							},
							"required": ["name", "describe", "type"]
						}
					},
					"output_can_alter": {
						"type": "boolean"
					},
					"variables": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"method": {
						"type": "string",
						"enum": ["get", "post", "put", "delete", "patch", "head", "options"]
					},
					"ssl_verify": {
						"type": "boolean"
					},
					"isInIteration": {
						"type": "boolean"
					},
					"default_value": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"body": {
						"$ref": "#/components/schemas/RequestBody"
					},
					"params": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"title": {
						"type": "string"
					},
					"type": {
						"type": "string",
						"enum": ["http-request", "condition", "task"]
					},
					"error_strategy": {
						"type": "string",
						"enum": ["none", "retry", "abort", "continue"]
					},
					"retry_config": {
						"type": "object",
						"properties": {
							"max_retries": {
								"type": "integer",
								"minimum": 0,
								"maximum": 10
							},
							"retry_enabled": {
								"type": "boolean"
							},
							"retry_interval": {
								"type": "integer",
								"minimum": 0,
								"maximum": 5000
							}
						},
						"required": ["max_retries", "retry_enabled", "retry_interval"]
					},
					"url": {
						"type": "string",
						"format": "uri"
					},
					"authorization": {
						"type": "object",
						"properties": {
							"type": {
								"type": "string",
								"enum": ["none", "bearer", "basic", "api-key"]
							},
							"config": {
								"type": "object",
								"properties": {
									"api_key": {
										"type": "string"
									},
									"header": {
										"type": "string"
									},
									"type": {
										"type": "string"
									}
								}
							}
						},
						"required": ["type", "config"]
					},
					"timeout_config": {
						"type": "object",
						"properties": {
							"max_write_timeout": {
								"type": "integer",
								"minimum": 0
							},
							"max_read_timeout": {
								"type": "integer",
								"minimum": 0
							},
							"max_connect_timeout": {
								"type": "integer",
								"minimum": 0
							}
						},
						"required": ["max_write_timeout", "max_read_timeout", "max_connect_timeout"]
					},
					"heads": {
						"type": "array",
						"items": {
							"$ref": "#/components/schemas/HttpHeader"
						}
					},
					"selected": {
						"type": "boolean"
					},
					"desc": {
						"type": "string"
					},
					"isInLoop": {
						"type": "boolean"
					}
				},
				"required": ["outputs", "method", "title", "type", "url"]
			},
			"RequestBody": {
				"type": "object",
				"properties": {
					"data": {
						"type": "array",
						"items": {
							"$ref": "#/components/schemas/RequestDataItem"
						}
					},
					"type": {
						"type": "string",
						"enum": ["json", "form-data", "x-www-form-urlencoded", "raw", "binary"]
					}
				},
				"required": ["data", "type"]
			},
			"RequestDataItem": {
				"type": "object",
				"properties": {
					"type": {
						"type": "string",
						"enum": ["text", "file", "json"]
					},
					"value": {
						"type": "string"
					},
					"key": {
						"type": "string"
					}
				},
				"required": ["type", "value"]
			},
			"HttpHeader": {
				"type": "object",
				"properties": {
					"name": {
						"type": "string"
					},
					"value": {
						"type": "string"
					}
				},
				"required": ["name", "value"]
			}
		},
		"securitySchemes": {
			"ApiKeyAuth": {
				"type": "apiKey",
				"in": "header",
				"name": "Authorization"
			}
		}
	},
	"security": [
		{
			"ApiKeyAuth": []
		}
	]
}
