---
title: "Get All BlocklistItems By blocklistName"
method: GET
path: "/text/blocklists/{blocklistName}/blocklistItems"
---

# Get All BlocklistItems By blocklistName

`GET /text/blocklists/{blocklistName}/blocklistItems`

Get all blocklistItems in a text blocklist.

## Path parameters

- `blocklistName` string, required

## Query parameters

- `api-version` string, required
- `top` integer
- `skip` integer
- `maxpagesize` integer

## Response `200`

The request has succeeded.

- PagedTextBlocklistItem — Paged collection of TextBlocklistItem items
  - `value` TextBlocklistItem[], required — The TextBlocklistItem items on this page
    - `blocklistItemId` string, required — The service will generate a BlocklistItemId, which will be a UUID.
    - `description` string — BlocklistItem description.
    - `text` string, required — BlocklistItem content. The length is counted using Unicode code point.
    - `isRegex` boolean — An optional properties indicating whether this item is to be matched as a regular expression.
  - `nextLink` string, uri — The link to the next page of items

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-contentsafety.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-contentsafety/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-contentsafety/revisions/d4969093cba0/schema)
