Using the REST-API /v1/maxscale/query_classifier/classify?sql=... the provided statement is sent to MaxScale for classification.