Query Agent information
GET/v1/aibot/bots/:botId
Query Agent information
Request
Path Parameters
botId stringrequired
Responses
- 200
- default
Returned when the AI Agent information is queried successfully
Response Headers
X-Request-Id string
Request ID
- application/json
- Schema
- Example (from schema)
Schema
botId string
Agent ID generated by the system
name stringrequired
Agent name
introduction stringrequired
Agent introduction
welcomeMessage string
Agent welcome message
avatar string
Agent avatar URL
background string
Agent chat background image URL
isNeedRecommend boolean
Whether to recommend follow-up questions after the Agent replies
type string
Agent type, text or image
searchEnable boolean
Whether web search is enabled
{
"botId": "bot-xxx",
"name": "Intelligent Agent",
"introduction": "Introduction",
"welcomeMessage": "Welcome!",
"avatar": "http://xxx.avatar.image",
"background": "http://xxx.background.image",
"isNeedRecommend": false,
"type": "text",
"searchEnable": false
}
Returned when querying AI Agent information fails
- application/json
- Schema
- Example (from schema)
Schema
code string
Error code
message string
Error message
requestId string
Request ID
{
"code": "INVALID_CREDENTIALS",
"message": "Credentials are invalid",
"requestId": "6360ba4b-f672-434b-9dee-35686a5589a4"
}
Loading...