---
title: "Attach Project To Automation Run"
method: POST
path: "/api/automations/{automation_id}/attach-project"
---

# Attach Project To Automation Run

`POST /api/automations/{automation_id}/attach-project`

Create an automation_run for an already-started project and link them.

## Path parameters

- `automation_id` string, required

## Request body

- AttachAutomationProjectRequest
  - `project_id` string, required
  - `agent_run_id` string, nullable

## Response `200`

Successful Response

- AttachAutomationProjectResponse
  - `automation_run_id` string, required
  - `status` string, required
  - `attached_agent_run_id` 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)
