---
title: "Get New Agent Draft"
method: GET
path: "/v3/agent-editor/drafts/{draft_id}"
tags: ["agent-editor"]
---

# Get New Agent Draft

`GET /v3/agent-editor/drafts/{draft_id}`

## Request

- Base URL: `https://api.mentium.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mentium.io/v3/agent-editor/drafts/{draft_id}`
- Auth: HTTP bearer

Return a new agent's draft (one with no live agent yet), to fill the New Agent form.

## Path parameters

- `draft_id` string, uuid, required

## Headers

- `mentium-workspace-id` string, nullable

## Response `200`

Successful Response

- ExistingDraftResponse: Response body for the existing-draft lookup endpoint.
  - `draft_id` string, required
  - `yaml_content` string: Current agent.yaml content

## Other responses

- `422`: Validation Error

---

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