---
title: "Create"
method: POST
path: "/landscapes/{landscapeId}/versions/{versionId}/adrs"
tags: ["ADRs"]
---

# Create

`POST /landscapes/{landscapeId}/versions/{versionId}/adrs`

## Path parameters

- `landscapeId` string, id, required
- `versionId` union, required
  - string, id
  - 'latest'

## Request body

- ADRRequired
  - `commit` number
  - `content` string — The markdown content of the ADR
  - `description` string — The description of the ADR
  - `name` string, required — The name of the ADR
  - `relatedItems` object
  - `status` 'accepted' | 'draft' | 'rejected', required
  - `statusChanges` ADRStatusChange[]
    - `createdAt` string, date-time, required
    - `createdBy` 'user' | 'api-key' | 'notification-key' | 'service', required
    - `createdById` string, required
    - `status` 'accepted' | 'draft' | 'rejected', required
  - `handleId` string, handle-id — The handle id of the ADR

## Response `200`

OK

- object
  - `adr` ADR, required
    - `commit` number, required
    - `content` string — The markdown content of the ADR
    - `description` string — The description of the ADR
    - `name` string, required — The name of the ADR
    - `relatedItems` object
    - `status` 'accepted' | 'draft' | 'rejected', required
    - `statusChanges` ADRStatusChange[]
      - `createdAt` string, date-time, required
      - `createdBy` 'user' | 'api-key' | 'notification-key' | 'service', required
      - `createdById` string, required
      - `status` 'accepted' | 'draft' | 'rejected', required
    - `handleId` string, handle-id, required — The handle id of the ADR
    - `createdAt` string, date-time, required
    - `createdBy` 'user' | 'api-key' | 'notification-key' | 'service', required
    - `createdById` string, required
    - `deletedAt` string, date-time
    - `deletedBy` 'user' | 'api-key' | 'notification-key' | 'service'
    - `deletedById` string
    - `id` string, id, required — The id of the ADR
    - `landscapeId` string, id, required — The id of the landscape that the ADR belongs to
    - `latestEntityId` string, id
    - `number` number, required — The incremental number of the ADR
    - `updatedAt` string, date-time, required
    - `updatedBy` 'user' | 'api-key' | 'notification-key' | 'service', required
    - `updatedById` string, required
    - `version` number, required
    - `versionId` string, id, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `429` — Resource Exhausted
- `500` — Internal Server
- `503` — Service Unavailable

---

[API](https://skmtc.net/icepanel/apis/icepanel-api.md) · [All operations](https://skmtc.net/icepanel/apis/icepanel-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/icepanel/icepanel-api/versions/e9ab2ff0f435/schema)
