---
title: "Test Script"
method: POST
path: "/api/actions/{action_id}/test"
tags: ["actions"]
---

# Test Script

`POST /api/actions/{action_id}/test`

Test-run a script action in a sandbox.

## Path parameters

- `action_id` string, required

## Request body

- TestScriptRequest — Request to test-run a script.
  - `inputs` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/deeptrace/apis/fastapi.md) · [All operations](https://skmtc.net/deeptrace/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeptrace/fastapi/versions/2e2a6de8aeda/schema)
