Bot

Bots are your Virtual Agents.

circle-info

API SUBPATH: eva-bot

Paginations and Listings

List bots (v2)

get

Returns a paginated list of bots for a given user, environment, and organization. Supports search and sorting.

Path parameters
orgUUIDstringRequired

A valid UUID of the organization

envUUIDstringRequired

A valid UUID of the environment

Query parameters
searchTermstringOptional

Optional search term to filter bots

pageinteger · int32Optional

Page number (1-based index)

Default: 1
linesPerPageinteger · int32Optional

Number of items per page

Default: 7
orderBystringOptional

Field to sort by

Default: createdAt
directionstringOptional

Sort direction: ASC or DESC

Default: DESC
Responses
chevron-right
200

List of bots returned successfully

*/*
get
/org/{orgUUID}/env/{envUUID}/v2/bots

Paginates through all Bots in an Environment. Removed Bots are not retrieved, and neither are Bots whose the current used has no access to.

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

Query parameters
searchTermstringOptional

Term being searched. This expects one optional String matching the name of a bot, left to right from the beginning of it's name.

pageinteger · int32Optional

Current page, starting at 1.

Default: 1
linesPerPageinteger · int32Optional

Items per page, defaulted to 7.

Default: 7
orderBystringOptional

Criteria to order result, defaulted to createdAt date.

Default: createdAt
directionstringOptional

Order direction(ASC/DESC), defaulted to DESC

Default: DESC
Responses
chevron-right
200

Ok

*/*
get
/org/{orgUUID}/env/{envUUID}/bots

Searches (greedily) for any tag names that exists in a bot, matching the typed term, left-to-right, and returns a list of up to 6 Strings, ordered alphabetically.

get
Path parameters
orgUUIDstringRequired

A valid organization Uuid

envUUIDstringRequired

A valid environment Uuid

Query parameters
searchTermstringRequired

Term being searched

limitinteger · int32Optional

How many items will be returned in the list. Defaults to 6.

Default: 6
Responses
chevron-right
200

Ok

*/*
Responsestring[]
get
/org/{orgUUID}/env/{envUUID}/quicksearch

Retrieves a list containing simplified information from all Bots within an Environment. Does not retrieve removed Bots.

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

Responses
chevron-right
200

Ok

*/*
get
/org/{orgUUID}/env/{envUUID}/bots/simple

CRUD Operation

Create a new bot (v2)

post

Creates a new bot in the specified environment and organization using the provided configuration data.

Path parameters
orgUUIDstringRequired

A valid UUID of the organization

envUUIDstringRequired

A valid UUID of the environment

Body

Data to create a new bot

namestringRequired

The name of the agent

Example: SupportBot
descriptionstringRequired

A brief description of the agent

Example: Handles customer support queries
localestringRequired

The locale of the agent

Example: en-US
industrystringRequired

The industry the agent is associated with

Example: E-commerce
companyNamestringRequired

The name of the company

Example: Acme Corp
imagestringOptional

Optional image URL or base64 string

Example: https://example.com/image.png
Responses
post
/org/{orgUUID}/env/{envUUID}/v2/bots

Retrieve a bot (v2)

get

Fetches the details of a specific bot by its UUID within a given organization and environment. Optionally includes a thumbnail.

Path parameters
orgUUIDstringRequired

A valid UUID of the organization

envUUIDstringRequired

A valid UUID of the environment

botUUIDstringRequired

A valid UUID of the bot

Query parameters
thumbnailbooleanOptional

Whether to include a thumbnail in the response

Default: false
Responses
chevron-right
200

Bot retrieved successfully

*/*
get
/org/{orgUUID}/env/{envUUID}/v2/bots/{botUUID}

Update an existing bot (v2)

put

Updates the configuration of an existing bot identified by its UUID within a specific organization and environment.

Path parameters
orgUUIDstringRequired

A valid UUID of the organization

envUUIDstringRequired

A valid UUID of the environment

botUUIDstringRequired

A valid UUID of the bot

Body

Data to update the bot

namestringRequired

The name of the agent

Example: SupportBot
descriptionstringRequired

A brief description of the agent

Example: Handles customer support queries
localestringRequired

The locale of the agent

Example: en-US
industrystringRequired

The industry the agent is associated with

Example: E-commerce
companyNamestringRequired

The name of the company

Example: Acme Corp
imagestringOptional

Optional image URL or base64 string

Example: https://example.com/image.png
Responses
chevron-right
200

Bot updated successfully

*/*
put
/org/{orgUUID}/env/{envUUID}/v2/bots/{botUUID}

Delete a bot

delete
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Responses
delete
/org/{orgUUID}/env/{envUUID}/bots/{botUUID}

No content

Deprecated Endpoints

Create a new bot with his dependencies: nlpEngine, bot-admin, channels and parameters

post
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

Body

Data to create a new bot

namestringRequired

Name of the bot

descriptionstring · max: 250Optional

Description of the bot

industrystringOptional

Type of bot business

localestringRequired

Locale of the bot

imagestringOptional

Base64 of the bot's image in the DataURI format.

contentTypestringOptionalDeprecated

[DEPRECATED] Content-Type of the bot image. Inferred from the image field.

metadatastringOptional

Metadata of bot's nlp engine. OBS: Its not required if wants to insert or update bot clever

channelNamestringRequired

Name of the first channel to create with the bot

channelTypeinteger · int64Required

Type of the first channel to create with the bot. Types: 1 - Amazon Echo, 2 - Google Home, 4 - Jibo, 5 - Alexa, 6 - Cortana, 7 - Google Assistant, 8 - Siri, 9 - Facebook, 10 - RCS, 11 - SMS, 12 - Skype, 13 - ARCore, 14 - ARKit, 15 - Android, 16 - iOS, 17 - IVR, 18 - VR, 19 - Web, 20 - Web Mobile, 21 - App Mobile, 22 - WhatsApp, 24 - Skype for Business, 25 - Telegram, 26 - Twitter, 27 - WhatsApp (Infobip), 28 - HTC Vive, 29 - Oculus Rift, 30 - Oculus Go, 31 - Samsung Gear VR, 32 - Hololens, 33 - Apple Business Chat, 34 - Microsoft Teams

channelDescriptionstringOptional

Description of the first channel to create with the bot

nlpNamestringRequired

NlpName of the bot. Options: Clever, Watson, Luis, DialogFlow, Lex, Azure OpenAI, OpenAI, eva Azure OpenAI

api_keystringOptional

Api key of the analytic platform: Dashbot, Chatbase...

Responses
post
/org/{orgUUID}/env/{envUUID}/bots

Retrieves complete information from a Bot given it's UUID

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Query parameters
thumbnailbooleanOptional

Controls whether the returned default image is a thumbnail version or full image; user-submitted images are unaffected. Default value is false. (Full version)

Default: false
Responses
chevron-right
200

Ok

*/*
get
/org/{orgUUID}/env/{envUUID}/bots/{botUUID}

Update a bot

put
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Body

Data to update bot

namestringRequired

Name of the bot

descriptionstring · max: 250Optional

Description of the bot

industrystringOptional

Type of bot business

localestringRequired

Locale of the bot

imagestringOptional

Base64 of the bot's image in the DataURI format.

contentTypestringOptional

[DEPRECATED] Content-type of the bot image. Inferred from the image field.

metadatastringOptional

Metadata of bot's nlp engine. OBS: Its not required if wants to insert or update bot clever

api_keystringOptional

Api key of the analytic platform: Dashbot, Chatbase...

Responses
chevron-right
200

Ok

*/*
put
/org/{orgUUID}/env/{envUUID}/bots/{botUUID}

LLM Engine

Using the endpoit and api-key entered as parameters for this service, it will list the models and deploys available.

post
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

Body

Contains the data needed to consult account data

endpointstringOptional

User account endpoint

apiKeystringOptional

User account api-key

engineTypestring · enumOptional

LLM engine type

Possible values:
Responses
chevron-right
200

OK

*/*
post
/org/{orgUUID}/env/{envUUID}/engines/llm/account-details

Last updated

Was this helpful?