REST API文档

AI 管理

AI 机器人

获取 AI 机器人列表

  • 请求 URL/api/ai_robot
  • 请求方式GET
  • 示例GET /api/ai_robot?page=1&perPage=500
  • Body 信息:无
  • 返回值
{
	"rowCount":	1,
	"page":	1,
	"data":	[{
			"domain":	"xswitch.cn",
			"deleted_at":	"",
			"name":	"text",
			"updated_at":	"2025-09-03 06:24:18",
			"created_at":	"2025-09-03 06:24:18",
			"uuid":	"7008553a-55ee-4db7-a45e-cbc93dc36d12",
			"data":	"{\"asr\": {\"asr_model\": \"default\", \"asr_engine\": \"ali\", \"asr_language\": \"ali\"}, \"tts\": {\"tts_voice\": \"aixia\", \"tts_engine\": \"aispeech\"}, \"beep\": true, \"name\": \"text\", \"texts\": {\"hello_text\": \"您好?\", \"goodbye_text\": [\"再见\", \"拜拜\", \"bye\"], \"init_prompts\": \"你是一名AI客服助理。\", \"init_welcome_text\": \"您好我Cherry,有什么可以帮您?\"}, \"domain\": \"xswitch.cn\", \"ai_config\": {\"gpt_token\": \"11\", \"service_model\": \"ChatGPT\"}, \"async_mode\": false, \"break_mode\": false, \"enable_record\": false, \"no_speaking_timeout\": 8}"
		}],
	"pageCount":	1
}

获取指定 AI 机器人详情

  • 请求 URL/api/ai_robot/:uuid
  • 请求方式GET
  • 示例GET /api/ai_robot/7008553a-55ee-4db7-a45e-cbc93dc36d12
  • Body 信息:无
  • 返回值
{
	"code":	200,
	"message":	"success",
	"data":	[{
			"uuid":	"7008553a-55ee-4db7-a45e-cbc93dc36d12",
			"created_at":	"2025-09-03 06:24:18",
			"domain":	"xswitch.cn",
			"updated_at":	"2025-09-03 06:24:18",
			"name":	"text",
			"deleted_at":	"",
			"data":	{
				"asr":	{
					"asr_engine":	"ali",
					"asr_language":	"ali",
					"asr_model":	"default"
				},
				"name":	"text",
				"no_speaking_timeout":	8,
				"domain":	"xswitch.cn",
				"break_mode":	false,
				"texts":	{
					"init_welcome_text":	"您好我Cherry,有什么可以帮您?",
					"goodbye_text":	["再见", "拜拜", "bye"],
					"init_prompts":	"你是一名AI客服助理。",
					"hello_text":	"您好?"
				},
				"beep":	true,
				"tts":	{
					"tts_engine":	"aispeech",
					"tts_voice":	"aixia"
				},
				"ai_config":	{
					"gpt_token":	"11",
					"service_model":	"ChatGPT"
				},
				"enable_record":	false,
				"async_mode":	false
			}
		}]
}

获取指定 AI 机器人关联路由

  • 请求 URL/api/ai_robot/:uuid/routes
  • 请求方式GET
  • 示例GET /api/ai_robot/7008553a-55ee-4db7-a45e-cbc93dc36d12/routes
  • Body 信息:无
  • 返回值
[]

新建 AI 机器人

  • 请求 URL/api/ai_robot
  • 请求方式POST
  • Body 信息
{
    "name": "text1",
    "break_mode": false,
    "no_speaking_timeout": 8,
    "enable_record": false,
    "async_mode": false,
    "beep": true,
    "tts": {
        "tts_engine": "aispeech",
        "tts_voice": "aixia"
    },
    "asr": {
        "asr_engine": "ali",
        "asr_language": "ali",
        "asr_model": "default"
    },
    "ai_config": {
        "service_model": "DouBao",
        "gpt_token": "1"
    },
    "texts": {
        "hello_text": "您好?",
        "init_prompts": "你是一名AI客服助理。",
        "init_welcome_text": "您好我Cherry,有什么可以帮您?",
        "goodbye_text": [
            "再见",
            "拜拜",
            "bye"
        ]
    },
    "domain": "xswitch.cn"
}
  • 返回值
{
	"code":	200,
	"message":	"success",
	"data":	{
		"data":	{
			"no_speaking_timeout":	8,
			"tts":	{
				"tts_voice":	"aixia",
				"tts_engine":	"aispeech"
			},
			"texts":	{
				"goodbye_text":	["再见", "拜拜", "bye"],
				"init_welcome_text":	"您好我Cherry,有什么可以帮您?",
				"hello_text":	"您好?",
				"init_prompts":	"你是一名AI客服助理。"
			},
			"name":	"text1",
			"beep":	true,
			"enable_record":	false,
			"ai_config":	{
				"gpt_token":	"1",
				"service_model":	"DouBao"
			},
			"async_mode":	false,
			"break_mode":	false,
			"domain":	"xswitch.cn",
			"asr":	{
				"asr_language":	"ali",
				"asr_model":	"default",
				"asr_engine":	"ali"
			}
		},
		"deleted_at":	"",
		"created_at":	"2025-09-03 06:46:33",
		"updated_at":	"2025-09-03 06:46:33",
		"domain":	"xswitch.cn",
		"name":	"text1",
		"uuid":	"36b22b26-10e0-4c48-809d-a18fcfdf0530"
	}
}

修改指定 AI 机器人

  • 请求 URL/api/ai_robot/:uuid
  • 请求方式PUT
  • Body 信息
{
    "name": "text2",
    "break_mode": false,
    "no_speaking_timeout": 8,
    "enable_record": false,
    "async_mode": false,
    "beep": true,
    "tts": {
        "tts_engine": "aispeech",
        "tts_voice": "aixia"
    },
    "asr": {
        "asr_engine": "ali",
        "asr_language": "ali",
        "asr_model": "default"
    },
    "ai_config": {
        "service_model": "ChatGPT",
        "gpt_token": "11"
    },
    "texts": {
        "hello_text": "您好?",
        "init_prompts": "你是一名AI客服助理。",
        "init_welcome_text": "您好我Cherry,有什么可以帮您?",
        "goodbye_text": [
            "再见",
            "拜拜",
            "bye"
        ]
    },
    "domain": "xswitch.cn"
}
  • 响应信息
{
	"data":	"{}",
	"message":	"success",
	"code":	200
}

删除指定 AI 机器人

  • 请求 URL/api/ai_robot/:uuid
  • 请求方式DELETE
  • 响应信息
{
	"uuid":	"7008553a-55ee-4db7-a45e-cbc93dc36d12"
}

大模型

新建大模型

  • 请求 URL/api/llm_profiles
  • 请求方式POST
  • Body 信息
{
	"name":"OpenAI",
	"type":"OpenAI",
	"abilities":["REASONING"]
}
  • 响应信息
{
	"data":	"1",
	"code":	200,
	"message":	"success"
}

获取大模型列表

  • 请求 URL/api/llm_profiles
  • 请求方式GET
  • Body 信息:无
  • 响应信息
[
	{
		"deleted_at":	"",
		"disabled":	0,
		"updated_at":	"2025-12-09 09:09:09",
		"abilities":	["REASONING"],
		"description":	"",
		"created_at":	"2025-12-09 09:09:09",
		"id":	1,
		"type":	"OpenAI",
		"name":	"OpenAI"
	}...
]

获取指定大模型

  • 请求 URL/api/llm_profiles/:id
  • 请求方式GET
  • 请求参数
参数名类型是否必填描述
idint大模型 ID
  • 响应信息
{
	"params":	[{
			"k":	"base_url",
			"deleted_at":	"",
			"disabled":	"0",
			"updated_at":	"2025-12-09 09:09:28",
			"realm":	"LLM-SETTINGS",
			"ref_id":	"1",
			"v":	"https://api.openai.com/v1",
			"created_at":	"2025-12-09 09:09:28",
			"id":	"3461"
		}...],
	"description":	"",
	"deleted_at":	"",
	"disabled":	0,
	"abilities":	["REASONING"],
	"created_at":	"2025-12-09 09:09:09",
	"updated_at":	"2025-12-09 09:09:09",
	"type":	"OpenAI",
	"name":	"OpenAI",
	"id":	1
}

修改指定大模型

  • 请求 URL/api/llm_profiles/:id
  • 请求方式PUT
  • 请求参数
参数名类型是否必填描述
idint大模型 ID
  • Body 信息
{
	"name":"OpenAI",
	"description":"OpenAI",
	"type":"OpenAI",
	"abilities":["REASONING"],
	"id":1
}
  • 响应信息
{
	"data":	"1",
	"code":	200,
	"message":	"success"
}

创建指定大模型参数

  • 请求 URL/api/llm_profiles/:id/params
  • 请求方式POST
  • 请求参数
参数名类型是否必填描述
idint大模型 ID
  • Body 信息
{
	"k":"kkk",
	"v":"vvv",
	"realm":"LLM-SETTINGS"
}
  • 响应信息
{
	"code":	200,
	"data":	3536,
	"message":	"success"
}

修改指定大模型参数

  • 请求 URL/api/llm_profiles/:id/params/:param_id
  • 请求方式PUT
  • 请求参数
参数名类型是否必填描述
idint大模型 ID
  • Body 信息
{
	"k":"token",
	"v":"x",
	"realm":"LLM-SETTINGS"
}
  • 响应信息
{
	"code":	200,
	"data":	"3462",
	"message":	"success"
}

获取可用的 LLM 模型列表

  • 请求 URL/api/llm_profiles/models
  • 请求方式GET
  • Body 信息:无
  • 响应信息
[
	{
		"abilities": [
			"REASONING"
		],
		"id": 1,
		"deleted_at": "",
		"created_at": "2025-12-12 07:42:26",
		"description": "",
		"params": [
			{
				"updated_at": "2025-12-12T07:42:45",
				"realm": "LLM-MODELS",
				"ref_id": 1,
				"created_at": "2025-12-12T07:42:45",
				"v": "gpt-4o-mini",
				"disabled": 1,
				"id": 3463,
				"k": "gpt-4o-mini"
			}
		],
		"name": "OpenAI",
		"updated_at": "2025-12-12 07:42:26",
		"type": "OpenAI",
		"disabled": 0
	}
	......
]

修改大模型启用状态

  • 请求 URL/api/llm_profiles/toggle/:id
  • 请求方式PUT
  • 请求参数
参数名类型是否必填描述
idint大模型 ID
  • Body 信息
{
	"action":"llm"
}
  • 响应信息
{
	"code":	200,
	"message":	"success",
	"data":	[{
			"disabled":	1,
			"description":	"",
			"name":	"OpenAI",
			"deleted_at":	"",
			"type":	"OpenAI",
			"abilities":	["REASONING"],
			"created_at":	"2025-12-12 07:42:26",
			"updated_at":	"2025-12-12 07:42:26",
			"id":	1
		}, {
			"disabled":	0,
			"description":	"",
			"name":	"DeepSeek",
			"deleted_at":	"",
			"type":	"DeepSeek",
			"abilities":	["REASONING"],
			"created_at":	"2025-12-12 07:42:26",
			"updated_at":	"2025-12-12 07:42:26",
			"id":	2
		}
		......]
}

删除指定大模型的参数

  • 请求 URL/api/llm_profiles/:id/params/:param_id
  • 请求方式DELETE
  • 请求参数
参数名类型是否必填描述
idint大模型 ID
param_idint参数 ID
  • 响应信息
{
	"data":	"1",
	"code":	200,
	"message":	"success"
}

删除指定大模型

  • 请求 URL/api/llm_profiles/:id
  • 请求方式DELETE
  • 请求参数
参数名类型是否必填描述
idint大模型 ID
  • 响应信息
{
	"data":	"1",
	"code":	200,
	"message":	"success"
}

AI 知识库

获取 AI 知识库列表

  • 请求 URL/api/knowledge_bases/
  • 请求方式GET
  • Body 信息:无
  • 响应信息
{
	"page":	1,
	"data":	[{
			"created_at":	"2025-12-09 06:25:21",
			"description":	"text",
			"id":	"49",
			"name":	"2",
			"data":	"{\"provider\": 6}",
			"deleted_at":	"",
			"updated_at":	"2025-12-09 06:25:21"
		}, {
			"created_at":	"2025-12-09 00:57:33",
			"description":	"",
			"id":	"48",
			"name":	"Test Knowledge Base",
			"data":	"{\"provider\": \"1\"}",
			"deleted_at":	"",
			"updated_at":	"2025-12-09 00:57:33"
		}],
	"rowCount":	2,
	"pageCount":	1
}

获取指定 AI 知识库

  • 请求 URL/api/knowledge_bases/:id
  • 请求方式GET
  • 请求参数
参数名类型是否必填描述
idint知识库 ID
  • 响应信息
{
	"id":	49,
	"description":	"text",
	"created_at":	"2025-12-09 06:25:21",
	"name":	"2",
	"data":	{
		"provider":	6
	},
	"updated_at":	"2025-12-09 06:25:21",
	"deleted_at":	""
}

获取指定 AI 知识库的问答对

  • 请求 URL/api/knowledge_bases/:id/qa/pairs
  • 请求方式GET
  • 请求参数
参数名类型是否必填描述
idint知识库 ID
  • 响应信息
[
    {
        "id": "0f9fde90-c4f5-4bc7-a5b0-ef5f5ea595b1",
        "integration_id": "ollama",
        "external_user_id": null,
        "external_username": null,
        "question": "Can you help us set up a remote work system for employees?",
        "answer": "Yes. We can help deploy remote work tools (e.g., VPN configuration, cloud collaboration platforms like Microsoft Teams/Google Workspace), set up access permissions for employees, and test the system to ensure stable remote connection and data security.",
        "additional_questions": [],
        "attrs": {
            "file_id": "734",
            "memory_id": "f0a144e6-6666-48cd-95d5-38e9e5593037"
        },
        "status": "enabled",
        "created_at": "2025-12-05T07:19:16.022Z",
        "updated_at": null,
        "key": "89be75fd2e043dbea794fe34b6a3bbac"
    }
	......
]

修改指定 AI 知识库问答对

  • 请求 URL/api/knowledge_bases/:id/qa/pairs/:qid
  • 请求方式PUT
  • 请求参数
参数名类型是否必填描述
idint知识库 ID
qidint问答对 UUID
  • Body 信息
{
	"question":"Can you help us set up a remote work system for employees?",
	"additional_questions":["- Can you assist with setting up a remote work environment for employees?  ",......"],
	"answer":"Yes. We can help deploy remote work tools (e.g., VPN configuration, cloud collaboration platforms like Microsoft Teams/Google Workspace), set up access permissions for employees, and test the system to ensure stable remote connection and data security."
}
  • 响应信息
{
    "id": "0f9fde90-c4f5-4bc7-a5b0-ef5f5ea595b1",
    "integration_id": "ollama",
    "external_user_id": null,
    "external_username": null,
    "question": "Can you help us set up a remote work system for employees?",
    "answer": "Yes. We can help deploy remote work tools (e.g., VPN configuration, cloud collaboration platforms like Microsoft Teams/Google Workspace), set up access permissions for employees, and test the system to ensure stable remote connection and data security.",
    "additional_questions": [
        "- Can you assist with setting up a remote work environment for employees?  ",
		......
    ],
    "attrs": null,
    "status": "enabled",
    "created_at": "2025-12-05T07:19:16.022Z",
    "updated_at": "2025-12-09T08:37:43.836Z",
    "key": "89be75fd2e043dbea794fe34b6a3bbac"
}

删除指定 AI 知识库问答对

  • 请求 URL/api/knowledge_bases/:id/qa_pairs/:qid
  • 请求方式DELETE
  • 请求参数
参数名类型是否必填描述
idint知识库 ID
qidint问答对 UUID
  • 响应信息
{
	"success":true
}

获取指定 AI 知识库远端存储的文件列表

  • 请求 URL/api/knowledge_bases/:id/memories
  • 请求方式GET
  • 请求参数
参数名类型是否必填描述
idint知识库 ID
  • 响应信息
[
	{
		"id": "cc957dda-7d4f-4cdc-b9c2-56b249fe8f4e",
		"collection_id": "7f1eb18a-705d-4d6d-a165-940523fb496d",
		"integration_id": "ollama",
		"external_user_id": null,
		"external_username": null,
		"key": "211",
		"attrs": null,
		"status": "enabled",
		"embedding_status": "completed",
		"metadata": {},
		"content_type": "text",
		"content": "# 标题一11",
		"created_at": "2025-12-09T07:59:01.264Z",
		"updated_at": null
	}
	...
]

新建 AI 知识库

  • 请求 URL/api/knowledge_bases
  • 请求方式POST
  • Body 信息
{
	"name":"text1",
	"data":{
		"provider":5
	}
}
  • 响应信息
{
	"message":	"success",
	"code":	200,
	"data":	50
}

自动生成多个相似的问题

  • 请求 URL/api/knowledge_bases/gen_questions
  • 请求方式POST
  • 请求参数
参数名类型是否必填描述
questionstring问题
answerstring答案
additional_questionsarray相似问题
providerint知识库提供者
  • Body 信息
{
	"question":"Can you help us set up a remote work system for employees?",
	"additional_questions":[],
	"answer":"Yes. We can help deploy remote work tools (e.g., VPN configuration, cloud collaboration platforms like Microsoft Teams/Google Workspace), set up access permissions for employees, and test the system to ensure stable remote connection and data security.",
	"provider":6
}
  • 响应信息
{
    "model": "qwen3:0.6b",
    "created_at": "2025-12-09T08:30:27.015440592Z",
    "response": "- Can you assist with setting up a remote work environment for employees?  \n- How can we configure a remote work system for our team?  ......",
    "done": true,
    "done_reason": "stop",
    "context": [
        151644,
        872,
        ......
    ],
    "total_duration": 4946612076,
    "load_duration": 988446104,
    "prompt_eval_count": 128,
    "prompt_eval_duration": 470541590,
    "eval_count": 128,
    "eval_duration": 3419634857
}

为本地知识库上传文件

  • 请求 URL/api/knowledge_bases/:id/:media_id
  • 请求方式POST
  • 请求参数
参数名类型是否必填描述
idint知识库 ID
media_file_idint文件 ID
  • 响应信息
{
	"code":	200,
	"data":	1,
	"message":	"success"
}

获取指定知识库的全部文件

  • 请求 URL/api/knowledge_bases/:id/media_files
  • 请求方式GET
  • 请求参数
参数名类型是否必填描述
idint知识库 ID
  • 响应信息
[
	{
		"domain":	"",
		"file_name":	"",
		"mime":	"application/octet-stream",
		"ext":	"md",
		"geo_position":	"",
		"file_size":	1157,
		"deleted_at":	"",
		"channel_uuid":	"",
		"meta":	"",
		"name":	"text.md",
		"original_file_name":	"text.md",
		"processing_flag":	0,
		"created_at":	"2025-12-09 06:35:32",
		"dir_path":	"/usr/local/freeswitch/storage/upload",
		"id":	206,
		"description":	"UPLOAD",
		"updated_at":	"2025-12-09 06:35:32",
		"type":	"UPLOAD",
		"abs_path":	"/usr/local/freeswitch/storage/upload/upload-20251209143532-019b01d2-836e-7a54-a241-7e302a2601a9.md",
		"thumb_path":	"",
		"rel_path":	"upload-20251209143532-019b01d2-836e-7a54-a241-7e302a2601a9.md"
	}, {
		"domain":	"",
		"file_name":	"",
		"mime":	"application/octet-stream",
		"ext":	"md",
		"geo_position":	"",
		"file_size":	1157,
		"deleted_at":	"",
		"channel_uuid":	"",
		"meta":	"",
		"name":	"text.md",
		"original_file_name":	"text.md",
		"processing_flag":	0,
		"created_at":	"2025-12-09 06:35:35",
		"dir_path":	"/usr/local/freeswitch/storage/upload",
		"id":	207,
		"description":	"UPLOAD",
		"updated_at":	"2025-12-09 06:35:35",
		"type":	"UPLOAD",
		"abs_path":	"/usr/local/freeswitch/storage/upload/upload-20251209143534-019b01d2-8cf3-7dba-94d9-246c80f87279.md",
		"thumb_path":	"",
		"rel_path":	"upload-20251209143534-019b01d2-8cf3-7dba-94d9-246c80f87279.md"
	}
]

修改指定知识库

  • 请求 URL/api/knowledge_bases/:id
  • 请求方式PUT
  • Body 信息
{
    "name": "test",
    "description": "test",
    "provider": 6
}
  • 响应信息
{
	"message": "success",
	"code": 200,
	"data": "16"
}

同步多个文件到知识库

  • 请求 URL/api/knowledge_bases/:id/syncs
  • 请求方式PUT
  • Body 信息:文件的在media_files表中的id,多个id用逗号分隔
[241,242]
  • 响应信息
{
	"message": "success",
	"code": 200,
	"data": [241,242]
}

同步单个文件到知识库

  • 请求 URL/api/knowledge_bases/:id/mfiles/:media_id/sync
  • 请求方式PUT
  • 请求参数
参数名类型是否必填描述
media_idint文件 ID
idint知识库 ID
  • 响应信息
{
	"code": 200,
	"message": "success",
	"data": "243"
}

同步全部文件到知识库

  • 请求 URL/api/knowledge_bases/:id/all
  • 请求方式PUT
  • 请求参数
参数名类型是否必填描述
idint知识库 ID
  • 响应信息
{
	"code": 200,
	"message": "success",
	"data": "16"
}

删除指定文件

  • 请求 URL/api/knowledge_bases/:id/media_files/:media_id
  • 请求方式DELETE
  • 请求参数
参数名类型是否必填描述
media_idint文件 ID
idint知识库 ID
  • 响应信息
{
	"code": 200,
	"message": "success",
	"data": "243"
}

删除指定 AI 知识库

  • 请求 URL/api/knowledge_bases/:id
  • 请求方式DELETE
  • 请求参数
参数名类型是否必填描述
idint知识库 ID
  • Body 信息:del_mfile 是否同步删除文件,默认不删除
{
    "del_mfile": true
}
  • 响应信息
{
	"code": 200,
	"message": "success",
	"data": "16"
}

AI 话单

查询 AI 话单

  • 请求 URL/api/cherrygpt_logs
  • 请求 URL/api/cherrygpt_logs?page=1&perPage=500&last=60 查看近60天的话单
  • 请求 URL/api/cherrygpt_logs?page=1&perPage=500&startDate=2025-07-06&endDate=2025-09-04&cidNumber=823&destNumber=1000479 按条件查询
  • 请求方式GET
  • 请求参数
参数名类型是否必填描述
pageint页码
perPageint每页条数
lastint最近天数
cidNumberint主叫号码
destNumberint被叫号码
startDatestring开始时间
endDatestring结束时间
  • 响应信息
{
	"pageCount":	1,
	"rowCount":	1,
	"page":	1,
	"data":	[{
			"robot_info":	"{\"service_model\":\"ChatGPT\",\"gpt_token\":\"6ba7b811-9dad-11d1-80b4-00c04fd430c8\",\"gpt_model\":\"gpt-4o\",\"gpt_max_tokens\":100,\"gpt_url\":\"https://openai.xswitch.cn/v1/\",\"ASync\":false,\"breakMode\":true}",
			"ai_robot_uuid":	"0ec755d3-5b6c-41e9-91dc-f71ed756c616",
			"channel_uuid":	"019890b3-2816-7b5f-8697-c1b993884121",
			"start_stamp":	"2025-08-10 05:18:37",
			"end_stamp":	"",
			"id":	"109",
			"created_at":	"2025-08-10 05:18:37",
			"cid_number":	"607",
			"domain":	"xyt.xswitch.cn",
			"node_uuid":	"0dbd5892-a0b3-4a3a-b19c-9d9e15d503bd",
			"dest_number":	"10000475"
		}]
}

查询指定 AI 话单

  • 请求 URL/api/cherrygpt_logs/:id

  • 请求方式GET

  • 请求参数

    参数名类型是否必填描述
    idint话单 ID
  • 响应信息

{
	"data":	{
		"cid_number":	"823",
		"end_stamp":	"",
		"ai_robot_uuid":	"c56038e1-bcac-4c70-82c8-4f6e9b7e6f35",
		"node_uuid":	"567559e7-eb40-4d5e-ab19-1a7654debe69",
		"id":	86,
		"dest_number":	"10000479",
		"created_at":	"2025-07-14 22:47:23",
		"start_stamp":	"2025-07-14 22:47:23",
		"prompts":	[{
				"channel_uuid":	"5976900e-0a1a-9be1-f1a5-2033b66a3602",
				"role":	"assistant",
				"absolute_path":	"/usr/local/freeswitch/storage/recordings/20250714-823-10000479-.wav",
				"mime":	"audio/wav",
				"created_at":	"2025-07-14 22:47:23",
				"id":	384,
				"message_uuid":	"",
				"content":	"喂,你好。",
				"extension":	"wav"
			}, {
				"channel_uuid":	"5976900e-0a1a-9be1-f1a5-2033b66a3602",
				"role":	"user",
				"absolute_path":	"/usr/local/freeswitch/storage/recordings/20250714-823-10000479-333db217422e46e9b3b3599a0da2e679.wav",
				"mime":	"audio/wav",
				"created_at":	"2025-07-14 22:47:29",
				"id":	385,
				"message_uuid":	"333db217-422e-46e9-b3b3-599a0da2e679",
				"content":	"你好",
				"extension":	"wav"
			}...],
		"robot_info":	"{\"service_model\":\"ChatGPT\",\"gpt_token\":\"6ba7b811-9dad-11d1-80b4-00c04fd430c8\",\"gpt_model\":\"gpt-4o\",\"gpt_max_tokens\":100,\"gpt_url\":\"https://openai.xswitch.cn/v1/\",\"ASync\":false,\"breakMode\":true}",
		"domain":	"xyt.xswitch.cn",
		"channel_uuid":	"5976900e-0a1a-9be1-f1a5-2033b66a3602"
	},
	"code":	200,
	"message":	"success"
}

百度模块

查看所有百度实例的信息

  • 请求 URL/api/baidus
  • 请求方式GET
  • Body 信息:无
  • 返回值
[
  {
    "name": "baidu",
    "deleted_at": "",
    "disabled": 1,
    "description": "",
    "updated_at": "2022-05-17 12:20:56",
    "created_at": "2022-05-17 12:20:56",
    "id": 1
  }
]
  • curl 示例
curl -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" 192.168.1.100:8081/api/baidus

查看指定百度实例的详细信息

  • 请求 URL/api/baidus/:id
  • 请求方式GET
  • Body 信息:无
  • 返回值
{
	"disabled":	0,
	"params":	[{
			"disabled":	"0",
			"realm":	"BAIDU-TTS",
			"deleted_at":	"",
			"ref_id":	"1",
			"k":	"token-url",
			"updated_at":	"2025-09-03 01:42:53",
			"created_at":	"2025-09-03 01:42:53",
			"id":	"883",
			"v":	"https://openapi.baidu.com/oauth/2.0/token"
		}, {
			"disabled":	"0",
			"realm":	"BAIDU-TTS",
			"deleted_at":	"",
			"ref_id":	"1",
			"k":	"tts-url",
			"updated_at":	"2025-09-03 01:42:53",
			"created_at":	"2025-09-03 01:42:53",
			"id":	"884",
			"v":	"http://tsn.baidu.com//text2audio"
		}
    ...
    ],
	"name":	"baidu",
	"updated_at":	"2025-09-03 01:42:52",
	"description":	"default",
	"created_at":	"2025-09-03 01:42:52",
	"id":	1,
	"deleted_at":	""
}

创建百度实例

  • 请求 URL/api/baidus
  • 请求方式POST
  • Body 信息
参数说明
namebaidu profile 名称
descriptionbaidu profile 描述
template模板,默认模板:"default"
{
  "name": "test",
  "description": "test",
  "template": "default"
}
  • 返回值
{
  "code": 200,
  "data": 2,
  "message": "success"
}
  • curl 示例
curl -XPOST -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -d '{"name": "test","description": "test","template": "default"}' 192.168.1.100:8081/api/baidus

修改指定百度实例的名称和描述

  • 请求 URL/api/baidus/$id
  • 请求方式PUT
  • Body 信息
参数说明
namebaidu profile 名称
descriptionbaidu profile 描述
idprofile ID
{
  "name": "baidu",
  "description": "百度模块",
  "id": "1"
}
  • 返回值
{
  "data": "1",
  "message": "success",
  "code": 200
}
  • curl 示例
curl -XPUT -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -d '{"name": "baidu","description": "百度模块","id": "1"}' 192.168.1.100:8081/api/baidus/1

创建指定百度实例中 TTS 和 ASR 参数

  • 请求 URL/api/baidus/$id/params
  • 请求方式POST
  • Body 信息
参数说明
k参数名称
v参数数值
realm参数域
// TTS参数
{
	"k": "text1",
	"realm": "BAIDU-TTS",
	"v": "t1"
}

//ASR参数
{
	"k": "text2",
	"realm": "BAIDU-ASR",
	"v": "t2"
}
  • 返回值
{
  "code": 200,
  "message": "success",
  "data": 1574
}
  • curl 示例
curl -XPOST -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -d '{"k": "text1","v": "t1","realm": "BAIDU-TTS"}' 192.168.1.100:8081/api/baidus/1/params

修改指定百度实例中 TTS 或 ASR 参数

  • 请求 URL/api/baidus/$id/params/$param_id
  • 请求方式PUT
  • Body 信息
参数说明
k参数名称
v参数数值
realm参数域
{
  "k": "token-url",
  "realm": "BAIDU-TTS",
  "v": "https://openapi.baidu.com/oauth/2.0/token"
}
  • 返回值
{
  "message": "success",
  "data": "1574",
  "code": 200
}
  • curl 示例
curl -XPUT -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -d '{"k": "token-url","v": "https://openapi.baidu.com/oauth/2.0/token","realm": "BAIDU-TTS"}' 192.168.1.100:8081/api/baidus/1/params/1574

启用/禁用指定百度实例中 TTS 或 ASR 参数

  • 请求 URL/api/baidus/$id/params/$param_id
  • 请求方式PUT
  • Body 信息
参数说明
action变更启用状态,固定为"toggle"
{
  "action": "toggle"
}
  • 返回值
{
  "message": "success",
  "data": "1574",
  "code": 200
}
  • curl 示例
curl -XPUT -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -d '{"action": "toggle"}' 192.168.1.100:8081/api/baidus/1/params/1574

删除指定百度实例中 TTS 或 ASR 参数

  • 请求 URL/api/baidus/$id/params/$params_id
  • 请求方式DELETE
  • Body 信息:无
  • 返回值
{
  "code": 200,
  "message": "success",
  "data": "1"
}
  • curl 示例
curl -0 -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -XDELETE 192.168.1.100:8081/api/baidus/1/params/1

删除指定百度实例

  • 请求 URL/api/baidus/$id
  • 请求方式DELETE
  • Body 信息:无
  • 返回值
{
  "message": "success",
  "data": "2",
  "code": 200
}
  • curl 示例
curl -0 -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -XDELETE 192.168.1.100:8081/api/baidus/2

"阿里"、"华为"、"讯飞"、"腾讯"、"思必驰"、"微软 Azure"、"阶跃"模块

在 AI 接口中,对于"阿里","华为","讯飞","腾讯","思必驰","微软 Azure","阶跃"模块,调用接口参数一致,URL 进行调整:

  • 阿里:https://192.168.3.222/api/ali_profiles
  • 华为:https://192.168.3.222/api/huawei_profiles
  • 讯飞:https://192.168.3.222/api/xunfei_profiles
  • 腾讯:https://192.168.3.222/api/tencent_profiles
  • 思必驰:https://192.168.3.222/api/aispeech_profiles
  • 微软 Azure:https://192.168.3.222/api/azure_profiles
  • 阶跃:https://192.168.3.222/api/stepfun_profiles
各模块对应的 realm说明
阿里ALI-SETTINGS ALI-TTS ALI-ASR ALI-BL-TTS ALI-BL-ASR
华为HUAWEI-SETTINGS HUAWEI-TTS HUAWEI-ASR
讯飞XUNFEI-SETTINGS XUNFEI-TTS XUNFEI-ASR XUNFEI-MVAD
腾讯TENCENT-ASR-WS TENCENT-ASR-REST TENCENT-TTS-WS TENCENT-TTS-REST
思必驰AISPEECH-SETTINGS AISPEECH-TTS AISPEECH-ASR
微软 AzureAZURE-TTS AZURE-ASR
阶跃STEPFUN-TTS-REST STEPFUN-TTS-WS STEPFUN-ASR

以阿里模块为例:

查看阿里实例列表

  • 请求 URL/api/ali_profiles
  • 请求方式GET
  • Body 信息:无
  • 返回值
[
  {
		"updated_at":	"2025-09-03 01:42:52",
		"deleted_at":	"",
		"created_at":	"2025-09-03 01:42:52",
		"id":	1,
		"description":	"default",
		"disabled":	0,
		"name":	"ali"
	}
]
  • curl 示例
curl -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" 192.168.1.100:8081/api/ali_profiles

查看指定阿里实例的详细信息

  • 请求 URL/api/ali_profiles/:id
  • 请求方式GET
  • Body 信息:无
  • 返回值
{
	"created_at":	"2025-09-03 01:42:52",
	"params":	[{
			"deleted_at":	"",
			"id":	"713",
			"disabled":	"0",
			"created_at":	"2025-09-03 01:42:53",
			"ref_id":	"1",
			"v":	"http://nls-meta.cn-shanghai.aliyuncs.com/",
			"updated_at":	"2025-09-03 01:42:53",
			"k":	"token-url",
			"realm":	"ALI-SETTINGS"
		}, {
			"deleted_at":	"",
			"id":	"714",
			"disabled":	"0",
			"created_at":	"2025-09-03 01:42:53",
			"ref_id":	"1",
			"v":	"cn-shanghai",
			"updated_at":	"2025-09-03 01:42:53",
			"k":	"region",
			"realm":	"ALI-SETTINGS"
		}
    ...
    ],
	"deleted_at":	"",
	"updated_at":	"2025-09-03 01:42:52",
	"description":	"default",
	"id":	1,
	"name":	"ali",
	"disabled":	0
}

创建阿里实例

  • 请求 URL/api/ali_profiles
  • 请求方式POST
  • Body 信息
参数说明
nameali profile 名称
descriptionali profile 描述
template模板,默认模板:"default"
{
  "name": "test",
  "description": "test",
  "template": "default"
}
  • 返回值
{
  "code": 200,
  "data": 2,
  "message": "success"
}
  • curl 示例
curl -XPOST -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -d '{"name": "test","description": "test","template": "default"}' 192.168.1.100:8081/api/ali_profiles

修改阿里实例名称和描述

  • 请求 URL/api/ali_profiles/$id
  • 请求方式PUT
  • Body 信息
参数说明
nameali profile 名称
descriptionali profile 描述
idprofile ID
{
  "name": "ali",
  "description": "阿里实例",
  "id": "1"
}
  • 返回值
{
  "data": "1",
  "message": "success",
  "code": 200
}
  • curl 示例
curl -XPUT -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -d '{"name": "ali","description": "阿里实例","id": "1"}' 192.168.1.100:8081/api/ali_profiles/1

启用/禁用阿里实例

  • 请求 URL/api/ali_profiles/toggle/:id
  • 请求方式PUT
  • Body 信息
{
  "action": "aliyun"
}
  • 返回值
{
	"data":	[{
			"id":	1,
			"description":	"default",
			"name":	"ali",
			"disabled":	1,
			"deleted_at":	"",
			"updated_at":	"2025-09-03 02:53:43",
			"created_at":	"2025-09-03 01:42:52"
		}, {
			"id":	2,
			"description":	"",
			"name":	"text11",
			"disabled":	0,
			"deleted_at":	"",
			"updated_at":	"2025-09-03 02:53:43",
			"created_at":	"2025-09-03 02:34:22"
		}],
	"message":	"success",
	"code":	200
}

创建阿里实例中参数

  • 请求 URL/api/ali_profiles/$id/params
  • 请求方式POST
  • Body 信息
参数说明
k参数名称
v参数数值
realm参数域
// Settings参数
{
	"k": "text1",
	"realm": "ALI-SETTINGS",
	"v": "t1"
}

// TTS参数
{
	"k": "text1",
	"realm": "ALI-TTS",
	"v": "t1"
}

//ASR参数
{
	"k": "text2",
	"realm": "ALI-ASR",
	"v": "t2"
}

//BaiLian TTS参数
{
	"k": "text3",
	"realm": "ALI-BL-TTS",
	"v": "t1"
}

//BaiLian ASR参数
{
	"k": "text4",
	"realm": "ALI-BL-ASR",
	"v": "t2"
}
  • 返回值
{
  "code": 200,
  "message": "success",
  "data": 1574
}
  • curl 示例
curl -XPOST -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -d '{"k": "text1","v": "t1","realm": "ali-TTS"}' 192.168.1.100:8081/api/ali_profiles/1/params

修改阿里实例中参数

  • 请求 URL/api/ali_profiles/$id/params/$param_id
  • 请求方式PUT
  • Body 信息
参数说明
k参数名称
v参数数值
realm参数域
{
  "k": "token-url",
  "realm": "ALI-TTS",
  "v": "https://nls-gateway.cn-shanghai.aliyuncs.com/stream/v1/tts"
}
  • 返回值
{
  "message": "success",
  "data": "1574",
  "code": 200
}
  • curl 示例
curl -XPUT -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -d '{"k": "token-url","v": "https://openapi.ali.com/oauth/2.0/token","realm": "ali-TTS"}' 192.168.1.100:8081/api/ali_profiles/1/params/1574

启用/禁用阿里实例中参数

  • 请求 URL/api/ali_profiles/$id/params/$param_id
  • 请求方式PUT
  • Body 信息
参数说明
action变更启用状态,固定为"toggle"
{
  "action": "toggle"
}
  • 返回值
{
  "message": "success",
  "data": "1574",
  "code": 200
}
  • curl 示例
curl -XPUT -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -d '{"action": "toggle"}' 192.168.1.100:8081/api/ali_profiles/1/params/1574

删除阿里实例中参数

  • 请求 URL/api/ali_profiles/$id/params/$params_id
  • 请求方式DELETE
  • Body 信息:无
  • 返回值
{
  "code": 200,
  "message": "success",
  "data": "1"
}
  • curl 示例
curl -0 -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -XDELETE 192.168.1.100:8081/api/ali_profiles/1/params/1

删除阿里实例

  • 请求 URL/api/ali_profiles/$id
  • 请求方式DELETE
  • Body 信息:无
  • 返回值
{
  "message": "success",
  "data": "2",
  "code": 200
}
  • curl 示例
curl -0 -H "X-XTRA-AUTH-ID: 62dd0173-4916-4b1c-b958-546e4d7c91fe" -XDELETE 192.168.1.100:8081/api/ali_profiles/2

MiniMax

查看 MiniMax 的配置

  • 请求 URL/api/minimax_profiles
  • 请求方式GET
  • Body 信息:无
  • 返回值
[
  {
		"id":	1,
		"disabled":	0,
		"deleted_at":	"",
		"description":	"default",
		"created_at":	"2025-09-03 01:42:52",
		"updated_at":	"2025-09-03 01:42:52",
		"name":	"default"
	}
]

查看指定 MiniMax 实例的详细信息

  • 请求 URL/api/minimax_profiles/:id
  • 请求方式GET
  • Body 信息:无
  • 返回值
{
	"params":	[{
			"id":	"2619",
			"created_at":	"2025-09-03 01:42:54",
			"v":	"https://api.minimax.chat/v1/tts/stream",
			"disabled":	"0",
			"ref_id":	"1",
			"deleted_at":	"",
			"k":	"tts-url",
			"realm":	"MINIMAX-TTS",
			"updated_at":	"2025-09-03 01:42:54"
		}, {
			"id":	"2620",
			"created_at":	"2025-09-03 01:42:54",
			"v":	"",
			"disabled":	"0",
			"ref_id":	"1",
			"deleted_at":	"",
			"k":	"token",
			"realm":	"MINIMAX-TTS",
			"updated_at":	"2025-09-03 01:42:54"
		}
    ...
    ],
	"disabled":	0,
	"description":	"default",
	"updated_at":	"2025-09-03 01:42:52",
	"name":	"default",
	"deleted_at":	"",
	"id":	1,
	"created_at":	"2025-09-03 01:42:52"
}

创建 MiniMax 实例

  • 请求 URL/api/minimax_profiles
  • 请求方式POST
  • Body 信息
参数说明
nameMiniMax profile 名称
descriptionMiniMax profile 描述
template模板,默认模板:"default"
{
  "name": "test",
  "description": "test",
  "template": "default",
  "disabled": "1"
}
  • 返回值
{
  "code": 200,
  "data": 2,
  "message": "success"
}

修改指定 MiniMax 实例的名称和描述

  • 请求 URL/api/minimax_profiles/$id
  • 请求方式PUT
  • Body 信息
参数说明
nameMiniMax profile 名称
descriptionMiniMax profile 描述
idprofile ID
{
  "name": "MiniMax",
  "description": "MiniMax实例",
  "id": "1"
}
  • 返回值
{
  "data": "1",
  "message": "success",
  "code": 200
}

启用/禁用指定 MiniMax 实例

  • 请求 URL/api/minimax_profiles/toggle/:id
  • 请求方式PUT
  • Body 信息
{
  "disabled": 0
}
  • 返回值
{
	"message":	"success",
	"code":	200,
	"data":	"4"
}

创建指定 MiniMax 实例中的 TTS 参数

  • 请求 URL/api/minimax_profiles/:id/tts/
  • 请求方式POST
  • Body 信息
参数说明
k参数名称
v参数数值
realm参数域
{
  "k":"text",
  "v":"text",
  "realm":"MINIMAX-TTS"
}
  • 返回值
{
	"data":	3313,
	"message":	"success",
	"code":	200
}

创建指定 MiniMax 实例中的 TTSV2 参数

  • 请求 URL/api/minimax_profiles/:id/ttsv2/
  • 请求方式POST
  • Body 信息
参数说明
k参数名称
v参数数值
realm参数域
{
  "k":"text",
  "v":"text",
  "realm":"MINIMAX-TTSV2"
}
  • 返回值
{
	"data":	3314,
	"message":	"success",
	"code":	200
}

创建指定 MiniMax 实例中的 TTSV2 WS 参数

  • 请求 URL/api/minimax_profiles/:id/ttsv2ws/
  • 请求方式POST
  • Body 信息
参数说明
k参数名称
v参数数值
realm参数域
{
  "k":"text",
  "v":"text",
  "realm":"MINIMAX-TTSV2-WS"
}
  • 返回值
{
	"message":	"success",
	"data":	3316,
	"code":	200
}

修改指定 MiniMax 实例中的指定参数

  • 请求 URL/api/minimax_profiles/$id/tts/$param_id
  • 请求方式PUT
  • Body 信息
参数说明
k参数名称
v参数数值
realm参数域
{
  "k": "token-url",
  "realm": "MiniMax-TTS",
  "v": "https://api.minimax.chat/v1/tts/stream"
}
  • 返回值
{
  "message": "success",
  "data": "1574",
  "code": 200
}

启用/禁用指定 MiniMax 实例中的指定参数

  • 请求 URL/api/minimax_profiles/$id/params/$param_id
  • 请求方式PUT
  • Body 信息
参数说明
action变更启用状态,固定为"toggle"
{
  "action": "toggle"
}
  • 返回值
{
  "message": "success",
  "data": "1574",
  "code": 200
}

删除指定 MiniMax 实例中的指定参数

  • 请求 URL/api/minimax_profiles/:id/tts/:params_id
  • 请求方式DELETE
  • Body 信息:无
  • 返回值
{
  "code": 200,
  "message": "success",
  "data": "1"
}

删除 MiniMax 实例

  • 请求 URL/api/minimax_profiles/:id
  • 请求方式DELETE
  • Body 信息:无
  • 返回值
{
  "message": "success",
  "data": "2",
  "code": 200
}

火山引擎

查看火山引擎的实例列表

  • 请求 URL/api/volcengine_profiles
  • 请求方式GET
  • Body 信息:无
  • 返回值
[
  {
		"name":	"default",
		"created_at":	"2025-09-03 01:42:52",
		"description":	"default",
		"updated_at":	"2025-09-03 01:42:52",
		"id":	1,
		"deleted_at":	"",
		"disabled":	0
	}
]

查看指定火山引擎实例的详细信息

  • 请求 URL/api/volcengine_profiles/:id
  • 请求方式GET
  • Body 信息:无
  • 返回值
{
	"disabled":	0,
	"created_at":	"2025-09-03 01:42:52",
	"name":	"default",
	"description":	"default",
	"params":	[{
			"disabled":	"0",
			"created_at":	"2025-09-03 01:42:54",
			"realm":	"VOLCENGINE-TTS",
			"ref_id":	"1",
			"updated_at":	"2025-09-03 01:42:54",
			"deleted_at":	"",
			"v":	"wss://openspeech.bytedance.com/api/v1/tts/ws_binary",
			"k":	"tts-url",
			"id":	"2755"
		}, {
			"disabled":	"0",
			"created_at":	"2025-09-03 01:42:54",
			"realm":	"VOLCENGINE-TTS",
			"ref_id":	"1",
			"updated_at":	"2025-09-03 01:42:54",
			"deleted_at":	"",
			"v":	"volcano_tts",
			"k":	"cluster",
			"id":	"2756"
		}
    ...
    ],
	"updated_at":	"2025-09-03 01:42:52",
	"deleted_at":	"",
	"id":	1
}

创建火山引擎实例

  • 请求 URL/api/volcengine_profiles
  • 请求方式POST
  • Body 信息
参数说明
name火山引擎 profile 名称
description火山引擎 profile 描述
template模板,默认模板:"default"
{
  "name":"text1",
  "description":"text1",
  "template":"default",
  "disabled":"1"
}
  • 返回值
{
  "code": 200,
  "data": 2,
  "message": "success"
}

修改指定火山引擎实例的名称和描述

  • 请求 URL/api/volcengine_profiles/$id
  • 请求方式PUT
  • Body 信息
参数说明
name火山引擎 profile 名称
description火山引擎 profile 描述
idprofile ID
{
  "name": "text",
  "description": "火山引擎实例",
  "id": "1"
}
  • 返回值
{
  "data": "1",
  "message": "success",
  "code": 200
}

启用/禁用火山引擎实例

  • 请求 URL/api/volcengine_profiles/toggle/:id
  • 请求方式PUT
  • Body 信息
{
  "disabled": 0
}
  • 返回值
{
	"message":	"success",
	"code":	200,
	"data":	"1"
}

创建指定火山引擎实例中的 TTS 参数

  • 请求 URL/api/volcengine_profiles/:id/tts/
  • 请求方式POST
  • Body 信息
参数说明
k参数名称
v参数数值
realm参数域
{
  "k":"text",
  "v":"text",
  "realm":"VOLCENGINE-TTS"
}
  • 返回值
{
	"data":	3334,
	"message":	"success",
	"code":	200
}

修改指定火山引擎实例中的指定参数

  • 请求 URL/api/volcengine_profiles/$id/tts/$param_id
  • 请求方式PUT
  • Body 信息
参数说明
k参数名称
v参数数值
realm参数域
{
  "k": "tts-url",
  "realm": "VOLCENGINE-TTS",
  "v": "wss://openspeech.bytedance.com/api/v1/tts/ws_binary"
}
  • 返回值
{
  "message": "success",
  "data": "1574",
  "code": 200
}

启用/禁用指定火山引擎实例中的指定参数

  • 请求 URL/api/volcengine_profiles/$id/params/$param_id
  • 请求方式PUT
  • Body 信息
参数说明
action变更启用状态,固定为"toggle"
{
  "action": "toggle"
}
  • 返回值
{
  "message": "success",
  "data": "1574",
  "code": 200
}

删除指定火山引擎实例中的参数

  • 请求 URL/api/volcengine_profiles/:id/tts/:params_id
  • 请求方式DELETE
  • Body 信息:无
  • 返回值
{
  "code": 200,
  "message": "success",
  "data": "1"
}

删除指定火山引擎实例

  • 请求 URL/api/volcengine_profiles/:id
  • 请求方式DELETE
  • Body 信息:无
  • 返回值
{
  "message": "success",
  "data": "2",
  "code": 200
}
呼叫中心