---
title: "Draft Policy"
method: POST
path: "/api/v1/simulation/attempts/{attempt_id}/diagnosis/draft-policy"
tags: ["simulation"]
---

# Draft Policy

`POST /api/v1/simulation/attempts/{attempt_id}/diagnosis/draft-policy`

## Request

- Base URL: `https://cp.xenovia.io` (the document declares no server; this is the origin it was published from)
- URL: `https://cp.xenovia.io/api/v1/simulation/attempts/{attempt_id}/diagnosis/draft-policy`
- Auth: none declared

A disabled policy for the agent from the diagnosis's suggestion.

## Path parameters

- `attempt_id` string, uuid, required

## Headers

- `Authorization` string, nullable
- `X-Request-ID` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-08** `a141cb4fdc6a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/xenovia/apis/controlplane/changes/api/v1/simulation/attempts/:attempt_id/diagnosis/draft-policy/post.md)

---

[API](https://skmtc.dev/xenovia/apis/controlplane.md) - [All operations](https://skmtc.dev/xenovia/apis/controlplane/llms.txt) - [OpenAPI document](https://skmtc.dev/xenovia/apis/controlplane/revisions/3e25bef24f8f?raw)
