Chat → Send Message
AI-generatedSummary
Send a user message to an Agent700 chat agent via the API, optionally specifying an Agent ID, and receive the agent's response.
Inputs
- Agent ID — Optionally specify the Agent ID to send the message to.
- Message (required) — The user message text to send to the agent; this will be sent as a single user role turn in the messages array.
- Simplify — Choose whether to return a simplified response including key fields like response text and error info, or the full raw API response.
Output shape
a JSON object per input item containing the agent's response or error details
If 'Simplify' is true, output includes response, finish_reason, scrubbed_message, error, prompt_tokens, and completion_tokens (if present). Otherwise, outputs the raw API response data. Errors per item are returned if 'Continue On Fail' is enabled; otherwise, errors throw.