---
title: "GET /classificationrules/{classificationRuleName}/versions"
method: GET
path: "/classificationrules/{classificationRuleName}/versions"
tags: ["ClassificationRules"]
---

# GET /classificationrules/{classificationRuleName}/versions

`GET /classificationrules/{classificationRuleName}/versions`

Lists the rule versions of a classification rule

## Path parameters

- `classificationRuleName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- ClassificationRuleList
  - `value` ClassificationRule[]
    - `id` string
    - `name` string
  - `nextLink` string
  - `count` integer

## Other responses

- `default` — An error response received from the Scanning Service

---

[API](https://skmtc.dev/azure/apis/purview-scanning.md) · [All operations](https://skmtc.dev/azure/apis/purview-scanning/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/purview-scanning/revisions/d9b5ef7ddd8a/schema)
