GetApplication - 获取语音机器人应用

更新时间:
复制为 MD 格式

获取语音机器人应用。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。
  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。
  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:
    • 对于必选的资源类型,用前面加 * 表示。
    • 对于不支持资源级授权的操作,用全部资源表示。
  • 条件关键字:是指云产品自身定义的条件关键字。
  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。
操作访问级别资源类型条件关键字关联操作
bailianvoicebot:GetApplicationget
*全部资源
*

请求参数

名称类型必填描述示例值
BusinessUnitIdstring

百炼业务空间 ID

llm-c11iig67g863rih8
ApplicationIdstring

应用 ID。

a395011f-a247-400f-bc69-28796749fd52

返回参数

名称类型描述示例值
object
Codestring

code 码

OK
HttpStatusCodeinteger

http 状态码

200
Messagestring

响应信息

success
RequestIdstring

请求 ID

D771A1B6-3D5F-174A-BEE1-98CE1000D337
Dataobject

返回数据

ApplicationIdstring

应用 ID

a395011f-a247-400f-bc69-28796749fd52
Namestring

应用名称

测试001
Descriptionstring

应用描述

描述一下这个应用
Concurrencyinteger

呼叫并发量,即同时在外呼的通话数量。

10
CreatedTimelong

应用创建时间。

1730081561000
UpdatedTimelong

应用修改的时间。

1730081561000
NluEnginestring

Nlu 引擎

PROMPTS
NluAccessTypestring

Nlu 访问方式

MANAGED
DraftVersionobject

编辑版配置内容

VersionIdstring

版本 ID

743219815472857088
TranscriberConfigobject

ASR 配置

NlsEnginestring

ASR 引擎

枚举值:
  • ALIYUNALIYUN
ALIYUN
NlsAccessTypestring

ASR 调用方式

枚举值:
  • MANAGEDMANAGED
MANAGED
SynthesizerConfigobject

TTS 配置

NlsEnginestring

TTS 引擎

枚举值:
  • ALIYUNALIYUN
ALIYUN
NlsAccessTypestring

TTS 调用方式

枚举值:
  • MANAGEDMANAGED
MANAGED
Voicestring

发音人

aixia
SpeechRateinteger

播报速度

说明 取值范围:-500~500。
1
Volumeinteger

音量

50
PitchRateinteger

音调

说明 取值范围:-500~500。
5
ScriptProfileobject

应用模型配置

Modelstring

模型

qwen-plus
Temperaturestring

生成过程中的核采样方法概率阈值

说明
  • 例如,取值为 0.8 时,仅保留概率加起来大于等于 0.8 的最可能 token 的最小集合作为候选集。 * 取值范围为(0,1.0),取值越大,生成的随机性越高;取值越低,生成的确定性越高
  • 0.8
    TopPstring

    用于控制模型回复的随机性和多样性

    说明
  • 具体来说,temperature 值控制了生成文本时对每个候选词的概率分布进行平滑的程度。 较高的 temperature 值会降低概率分布的峰值,使得更多的低概率词被选择,生成结果更加多样化;而较低的 temperature 值则会增强概率分布的峰值,使得高概率词更容易被选择,生成结果更加确定。
  • 取值范围: [0, 2),不建议取值为 0,无意义。
  • 0.1
    AgentProfileobject

    智能体配置信息

    ScriptProfileTemplateIdstring

    应用模版 ID

    SFM_PROMPTS_DEFAULT
    AgentProfileIdstring

    智能体配置 ID。

    6a50b67072d44788951de29758432d94
    PromptsJsonstring

    提示词 json

    {"prompts":"我是一个聊天机器人。"}
    Descriptionstring

    智能体描述

    聊天机器人
    InteractionConfigobject

    交互配置

    SilenceDetectionConfigobject

    静默检测配置

    Timeoutinteger

    任务执行超时时间,单位秒。

    3
    RagConfigobject

    RAG 配置

    RagEnginestring

    RAG 引擎

    BAILIAN
    Enabledboolean

    是否启用 RAG

    false
    KnowledgeBaseIdsarray

    知识库 ID 列表

    knowledgeBaseIdsstring

    知识库 ID

    8345xghryt
    TopNinteger

    取最大多少条数据

    5
    MaxContentLengthinteger

    RAG 内容最大拼接长度

    2000
    ToolConfigobject

    工具配置

    McpServersarray<object>

    MCP 信息配置列表

    mcpServersobject
    Namestring

    名称

    phone-ai-call
    BaseUrlstring

    基础 URL

    https://example.com
    SseEndpointstring

    SSE 路径

    /phone-ai-call/mcp/sse?key=value
    PublishedVersionobject

    已发布应用版本

    VersionIdstring

    版本 ID

    47889c1f-dd3f-4ace-9587-a13a3563e678
    TranscriberConfigobject

    ASR 配置

    NlsEnginestring

    ASR 引擎

    枚举值:
    • ALIYUNALIYUN
    ALIYUN
    NlsAccessTypestring

    ASR 调用方式

    枚举值:
    • MANAGEDMANAGED
    MANAGED
    SynthesizerConfigobject

    TTS 配置

    NlsEnginestring

    TTS 引擎

    枚举值:
    • ALIYUNALIYUN
    ALIYUN
    NlsAccessTypestring

    TTS 调用方式

    枚举值:
    • MANAGEDMANAGED
    MANAGED
    Voicestring

    发音人

    aixia
    SpeechRateinteger

    播报速度

    说明 取值范围:-500~500。
    -20
    Volumeinteger

    音量

    50
    PitchRateinteger

    音调

    说明 取值范围:-500~500。
    3
    ScriptProfileobject

    应用模型配置

    Modelstring

    模型

    qwen-plus
    Temperaturestring

    生成过程中的核采样方法概率阈值

    说明
  • 例如,取值为 0.8 时,仅保留概率加起来大于等于 0.8 的最可能 token 的最小集合作为候选集。 * 取值范围为(0,1.0),取值越大,生成的随机性越高;取值越低,生成的确定性越高
  • 0.8
    TopPstring

    用于控制模型回复的随机性和多样性

    说明
  • 具体来说,temperature 值控制了生成文本时对每个候选词的概率分布进行平滑的程度。 较高的 temperature 值会降低概率分布的峰值,使得更多的低概率词被选择,生成结果更加多样化;而较低的 temperature 值则会增强概率分布的峰值,使得高概率词更容易被选择,生成结果更加确定。
  • 取值范围: [0, 2),不建议取值为 0,无意义。
  • 0.1
    AgentProfileobject

    智能体配置信息

    ScriptProfileTemplateIdstring

    智能体配置模版 ID

    SFM_PROMPTS_DEFAULT
    AgentProfileIdstring

    智能体配置 ID

    b97b6822dd624c32b6c2a54d717db718
    PromptsJsonstring

    提示词 json

    {"prompts":"我是一个聊天机器人。"}
    Descriptionstring

    智能体描述

    我是一个聊天机器人
    InteractionConfigobject

    交互配置

    SilenceDetectionConfigobject

    静默检测配置

    Timeoutinteger

    超时时长。

    30
    RagConfigobject

    RAG 配置

    RagEnginestring

    RAG 引擎

    BAILIAN
    Enabledboolean

    是否启用 RAG

    false
    KnowledgeBaseIdsarray

    知识库 ID 列表

    knowledgeBaseIdsstring

    知识库 ID

    3472xghryt
    TopNinteger

    取最大多少条数据

    5
    MaxContentLengthinteger

    RAG 内容最大拼接长度

    2000
    ToolConfigobject

    工具配置

    McpServersarray<object>

    MCP 信息配置列表

    mcpServersobject
    Namestring

    名称。

    phone-ai-call
    BaseUrlstring

    基础 URL

    https://example.com
    SseEndpointstring

    SSE 路径

    /phone-ai-call/mcp/sse?key=value

    示例

    正常返回示例

    JSON格式

    {
      "Code": "OK",
      "HttpStatusCode": 200,
      "Message": "success",
      "RequestId": "D771A1B6-3D5F-174A-BEE1-98CE1000D337",
      "Data": {
        "ApplicationId": "a395011f-a247-400f-bc69-28796749fd52\n",
        "Name": "测试001\n",
        "Description": "描述一下这个应用\n",
        "Concurrency": 10,
        "CreatedTime": 1730081561000,
        "UpdatedTime": 1730081561000,
        "NluEngine": "PROMPTS",
        "NluAccessType": "MANAGED",
        "DraftVersion": {
          "VersionId": 743219815472857100,
          "TranscriberConfig": {
            "NlsEngine": "ALIYUN",
            "NlsAccessType": "MANAGED",
            "NlsAccessProfile": {
              "AccessProfileId": ""
            },
            "VocabularyId": "",
            "EndSilenceTimeout": 0,
            "CustomizationId": "",
            "SpeechNoiseThreshold": 0,
            "Model": "",
            "CorrectionRules": [
              {
                "Pattern": "",
                "Replacement": ""
              }
            ]
          },
          "SynthesizerConfig": {
            "NlsEngine": "ALIYUN",
            "NlsAccessType": "MANAGED",
            "Voice": "aixia",
            "SpeechRate": 1,
            "Volume": 50,
            "PitchRate": 5,
            "NlsAccessProfile": {
              "AccessProfileId": ""
            },
            "Model": "",
            "PronRules": [
              {
                "Pattern": "",
                "Replacement": ""
              }
            ]
          },
          "ScriptProfile": {
            "Model": "qwen-plus",
            "Temperature": 0.8,
            "TopP": 0.1,
            "AgentProfile": {
              "ScriptProfileTemplateId": "SFM_PROMPTS_DEFAULT",
              "AgentProfileId": "6a50b67072d44788951de29758432d94",
              "PromptsJson": {
                "prompts": "我是一个聊天机器人。"
              },
              "Description": "聊天机器人"
            }
          },
          "InteractionConfig": {
            "SilenceDetectionConfig": {
              "Timeout": 3
            }
          },
          "RagConfig": {
            "RagEngine": "BAILIAN",
            "Enabled": false,
            "KnowledgeBaseIds": [
              "8345xghryt"
            ],
            "TopN": 5,
            "MaxContentLength": 2000
          },
          "ToolConfig": {
            "McpServers": [
              {
                "Name": "phone-ai-call",
                "BaseUrl": "https://example.com",
                "SseEndpoint": "/phone-ai-call/mcp/sse?key=value"
              }
            ]
          }
        },
        "PublishedVersion": {
          "VersionId": "47889c1f-dd3f-4ace-9587-a13a3563e678",
          "TranscriberConfig": {
            "NlsEngine": "ALIYUN",
            "NlsAccessType": "MANAGED",
            "NlsAccessProfile": {
              "AccessProfileId": ""
            },
            "VocabularyId": "",
            "EndSilenceTimeout": 0,
            "CustomizationId": "",
            "SpeechNoiseThreshold": 0,
            "Model": "",
            "CorrectionRules": [
              {
                "Pattern": "",
                "Replacement": ""
              }
            ]
          },
          "SynthesizerConfig": {
            "NlsEngine": "ALIYUN",
            "NlsAccessType": "MANAGED",
            "Voice": "aixia",
            "SpeechRate": -20,
            "Volume": 50,
            "PitchRate": 3,
            "NlsAccessProfile": {
              "AccessProfileId": ""
            },
            "Model": "",
            "PronRules": [
              {
                "Pattern": "",
                "Replacement": ""
              }
            ]
          },
          "ScriptProfile": {
            "Model": "qwen-plus\n",
            "Temperature": 0.8,
            "TopP": 0.1,
            "AgentProfile": {
              "ScriptProfileTemplateId": "SFM_PROMPTS_DEFAULT",
              "AgentProfileId": "b97b6822dd624c32b6c2a54d717db718",
              "PromptsJson": {
                "prompts": "我是一个聊天机器人。"
              },
              "Description": "我是一个聊天机器人"
            }
          },
          "InteractionConfig": {
            "SilenceDetectionConfig": {
              "Timeout": 30
            }
          },
          "RagConfig": {
            "RagEngine": "BAILIAN",
            "Enabled": false,
            "KnowledgeBaseIds": [
              "3472xghryt"
            ],
            "TopN": 5,
            "MaxContentLength": 2000
          },
          "ToolConfig": {
            "McpServers": [
              {
                "Name": "phone-ai-call",
                "BaseUrl": "https://example.com",
                "SseEndpoint": "/phone-ai-call/mcp/sse?key=value"
              }
            ]
          }
        }
      }
    }

    错误码

    HTTP status code错误码错误信息
    400Parameter.EnumerationThe parameter %s must be one of the value of enumeration %s.
    400Parameter.BlankThe parameter %s must not be null or empty.
    400Parameter.EmptyThe parameter %s may not be null or empty.
    400Parameter.NullThe parameter %s may not be null.
    403Permission.UnauthorizedYou are not authorized to perform this action. %s privileges are required.
    404NotExists.InstanceIdThe specified instance %s does not exist.

    访问错误中心查看更多错误码。

    变更历史

    变更时间变更内容概要操作
    2026-05-21OpenAPI 错误码发生变更、OpenAPI 返回结构发生变更查看变更详情
    2026-05-20OpenAPI 错误码发生变更、OpenAPI 返回结构发生变更查看变更详情
    2026-05-12OpenAPI 错误码发生变更、OpenAPI 返回结构发生变更查看变更详情
    2026-05-06OpenAPI 错误码发生变更、OpenAPI 返回结构发生变更查看变更详情
    2026-01-28新增 OpenAPI查看变更详情