GenerativeAgent
Get GenerativeAgent state
This API provides the current state of the generative agent for a given conversation.
GET
/
generativeagent
/
v1
/
state
Authorizations
asapp-api-id
string
headerrequiredasapp-api-secret
string
headerrequiredQuery Parameters
criteria
object
Search criteria
Response
200 - application/json
state
enum<string>
The last status of the conversation:
ready
- Ready to respond to requestsprocessing
- The model is actively processing the conversationwaitingForConfirmation
- The model is expecting an explicit confirmation on the next messagewaitingForAuth
- The model is waiting for the user to login before proceedingtransferredToAgent
- The model is no longer able to provide meaningful responses and has requested the conversation be transferred to a human agent
Available options:
ready
, processing
, waitingForConfirmation
, waitingForAuth
, transferredToAgent
lastGenerativeAgentMessageId
string
ULID identifier of the last asynchronous response that was sent to the customer
currentTaskName
string
Current task TaskBot is executing
inputVariables
object
Last input variables