Skip to main content

AgentMessageCreateInput

Input data for sending a message to an agent.

Continues a multi-turn conversation by sending additional request payloads to the agent webhook with the conversation context.

input AgentMessageCreateInput {
agentId: ID!
requestMessage: String!
requestMetadata: JSON
type: String!
conversationId: ID!
}

Fields

AgentMessageCreateInput.agentId ● ID! non-null scalar

Unique identifier of the agent handling the conversation.

AgentMessageCreateInput.requestMessage ● String! non-null scalar

Message to send to the agent via webhook in a field named requestMessage.

AgentMessageCreateInput.requestMetadata ● JSON scalar

Metadata to send to the agent via webhook in a field named requestMetadata

AgentMessageCreateInput.type ● String! non-null scalar

Type of interaction. Must match one of the agent's configured types.

AgentMessageCreateInput.conversationId ● ID! non-null scalar

Conversation ID. Sent in webhook request in a field named conversationId.

Member Of

agentMessageCreate mutation