Skip to main content

AgentMessage

Represents a message exchange within an agent conversation.

type AgentMessage {
conversationId: ID!
responseMessage: String!
responseMetadata: JSON
}

Fields​

AgentMessage.conversationId ● ID! non-null scalar​

ID. Webhook response must contain a non blank field called conversationId.

AgentMessage.responseMessage ● String! non-null scalar​

Response message from the agent. Webhook response must contain a non blank field called responseMessage.

AgentMessage.responseMetadata ● JSON scalar​

Metadata associated with the response message. Webhook response can contain a field called responseMetadata.

Returned By​

agentMessageCreate mutation

Member Of​

AgentConversation object