---
title: "Get a Spec's draft"
method: GET
path: "/v1/specs/{id}/draft"
tags: ["Specs"]
---

# Get a Spec's draft

`GET /v1/specs/{id}/draft`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/specs/{id}/draft`
- Auth: HTTP bearer

The editable draft: the full Spec document, its `revision` (send it
back on `PUT`), the published version and whether the draft has
unpublished changes. Requires `specs:read`.

## Path parameters

- `id` string, uuid, required

## Response `200`

The draft.

- SpecDraft
  - `spec_id` string, uuid
  - `name` string
  - `description` string, nullable
  - `schema_id` string, uuid, nullable: The schema the Spec runs on; null until first published.
  - `revision` integer, nullable: Send it back on PUT /v1/specs/{id}/draft.
  - `updated_at` string, date-time, nullable
  - `published_version` integer, nullable
  - `has_unpublished_changes` boolean
  - `doc` object, nullable: The full Spec document.
  - `links` object

## Other responses

- `401`: Missing or invalid API key.
- `404`: The requested resource was not found.

## Changes

- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/specs/:id/draft/get.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
