> For the complete documentation index, see [llms.txt](https://dev.guardian.hedera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.guardian.hedera.com/developer-tools-and-resources/api-reference/apis-related-to-savepoints/creates-a-new-savepoint-for-the-policy-dry-run-only-..md).

# Creates a new savepoint for the policy (Dry Run only).

<mark style="color:green;">`POST`</mark> `/policies/{policyId}/savepoints`

Creates a new savepoint for the policy (Dry Run only).

**Headers**

| Name          | Value              |
| ------------- | ------------------ |
| Content-Type  | `application/json` |
| Authorization | `Bearer <token>`   |

**Body**

| Name          | Type   | Description           |
| ------------- | ------ | --------------------- |
| policyId      | string | Policy Identifier     |
| name          | string | name of the savepoint |
| savepointPath | string | Path of the savepoint |

**Response**

{% tabs %}
{% tab title="200" %}

```json5
{
  description: Successful operation.
}
```

{% endtab %}

{% tab title="401" %}

```json5
{
  description: Unauthorized.
}
```

{% endtab %}

{% tab title="403" %}

```json5
{
 description: Forbidden.
}
```

{% endtab %}

{% tab title="500" %}

```json5
{
description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerErrorDTO'
  }
```

{% endtab %}
{% endtabs %}
