Bots
Get
Retrieve the details of a single CometChat bot by UID using the REST API.
GET
Get
Returns
For the complete error reference, see Error Guide.
ERR_BOT_NOT_FOUND when no bot exists with this UID. That includes a UID that belongs to a user who is not a bot, and an agent created through AI Agents.
Responses omit every property whose value is empty or false, so a standard bot has no isAIBot, and a bot that has never had basic auth has no useBasicAuth, username or password. A bot whose useBasicAuth was set to false after it was saved still returns its stored username and password.
For a bot flagged as an AI bot, the response includes the flag: