---
title: "Search glossaries entries count by filter"
method: POST
path: "/glossary-api/v3/accounts/{accountUid}/glossaries/search/count"
tags: ["Glossary API"]
---

# Search glossaries entries count by filter

`POST /glossary-api/v3/accounts/{accountUid}/glossaries/search/count`

## Request

- Base URL: `https://api.smartling.com`
- URL: `https://api.smartling.com/glossary-api/v3/accounts/{accountUid}/glossaries/search/count`
- Auth: HTTP bearer

Search glossaries entries count by filter endpoint.

## Path parameters

- `accountUid` string, required

## Request body

- GetGlossariesByFilterCommandPTO: Glossaries filter.
  - `query` string: Allow to search glossaries by query in scope of glossaryName or description properties. Also supports exact search by glossaryUid: if `query` is a UUID, it is matched as a glossaryUid and `glossaryState` is ignored (BOTH is used).
  - `glossaryState` 'ACTIVE' | 'ARCHIVED' | 'BOTH': Glossary state. ACTIVE is used if omitted. Ignored (BOTH is used) when `glossaryUids` is passed.
  - `targetLocaleId` string: Locale identifier. Either a 2-letter language code (`en`) or a language-region pair (`en-US`). The language part is always lowercase; the region part is always uppercase.
  - `glossaryUids` string[]: GlossaryUids filter.
  - `paging` PaginationCommandPTO: Pagination options. If `paging` is omitted, offset 0 and limit 500 are used. If `paging` is passed, set `limit` explicitly: an omitted `limit` returns a single item.
    - `offset` integer: Amount of items to skip. Negative values are treated as 0.
    - `limit` integer: Amount of items to fetch. Values below 1 are raised to 1, and values above 500 are reduced to 500.
  - `sorting` SortCommandPTO: Sorting options for the filter.
    - `field` 'glossaryName' | 'createdDate' | 'lastModifiedDate': Sorting field.
    - `direction` 'ASC' | 'DESC': Sorting direction.

## Response `200`

- GlossaryEntriesCountsSuccessResponsePTO
  - `response` object, required
    - `code` 'SUCCESS', required: Indicates whether the response was successful or what error has occurred.
    - `data` object
      - `totalCount` integer: total items amount
      - `items` GlossaryEntriesCountsResponsePTO[]
        - `glossaryUid` string: Glossary uid.
        - `entriesCount` integer: Glossary entries amount.
        - `blocklistsCount` integer: Attached blocklists amount.

## Other responses

- `400`: Provided request parameters are invalid.
- `401`: Provided credentials are not valid.
- `403`: Access denied.
- `429`: Too many simultaneous API requests.
- `500`: Unexpected error.

## Changes

- **2026-10-26** `0da6569bfcb7`: 2 warning, 1 info
  - removed the optional property `items` from the response with the `200` status
  - removed the optional property `totalCount` from the response with the `200` status
  - added the required property `response` to the response with the `200` status
- **2026-10-17** `2cd7a8215799`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/changes/glossary-api/v3/accounts/:accountUid/glossaries/search/count/post.md)

---

[API](https://skmtc.dev/smartling/apis/smartling-rest-api-reference.md) - [All operations](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/smartling/apis/smartling-rest-api-reference/revisions/e63066e7f5e9?raw)
