agentMessageCreate
Send a message to an agent.
Possible errors:
- AGENT_NOT_FOUND_ERROR: Agent with specified ID does not exist
- AGENT_INACTIVE_ERROR: Agent is not currently active
- AGENT_TYPE_ERROR: Provided type is not in the agent's configured types
- AGENT_MESSAGE_CREATE_ERROR: Failed to send message due to webhook or system issues
- AGENT_MULTI_TURN_ERROR: Agent is not multi turn and cannot continue conversation
- AGENT_WEBHOOK_REQUEST_ERROR: Webhook request failed
- AGENT_WEBHOOK_TIMEOUT_ERROR: Webhook request timed out
- AGENT_WEBHOOK_RESPONSE_ERROR: Invalid response from webhook AUTH: Role=[configuration.OWNER,configuration.EDITOR] OR ('user is authenticated')
agentMessageCreate(
input: AgentMessageCreateInput!
): AgentMessage!
Arguments
agentMessageCreate.input ● AgentMessageCreateInput! non-null input
Message creation data
Type
AgentMessage object
Represents a message exchange within an agent conversation.