> 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/global-indexer/indexer-apis/comparing-the-policy-changes-as-per-id.md).

# Comparing the policy changes as per ID

<mark style="color:green;">`POST`</mark> `/analytics/compare/policy/original/{messageId}`

Comparing the Policy changes as per ID

**Headers**

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

**Body**

| Name        | Type   | Description |
| ----------- | ------ | ----------- |
| messageId\* | string | Message ID  |

**Response**

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

```json5
description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComparePoliciesDTO'
```

{% endtab %}

{% tab title="500" %}

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

{% endtab %}
{% endtabs %}
