> For the complete documentation index, see [llms.txt](https://help.aximo.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aximo.autify.com/api-reference-ja/triggering-test-plans.md).

# Triggering Test Plans

Run all cases in a test plan with a single call.

```bash
# Run a plan
curl -X POST -H "x-api-key: $KEY" \
  https://aximo.autify.com/api/triggers/plans/PLAN_ID/run

# Run a plan with a specific model
curl -X POST -H "x-api-key: $KEY" -H "Content-Type: application/json" \
  https://aximo.autify.com/api/triggers/plans/PLAN_ID/run \
  -d '{"model": "sonnet"}'

# Run a plan with mobile config (applies to all mobile cases)
curl -X POST -H "x-api-key: $KEY" -H "Content-Type: application/json" \
  https://aximo.autify.com/api/triggers/plans/PLAN_ID/run \
  -d '{"model": "sonnet", "mobileConfig":{"deviceArn":"DEVICE_TOKEN","deviceName":"Google Pixel 7","uploadArn":"UPLOAD_TOKEN"}}'

# Run a plan one case at a time, overriding its stored Execution setting
curl -X POST -H "x-api-key: $KEY" -H "Content-Type: application/json" \
  https://aximo.autify.com/api/triggers/plans/PLAN_ID/run \
  -d '{"executionMode": "sequential"}'

# Poll plan run status
curl -H "x-api-key: $KEY" \
  https://aximo.autify.com/api/triggers/plans/PLAN_ID/runs/PLAN_RUN_ID
```

The trigger response echoes the effective `executionMode` (your override if given, otherwise the plan's stored setting), and the plan run response includes per-case status breakdowns.
