{ "state": "ready", "lastGenerativeAgentMessageId": "01HWXSGMT91HCS18BV0CRGEKY8", "currentTaskName": "PaymentDetails", "inputVariables": { "input-context": "Customer chatted in to check the details of their last payment.", "last-customer-purchase": "2024-05-07" }}
Generative Agent
Get GenerativeAgent state
This API provides the current state of the generative agent for a given conversation.
{ "state": "ready", "lastGenerativeAgentMessageId": "01HWXSGMT91HCS18BV0CRGEKY8", "currentTaskName": "PaymentDetails", "inputVariables": { "input-context": "Customer chatted in to check the details of their last payment.", "last-customer-purchase": "2024-05-07" }}