Test Agent
Test an agent’s responses without sending real messages. Useful for validating prompt configuration and tool behavior before deployment. Use the same session_id across requests to maintain conversation context.
Authentication
X-API-Keystring
Your API key from [Dashboard → Settings → API Keys](https://dashboard.bookedin.ai/settings)
Path parameters
agent_id
Agent ID to test
Request
This endpoint expects an object.
message
The test message to send to the agent
channel
Channel to simulate. Determines which channel profile's configuration and tools are used.
session_id
Session ID for conversation continuity. Omit to start a new conversation, provide to continue an existing one.
Response
Agent response
response
The agent's generated response
session_id
Session ID for this conversation. Use in subsequent requests to maintain context.
conversation_history
Full conversation history for this session
tool_calls
Tools called by the agent during response generation
usage
Token usage statistics