Agent

The Agent API handles methods to create and manage each agent and its relations of a Virtual Agent.

circle-info

API SUBPATH: eva-generative-service

Supervisor

Pagination and Listings

Searches and paginates through supervisors

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Query parameters
pageinteger · int32Optional

Current page, starting at 1

Default: 1Example: 1
sizeinteger · int32Optional

Size of the page

Default: 5Example: 5
orderBystringOptional

Field to sort by

Default: updatedAtExample: updatedAt
directionstringOptional

Sort direction (ASC or DESC)

Default: DESCExample: DESC
searchTermstringOptional

Optional search term to filter supervisors

Responses
chevron-right
200

Ok

application/json
totalElementsinteger · int64Optional
totalPagesinteger · int32Optional
numberOfElementsinteger · int32Optional
sizeinteger · int32Optional
contentobject[]Optional
numberinteger · int32Optional
firstbooleanOptional
lastbooleanOptional
emptybooleanOptional
get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/supervisors

CRUD Operations

Retrieve a supervisor by its UUID

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

supervisorUUIDstringRequired

The supervisor UUID to retrieve

Responses
chevron-right
200

Ok

application/json

Data Transfer Object representing an Agent with all its configurations and relationships

uuidstringOptional

Unique identifier of the agent

Example: 123e4567-e89b-12d3-a456-426614174000
rolestringOptional

The role of the agent

Example: Customer Support Agent
flowUUIDstringOptional

UUID of the flow associated with the agent

Example: 123e4567-e89b-12d3-a456-426614174001
goalstringOptional

The goal of the agent

Example: Assist customers with their inquiries
instructionsstringOptional

Detailed instructions for the agent

guardrailsstringOptional

Guardrails and limitations for the agent

inheritFromSupervisorbooleanOptional

Whether the agent inherits configurations from supervisor

get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/supervisors/{supervisorUUID}

Update an existing supervisor by its UUID

put
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

supervisorUUIDstringRequired

The supervisor UUID to update

Body

Data Transfer Object representing the configuration and attributes for a supervisor

instructionsstringOptional

Instructions for the supervisor

Example: Oversee all customer service interactions
guardrailsstringOptional

Guardrails and limitations for the supervisor

Example: Ensure professional communication
Responses
chevron-right
200

Ok

application/json

Data Transfer Object representing an Agent with all its configurations and relationships

uuidstringOptional

Unique identifier of the agent

Example: 123e4567-e89b-12d3-a456-426614174000
rolestringOptional

The role of the agent

Example: Customer Support Agent
flowUUIDstringOptional

UUID of the flow associated with the agent

Example: 123e4567-e89b-12d3-a456-426614174001
goalstringOptional

The goal of the agent

Example: Assist customers with their inquiries
instructionsstringOptional

Detailed instructions for the agent

guardrailsstringOptional

Guardrails and limitations for the agent

inheritFromSupervisorbooleanOptional

Whether the agent inherits configurations from supervisor

put
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/supervisors/{supervisorUUID}

Auxiliary Methods

Retrieve the default supervisor

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Responses
chevron-right
200

Ok

application/json

Data Transfer Object representing an Agent with all its configurations and relationships

uuidstringOptional

Unique identifier of the agent

Example: 123e4567-e89b-12d3-a456-426614174000
rolestringOptional

The role of the agent

Example: Customer Support Agent
flowUUIDstringOptional

UUID of the flow associated with the agent

Example: 123e4567-e89b-12d3-a456-426614174001
goalstringOptional

The goal of the agent

Example: Assist customers with their inquiries
instructionsstringOptional

Detailed instructions for the agent

guardrailsstringOptional

Guardrails and limitations for the agent

inheritFromSupervisorbooleanOptional

Whether the agent inherits configurations from supervisor

get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/supervisors/default

Agent

Pagination and Listings

Searches and paginates through agents

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Query parameters
pageinteger · int32Optional

Current page, starting at 1

Default: 1Example: 1
sizeinteger · int32Optional

Size of the page

Default: 5Example: 5
orderBystringOptional

The field to order results by

Default: updatedAtExample: updatedAt
directionstringOptional

The sort direction (ASC or DESC)

Default: DESCExample: DESC
searchTermstringOptional

Optional search term to filter results

Responses
chevron-right
200

Ok

application/json
totalElementsinteger · int64Optional
totalPagesinteger · int32Optional
numberOfElementsinteger · int32Optional
sizeinteger · int32Optional
contentobject[]Optional
numberinteger · int32Optional
firstbooleanOptional
lastbooleanOptional
emptybooleanOptional
get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/agents

Perform a quick search for agent names

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Query parameters
namestringRequired

The name of the agent for quick search

limitinteger · int32Optional

The maximum number of results to return

Default: 6Example: 6
Header parameters
x-request-idstringOptional
Responses
chevron-right
200

Ok

application/json
stringOptional
get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/agents/quicksearch

CRUD Operations

Create a new agent

post
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Body

Data Transfer Object representing the parameters required to create an agent

rolestringRequired

The role of the agent

Example: Customer Support Agent
goalstringRequired

The goal of the agent

Example: Assist customers with their inquiries
instructionsstringOptional

Detailed instructions for the agent

Example: Always be polite and helpful
guardrailsstringOptional

Guardrails and limitations for the agent

Example: Do not provide personal information
inheritFromSupervisorbooleanRequired

Whether the agent should inherit configurations from supervisor

Responses
post
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/agents

Find an agent by its UUID

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

agentUUIDstringRequired

The specific agent UUID to retrieve

Responses
chevron-right
200

Ok

application/json

Data Transfer Object representing an Agent with all its configurations and relationships

uuidstringOptional

Unique identifier of the agent

Example: 123e4567-e89b-12d3-a456-426614174000
rolestringOptional

The role of the agent

Example: Customer Support Agent
flowUUIDstringOptional

UUID of the flow associated with the agent

Example: 123e4567-e89b-12d3-a456-426614174001
goalstringOptional

The goal of the agent

Example: Assist customers with their inquiries
instructionsstringOptional

Detailed instructions for the agent

guardrailsstringOptional

Guardrails and limitations for the agent

inheritFromSupervisorbooleanOptional

Whether the agent inherits configurations from supervisor

get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/agents/{agentUUID}

Update an existing agent by its UUID

put
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

agentUUIDstringRequired

The specific agent UUID to update

Body

Data Transfer Object representing the necessary fields for updating an agent

rolestringRequired

The role of the agent

Example: Customer Support Agent
goalstringRequired

The goal of the agent

Example: Assist customers with their inquiries
instructionsstringOptional

Detailed instructions for the agent

Example: Always be polite and helpful
guardrailsstringOptional

Guardrails and limitations for the agent

Example: Do not provide personal information
inheritFromSupervisorbooleanRequired

Whether the agent should inherit configurations from supervisor

Responses
chevron-right
200

Ok

application/json

Data Transfer Object representing an Agent with all its configurations and relationships

uuidstringOptional

Unique identifier of the agent

Example: 123e4567-e89b-12d3-a456-426614174000
rolestringOptional

The role of the agent

Example: Customer Support Agent
flowUUIDstringOptional

UUID of the flow associated with the agent

Example: 123e4567-e89b-12d3-a456-426614174001
goalstringOptional

The goal of the agent

Example: Assist customers with their inquiries
instructionsstringOptional

Detailed instructions for the agent

guardrailsstringOptional

Guardrails and limitations for the agent

inheritFromSupervisorbooleanOptional

Whether the agent inherits configurations from supervisor

put
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/agents/{agentUUID}

Delete an agent by its UUID

delete
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

agentUUIDstringRequired

The specific agent UUID to delete

Responses
chevron-right
200

Ok

application/json

Summary of a delete operation containing metadata about the deleted entity

namestringOptional

Name of the deleted entity

Example: My Agent
delete
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/agents/{agentUUID}

Auxiliary Methods

Check if an agent identifier is already in use

post
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Body

Data Transfer Object used to validate and check the existence or usage of a specific value

valuestringRequired

The value to be checked

Example: agent-identifier
uuidstringOptional

Optional unique identifier of an associated entity

Example: 123e4567-e89b-12d3-a456-426614174000
Responses
chevron-right
200

Ok

application/json

Data Transfer Object representing the result of checking if a value is already in use

usedbooleanOptional

Indicates whether the value is already in use

Example: true
post
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/agents/check-identifier

Persona

Pagination and Listings

Searches and paginates through personas

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Query parameters
pageinteger · int32Optional

Current page, starting at 1

Default: 1Example: 1
sizeinteger · int32Optional

Size of the page

Default: 5Example: 5
orderBystringOptional

The field to order results by

Default: updatedAtExample: updatedAt
directionstringOptional

The sort direction (ASC or DESC)

Default: DESCExample: DESC
searchTermstringOptional

Optional search term to filter results

Responses
chevron-right
200

Ok

application/json
totalElementsinteger · int64Optional
totalPagesinteger · int32Optional
numberOfElementsinteger · int32Optional
sizeinteger · int32Optional
contentobject[]Optional
numberinteger · int32Optional
firstbooleanOptional
lastbooleanOptional
emptybooleanOptional
get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/personas

Perform a quick search for persona names

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Query parameters
namestringRequired

The name to search for

limitinteger · int32Optional

The maximum number of results to return

Default: 6Example: 6
Header parameters
x-request-idstringOptional
Responses
chevron-right
200

Ok

application/json
stringOptional
get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/personas/quicksearch

Retrieve a list of personas for dropdown

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Responses
chevron-right
200

Ok

application/json
stringOptional
get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/personas/dropdown

CRUD Operations

Create a new persona

post
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Body

Data Transfer Object representing the fields for creating or updating a persona

namestringRequired

Name of the persona

Example: AI Assistant
imagestringOptional

Image URL or base64 encoded image for the persona

Example: https://example.com/avatar.jpg
backstorystringOptional

Backstory of the persona

Example: An experienced customer service representative
personalitystringOptional

Personality traits of the persona

Example: Friendly, helpful, and professional
communicationStylestring · enumOptional

Different styles of communication.

Possible values:
Responses
post
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/personas

Retrieve a persona by its UUID

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

personaUUIDstringRequired

The specific persona UUID to retrieve

Responses
chevron-right
200

Ok

application/json

Data Transfer Object representing a Persona with all its attributes and associated agents

uuidstringOptional

Unique identifier of the persona

Example: 123e4567-e89b-12d3-a456-426614174000
namestringOptional

Name of the persona

Example: AI Assistant
imagestringOptional

Image URL for the persona's avatar

Example: https://example.com/avatar.jpg
backstorystringOptional

Backstory of the persona

Example: An experienced customer service representative
personalitystringOptional

Personality traits of the persona

Example: Friendly, helpful, and professional
communicationStylestring · enumOptional

Different styles of communication.

Possible values:
get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/personas/{personaUUID}

Update an existing persona by its UUID

put
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

personaUUIDstringRequired

The specific persona UUID to update

Body

Data Transfer Object representing the fields for creating or updating a persona

namestringRequired

Name of the persona

Example: AI Assistant
imagestringOptional

Image URL or base64 encoded image for the persona

Example: https://example.com/avatar.jpg
backstorystringOptional

Backstory of the persona

Example: An experienced customer service representative
personalitystringOptional

Personality traits of the persona

Example: Friendly, helpful, and professional
communicationStylestring · enumOptional

Different styles of communication.

Possible values:
Responses
chevron-right
200

Ok

application/json

Data Transfer Object representing a Persona with all its attributes and associated agents

uuidstringOptional

Unique identifier of the persona

Example: 123e4567-e89b-12d3-a456-426614174000
namestringOptional

Name of the persona

Example: AI Assistant
imagestringOptional

Image URL for the persona's avatar

Example: https://example.com/avatar.jpg
backstorystringOptional

Backstory of the persona

Example: An experienced customer service representative
personalitystringOptional

Personality traits of the persona

Example: Friendly, helpful, and professional
communicationStylestring · enumOptional

Different styles of communication.

Possible values:
put
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/personas/{personaUUID}

Delete a persona by its UUID

delete
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

personaUUIDstringRequired

The specific persona UUID to delete

Responses
chevron-right
200

Ok

application/json

Summary of a delete operation containing metadata about the deleted entity

namestringOptional

Name of the deleted entity

Example: My Agent
delete
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/personas/{personaUUID}

Auxiliary Methods

Check if a persona identifier is already in use

post
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Body

Data Transfer Object used to validate and check the existence or usage of a specific value

valuestringRequired

The value to be checked

Example: agent-identifier
uuidstringOptional

Optional unique identifier of an associated entity

Example: 123e4567-e89b-12d3-a456-426614174000
Responses
chevron-right
200

Ok

application/json

Data Transfer Object representing the result of checking if a value is already in use

usedbooleanOptional

Indicates whether the value is already in use

Example: true
post
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/personas/check-identifier

Retrieve persona summary information

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Responses
chevron-right
200

Ok

application/json

Data Transfer Object representing a summary of usage and limits for a resource

usedinteger · int32Optional

Number of resources currently used

Example: 5
limitinteger · int32Optional

Maximum allowable limit for the resource

Example: 10
get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/personas/summary

Function

Pagination and Listings

Searches and paginates through functions

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Query parameters
pageinteger · int32Optional

Current page, starting at 1

Default: 1Example: 1
sizeinteger · int32Optional

Size of the page

Default: 5Example: 5
orderBystringOptional

Field to sort by

Default: updatedAtExample: updatedAt
directionstringOptional

Sort direction (ASC or DESC)

Default: DESCExample: DESC
searchTermstringOptional

Search term for filtering

Responses
chevron-right
200

Ok

application/json
totalElementsinteger · int64Optional
totalPagesinteger · int32Optional
numberOfElementsinteger · int32Optional
sizeinteger · int32Optional
contentobject[]Optional
numberinteger · int32Optional
firstbooleanOptional
lastbooleanOptional
emptybooleanOptional
get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/functions

Perform a quick search for function names

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Query parameters
namestringRequired

Name to filter

limitinteger · int32Optional

Maximum number of results to return

Default: 6Example: 6
Header parameters
x-request-idstringOptional
Responses
chevron-right
200

Ok

application/json
stringOptional
get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/functions/quicksearch

CRUD Operations

Create a new function

post
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Body

Data Transfer Object representing the creation of an Agent Function

namestringRequired

Name of the function

Example: GetWeatherFunction
descriptionstring · max: 1024Required

Description of the function

Example: Function to get current weather information
parameterJsonstringOptional

JSON string representing function parameters

Example: {"type":"object","properties":{}}
Responses
post
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/functions

Find a function by its UUID

get
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

functionUUIDstringRequired

Function UUID

Responses
chevron-right
200

Ok

application/json

Data Transfer Object that encapsulates the details of a function

uuidstringOptional

Unique identifier of the function

Example: 123e4567-e89b-12d3-a456-426614174000
namestringOptional

Name of the function

Example: GetWeatherFunction
descriptionstringOptional

Description of the function

Example: Function to get current weather information
parameterJsonstringOptional

JSON string representing function parameters

Example: {"type":"object","properties":{}}
get
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/functions/{functionUUID}

Update an existing function by its UUID

put
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

functionUUIDstringRequired

Function UUID to update

Body

Data Transfer Object for updating an existing agent function

namestringRequired

Name of the function

Example: GetWeatherFunction
descriptionstring · max: 1024Required

Description of the function

Example: Function to get current weather information
parameterJsonstringOptional

JSON string representing function parameters

Example: {"type":"object","properties":{}}
Responses
chevron-right
200

Ok

application/json

Data Transfer Object that encapsulates the details of a function

uuidstringOptional

Unique identifier of the function

Example: 123e4567-e89b-12d3-a456-426614174000
namestringOptional

Name of the function

Example: GetWeatherFunction
descriptionstringOptional

Description of the function

Example: Function to get current weather information
parameterJsonstringOptional

JSON string representing function parameters

Example: {"type":"object","properties":{}}
put
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/functions/{functionUUID}

Delete a function by its UUID

delete
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

functionUUIDstringRequired

Function UUID to delete

Responses
chevron-right
200

Ok

application/json

Summary of a delete operation containing metadata about the deleted entity

namestringOptional

Name of the deleted entity

Example: My Agent
delete
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/functions/{functionUUID}

Auxiliary Methods

Check if a function identifier is already in use

post
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Body

Data Transfer Object used to validate and check the existence or usage of a specific value

valuestringRequired

The value to be checked

Example: agent-identifier
uuidstringOptional

Optional unique identifier of an associated entity

Example: 123e4567-e89b-12d3-a456-426614174000
Responses
chevron-right
200

Ok

application/json

Data Transfer Object representing the result of checking if a value is already in use

usedbooleanOptional

Indicates whether the value is already in use

Example: true
post
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/functions/check-identifier

Variable

Auxiliary Methods

Check if a variable is currently in use within a bot's configuration

post
Path parameters
orgUUIDstringRequired

A valid uuid of organization

envUUIDstringRequired

A valid uuid of environment

botUUIDstringRequired

A valid uuid of bot

Body

Data Transfer Object used to validate and check the existence or usage of a specific value

valuestringRequired

The value to be checked

Example: agent-identifier
uuidstringOptional

Optional unique identifier of an associated entity

Example: 123e4567-e89b-12d3-a456-426614174000
Responses
chevron-right
200

Ok

application/json

Data Transfer Object representing the result of checking if a value is already in use

usedbooleanOptional

Indicates whether the value is already in use

Example: true
post
/org/{orgUUID}/env/{envUUID}/bot/{botUUID}/variables

Last updated

Was this helpful?