GET
/
generativeagent
/
v1
/
state

Authorizations

asapp-api-id
string
headerrequired
asapp-api-secret
string
headerrequired

Query Parameters

criteria
object

Search criteria

Response

200 - application/json
state
enum<string>

The last status of the conversation:

  • ready - Ready to respond to requests
  • processing - The model is actively processing the conversation
  • waitingForConfirmation - The model is expecting an explicit confirmation on the next message
  • waitingForAuth - The model is waiting for the user to login before proceeding
  • transferredToAgent - 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