aiva-actions/AIVA batch test run

Start an AIVA test batch via POST /v1/batches (see https://app.aiva.works/docs/api/batches-run-batch)

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 9, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: aiva-actions/run@ec33179aad4e5539591604408fc75edf912bea3d # v1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
apiKeyAIVA API key (store in a repository or organization secret)yes
labelsSemicolon-separated labels used to select tests for the batch (e.g. "smoke,regression"). Required unless batchId is provided.no""
batchIdRun a specific existing batch by its ID instead of selecting tests by labels. Mutually exclusive with labels. When set, only batchName may be overridden (maxNumberOfAgents, variable overrides and gatewayName are ignored).no""
batchNameCustom name of the test batchno""
maxNumberOfAgentsMaximum number of agents the batch can use for test execution. Defaults to 1. Ignored (and rejected) when batchId is provided.no""
globalVariableOverridesOverride for all variables in a test Batch.no""
variableOverridesPerTestOverride for variables in a test specified by test ID.no""
gatewayNameName of the gateway that is used by aiva-node during test.no""
apiUrlURL for starting a test batchnohttps://api.aiva.works/
reportFilePathFilepath where CTRF report should be savedno./batch-ctrf.json
artifactNameName of the uploaded artifact. Override when multiple invocations run in the same workflow to avoid name conflicts.nobatch-status
pollPeriodSecondsWait time between retrying API call to check if batch finishedno10
verboseSet to true when additional output should be loggednofalse
namedescription
batchIdID of the started test batch
batchUrlURL to the batch in the AIVA UI
success'true' if all tests passed, 'false' otherwise