# API

## Agent Configuration Service

### Get Language List
- **Description**: Get the list of supported languages.
- **API Details**: [getPanelAgentConfigLanguageList](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentConfigLanguageList)

### Get Model List
- **Description**: Get the list of supported large language models.
- **API Details**: [getPanelAgentConfigLlmList](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentConfigLlmList)

### Get Avatar List
- **Description**: Get the list of supported avatars.
- **API Details**: [getPanelAgentConfigAvatarList](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentConfigAvatarList)

### Get Role Variable List
- **Description**: Get the list of role variable configurations.
- **API Details**: [getPanelAgentConfigRoleVariableList](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentConfigRoleVariableList)

### Get Wake Word
- **Description**: Get the wake word.
- **API Details**: [getPanelAgentConfigWakeUpWord](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentConfigWakeUpWord)

### Get NetEase Cloud Music Config
- **Description**: Query the device's NetEase Cloud Music capability support and enablement status.
- **API Details**: [getPanelAgentConfigNetEaseCloudMusic](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentConfigNetEaseCloudMusic)

## Agent Role Service

### Get Project Info
- **Description**: Query agent project information.
- **API Details**: [getPanelAgentProjectInfo](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentProjectInfo)

### Create Custom Role (Create)
- **Description**: Create a custom role.
- **API Details**: [addPanelAgentCustomRole](/en/miniapp/develop/ray/api/ai/panelAgent/addPanelAgentCustomRole)

### Get Custom Role Detail (Read)
- **Description**: Query detailed information of a custom role.
- **API Details**: [getPanelAgentCustomRoleDetail](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentCustomRoleDetail)

### Update Custom Role (Update)
- **Description**: Update custom role information.
- **API Details**: [updatePanelAgentCustomRole](/en/miniapp/develop/ray/api/ai/panelAgent/updatePanelAgentCustomRole)

### Delete Custom Role (Delete)
- **Description**: Delete a specified custom role.
- **API Details**: [deletePanelAgentCustomRole](/en/miniapp/develop/ray/api/ai/panelAgent/deletePanelAgentCustomRole)

### Get Custom Role Page List (Query List)
- **Description**: Query the paginated list of custom roles.
- **API Details**: [getPanelAgentCustomRolePage](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentCustomRolePage)

### Initialize Role Binding
- **Description**: Initialize role binding.
- **API Details**: [initializePanelAgentRoleBinding](/en/miniapp/develop/ray/api/ai/panelAgent/initializePanelAgentRoleBinding)

### Bind Role
- **Description**: Bind a role.
- **API Details**: [bindPanelAgentWithRole](/en/miniapp/develop/ray/api/ai/panelAgent/bindPanelAgentWithRole)

### Get Bound Role
- **Description**: Get the bound role information.
- **API Details**: [getPanelAgentBoundRole](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentBoundRole)

### Role Template List
- **Description**: Query the list of role templates.
- **API Details**: [getPanelAgentRoleTemplateList](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentRoleTemplateList)

### Role Template Detail
- **Description**: Query detailed information of a role template.
- **API Details**: [getPanelAgentRoleTemplateDetail](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentRoleTemplateDetail)

### Create Role from Template
- **Description**: Create a role based on a role template.
- **API Details**: [createPanelAgentRoleFromTemplate](/en/miniapp/develop/ray/api/ai/panelAgent/createPanelAgentRoleFromTemplate)

## Agent Role Chat Service

### Get Chat History
- **Description**: Query chat history (supports cursor pagination).
- **API Details**: [fetchPanelAgentChatHistory](/en/miniapp/develop/ray/api/ai/panelAgent/fetchPanelAgentChatHistory)

### Delete Chat History
- **Description**: Delete chat history.
- **API Details**: [deletePanelAgentChatHistory](/en/miniapp/develop/ray/api/ai/panelAgent/deletePanelAgentChatHistory)

### Get Chat Summary
- **Description**: Get chat summary.
- **API Details**: [getPanelAgentChatSummary](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentChatSummary)

### Update Chat Summary
- **Description**: Update chat summary.
- **API Details**: [updatePanelAgentChatSummary](/en/miniapp/develop/ray/api/ai/panelAgent/updatePanelAgentChatSummary)

### Get Current Chat Emotion
- **Description**: Get the current chat emotion.
- **API Details**: [getPanelAgentCurrentChatEmotion](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentCurrentChatEmotion)

### Clear Context
- **Description**: Clear the context information (memory).
- **API Details**: [clearPanelAgentContext](/en/miniapp/develop/ray/api/ai/panelAgent/clearPanelAgentContext)

### Get Memory List
- **Description**: Query the memory list of roles.
- **API Details**: [getPanelAgentMemoryList](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentMemoryList)

### Delete Memory
- **Description**: Delete role memory.
- **API Details**: [deletePanelAgentMemory](/en/miniapp/develop/ray/api/ai/panelAgent/deletePanelAgentMemory)

### Get Memory Switch
- **Description**: Get the memory switch status.
- **API Details**: [getPanelAgentMemorySwitch](/en/miniapp/develop/ray/api/ai/panelAgent/getPanelAgentMemorySwitch)

## Timbre Service

### Get Timbre Market List
- **Description**: Get the paginated list of standard timbres.
- **API Details**: [getTimbreMarketList](/en/miniapp/develop/ray/api/ai/panelAgent/getTimbreMarketList)
