Create a new tool router session
Creates a new session for the tool router lab feature. This endpoint initializes a new session with specified toolkits and their authentication configurations. The session provides an isolated environment for testing and managing tool routing logic with scoped MCP server access.
Headers
x-api-key
Request
This endpoint expects an object.
user_id
Unique user identifier for the session owner
config
Session configuration including enabled toolkits and their auth configs
Response
Session successfully created. Returns the session ID and MCP server URL for the created session.
session_id
Generated session identifier
chat_session_mcp_url
MCP server endpoint URL for this specific session