---
title: "Test an automation draft"
method: POST
path: "/api/v1/automations/test"
tags: ["Automations"]
---

# Test an automation draft

`POST /api/v1/automations/test`

## Request body

- object
  - `accessToken` string
  - `userId` string
  - `prompt` string
  - `automationId` string

## Response `200`

Successful response. Stable response schemas are documented in workflow guides when available.

- unknown

## Other responses

- `400` — Invalid request.
- `401` — Missing or invalid authentication.
- `500` — Unexpected server error.

---

[API](https://skmtc.dev/layernorm/apis/overlay-web-api.md) · [All operations](https://skmtc.dev/layernorm/apis/overlay-web-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/layernorm/overlay-web-api/revisions/a64546f5bde3/schema)
