---
title: "fetch the current user's own draft content at a path (any kind)"
method: GET
path: "/w/{workspace}/drafts/get_own/{kind}/{path}"
tags: ["draft"]
---

# fetch the current user's own draft content at a path (any kind)

`GET /w/{workspace}/drafts/get_own/{kind}/{path}`

## Path parameters

- `workspace` string, required
- `kind` 'script' | 'flow' | 'app' | 'raw_app' | 'resource' | 'variable' | 'trigger_schedule' | 'trigger_webhook' | 'trigger_default_email' | 'trigger_email' | 'trigger_http' | 'trigger_websocket' | 'trigger_postgres' | 'trigger_kafka' | 'trigger_nats' | 'trigger_mqtt' | 'trigger_amqp' | 'trigger_sqs' | 'trigger_gcp' | 'trigger_azure' | 'trigger_poll' | 'trigger_cli' | 'trigger_nextcloud' | 'trigger_google' | 'trigger_github' | 'data_pipeline', required — Closed set of item kinds a user can autosave as a draft. Mirrors the Postgres `DRAFT_KIND` enum and the backend `UserDraftItemKind`.
- `path` string, required

## Response `200`

the user's draft content, or null when none exists

- object, nullable
  - `value` unknown, required
  - `created_at` string, date-time, required

## Changes

> 176 revisions in range; 10 could not be searched.

- **2026-07-21** `f0a0103ed598` — 1 info
  - added the new enum value `trigger_amqp` to the `path` request parameter `kind`

[Change history](https://skmtc.dev/windmill/apis/windmill-api/changes/w/:workspace/drafts/get_own/:kind/:path/get.md)

---

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