Agents
Test an agent
Run the agent's prompt, model and knowledge base against a message and return the reply instead of delivering it. Writes nothing and charges nothing, so it is safe to call repeatedly while iterating on a prompt.
Note that a dry run never executes tools — running them would cause real side effects. Live conversations on every channel do call them. When the agent has enabled tools, that gap is reported in warnings rather than silently producing an answer that looks like a tool call happened.
post/v1/agents/{agentId}/test
Path parameters
agentIdstring required
Agent ID.
Request body
Example request
{
"message": "Where is order ORD-12345?"
}Response
The agent's reply.