curl --request POST \
--url https://agent-studio.thena.ai/api/v1/mcp/agents/{agent_id}/servers/{server_id}/health-check \
--header 'x-api-key: <api-key>'{
"available_tools": 15,
"checked_at": "2023-01-01T00:00:00Z",
"mcp_server_id": "123e4567-e89b-12d3-a456-426614174000",
"response_time_ms": 150,
"status": "healthy"
}Perform a health check on an MCP server.
Args: agent_id: The ID of the agent server_id: The ID of the MCP server user_id: The user ID of the current user organization_id: The organization ID of the current user
Returns: Health check results
Raises: HTTPException: If server not found or access denied
curl --request POST \
--url https://agent-studio.thena.ai/api/v1/mcp/agents/{agent_id}/servers/{server_id}/health-check \
--header 'x-api-key: <api-key>'{
"available_tools": 15,
"checked_at": "2023-01-01T00:00:00Z",
"mcp_server_id": "123e4567-e89b-12d3-a456-426614174000",
"response_time_ms": 150,
"status": "healthy"
}Successful Response
Model for MCP server health check results.
ID of the MCP server
Health status: 'healthy', 'unhealthy', 'unreachable'
When the health check was performed
Response time in milliseconds
Number of tools available from the server
Last error message if health check failed