---
title: "Create Automation"
method: POST
path: "/api/automations"
---

# Create Automation

`POST /api/automations`

Create a new automation (without running it).

## Request body

- CreateAutomationRequest
  - `name` string, required
  - `prompt` string, required
  - `num_creatives` integer
  - `schedule` string, nullable
  - `step_config` object, nullable
  - `asset_ids` string[], nullable
  - `character_ids` string[], nullable
  - `status` string, nullable
  - `source` string, nullable

## Response `200`

Successful Response

- AutomationDetailResponse
  - `id` string, required
  - `organizationId` string, nullable
  - `name` string, nullable
  - `prompt` string, nullable
  - `num_creatives` integer, nullable
  - `status` string, nullable
  - `schedule` string, nullable
  - `steps` unknown[], nullable
    - unknown
  - `step_config` object, nullable
  - `created_at` string, nullable
  - `updated_at` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/latted/apis/motion-graphics-designer-api.md) · [All operations](https://skmtc.dev/latted/apis/motion-graphics-designer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latted/motion-graphics-designer-api/revisions/36d149b525df/schema)
