---
title: "Draft automation from natural language"
method: POST
path: "/v1/automations/assist/draft"
tags: ["Automations"]
---

# Draft automation from natural language

`POST /v1/automations/assist/draft`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/automations/assist/draft`
- Auth: HTTP bearer

## Request body

- object
  - `message` string, required
  - `agent_id` string, uuid
  - `timezone` string

## Response `200`

Reviewable automation draft

- AssistDraftResponse
  - `draft` object, required
  - `reply` string, required

## Other responses

- `401`: Authentication required or invalid

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/ae109b496830?raw)
