---
title: "Run the current draft script as a test run"
method: POST
path: "/v1/tasks/{taskId}/automations/{automationId}/draft-script/run"
tags: ["Task Automations"]
---

# Run the current draft script as a test run

`POST /v1/tasks/{taskId}/automations/{automationId}/draft-script/run`

Run the current draft script as a test run in Betayum. Create, version, run, and inspect automated evidence collection workflows attached to compliance tasks.

## Path parameters

- `taskId` string, required
- `automationId` string, required

## Response `201`

---

[API](https://skmtc.net/om-network/apis/betayum-api.md) · [All operations](https://skmtc.net/om-network/apis/betayum-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/om-network/betayum-api/revisions/95679a9aa625/schema)
