API for triggering test cases

Are there any API s exposed to automate the triggering of the test scripts? The same way its done in CI/CD integrations from gitlab, jenkins etc?