curl -X POST \ https://api.app.qodex.ai/api/v1/test_plans/{TEST_PLAN_ID}/run \ -H 'x-api-key:YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "secrets": { "secret1": "value1", "secret2": "value2" } }'
This returns a build_id in the response that you’ll use to check test status.
curl -H 'x-api-key:YOUR_API_KEY' \ https://api.app.qodex.ai/api/v1/test_plan_builds/{BUILD_ID}
This returns build status, pass/fail details, and execution logs.