> 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/triggering-existing-test-cases.md).

# Triggering Existing Test Cases

If you've created test cases in the Aximo dashboard, trigger them by ID. The case's stored prompt, platform, and configuration are used automatically.

```bash
# Run a web test case
curl -X POST -H "x-api-key: $KEY" \
  https://aximo.autify.com/api/triggers/cases/CASE_ID/run

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

# Run a mobile test case (override device/app)
curl -X POST -H "x-api-key: $KEY" -H "Content-Type: application/json" \
  https://aximo.autify.com/api/triggers/cases/CASE_ID/run \
  -d '{"model": "sonnet", "deviceArn":"DEVICE_TOKEN","deviceName":"Google Pixel 7","uploadArn":"UPLOAD_TOKEN"}'

# Poll case session status
curl -H "x-api-key: $KEY" \
  https://aximo.autify.com/api/triggers/cases/CASE_ID/sessions/SESSION_ID
```

Test cases must have **API access enabled** in their settings.
