Prerequisites
Grab your API key from Settings → API Keys in your TYAN workspace, then store it as a secret in your CI environment (TYAN_API_KEY). You’ll also need your flow’s ID (FLOW_ID), visible on the flow detail page.
GitHub Actions
Add the following job to your workflow file. It triggers a flow run, then polls the result every five seconds for up to one minute — passing or failing the job based on the outcome.TYAN_API_KEY and FLOW_ID under Settings → Secrets and variables → Actions in your GitHub repository.
GitLab CI
Add averify-flows job to your .gitlab-ci.yml. Set TYAN_API_KEY and FLOW_ID as CI/CD variables under Settings → CI/CD → Variables in your GitLab project.
Other CI Providers
The examples above use plaincurl and jq, so the same pattern works in any CI environment — CircleCI, Bitbucket Pipelines, Jenkins, or a plain shell script. Inject TYAN_API_KEY and FLOW_ID as environment variables and paste in the poll loop.
See the Flows API reference for the full list of request parameters, response fields, and supported status values.