API methods summary

The following tables list the methods that are available with the AI assistant builder APIs.

Runtime methods

Method

Description

Version

Reference

Create a session

Create a new session. A session is used to send user input to a skill and receive responses. It also maintains the state of the conversation.

v2

cURL node Java python

Delete session

Deletes a session explicitly before it times out.

v2

cURL node Java python

Send user input to assistant (stateful)

Send user input to an assistant and receive a response, with conversation state (including context data) stored by AI assistant builder during the session.

v2

cURL node Java python

Send user input to assistant (stateless)

Send user input to an assistant and receive a response, with conversation state (including context data) managed by your application.

v2

cURL node Java python