---
title: "Update Draft"
method: POST
path: "/workflow/{slug}/update_draft"
tags: ["workflow"]
---

# Update Draft

`POST /workflow/{slug}/update_draft`

## Path parameters

- `slug` string, required

## Cookies

- `access_token` string, nullable

## Request body

- WorkflowWritable
  - `name` string, nullable
  - `parent_uuid` string, nullable
  - `notes` string, nullable
  - `starred` boolean, nullable
  - `public` boolean, nullable
  - `shared_with_rowan` boolean, nullable
  - `object_type` string, nullable
  - `object_data` object, nullable
  - `email_when_complete` boolean, nullable
  - `max_credits` integer, nullable
  - `webhook_url` string, nullable

## Response `200`

Successful Response

- Workflow
  - `name` string, nullable
  - `parent_uuid` string, nullable
  - `notes` string, nullable
  - `starred` boolean, nullable
  - `public` boolean, nullable
  - `shared_with_rowan` boolean, nullable
  - `object_type` string, required
  - `object_data` object, nullable
  - `email_when_complete` boolean, nullable
  - `max_credits` integer, nullable
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable
  - `started_at` string, date-time, nullable
  - `completed_at` string, date-time, nullable
  - `queued_at` string, date-time, nullable
  - `deleted_at` string, date-time, nullable
  - `uuid` string, required
  - `elapsed` number, nullable
  - `credits_charged` number, required
  - `object_status` integer, nullable
  - `object_logfile` string, required
  - `is_free` boolean
  - `user_uuid` string, nullable
  - `resubmitted_from_uuid` string, nullable
  - `submission_group_uuid` string, nullable
  - `run_by_username` string, nullable
  - `public_until` string, date-time, nullable
  - `compute_hardware` string, nullable
  - `retry_count` integer
  - `is_temporarily_public` boolean, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/rowansci/apis/eyrie.md) · [All operations](https://skmtc.dev/rowansci/apis/eyrie/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rowansci/eyrie/revisions/f786577eede6/schema)
