---
title: "Return the total count of the faceted search results"
method: POST
path: "/faceted-search/{resultClass}/count"
---

# Return the total count of the faceted search results

`POST /faceted-search/{resultClass}/count`

## Path parameters

- `resultClass` string, required

## Request body

- object
  - `constraints` object[], nullable

## Response `200`

The total count of the faceted search results

- object
  - `data` string
  - `sparqlQuery` string
  - `resultClass` string
  - `constraints` object[], nullable

## Changes

> 21 revisions in range; 1 could not be searched.

- **2021-11-10** `8601f1508402` — 1 breaking
  - the `data` response's property type/format changed from `integer`/`` to `string`/`` for status `200`
- **2020-04-30** `b907579d6a5c` — 1 breaking
  - the `data` response's property type/format changed from `string`/`` to `integer`/`` for status `200`

[Change history](https://skmtc.dev/semanticcomputing/apis/sampo-ui-api/changes/faceted-search/:resultClass/count/post.md)

---

[API](https://skmtc.dev/semanticcomputing/apis/sampo-ui-api.md) · [All operations](https://skmtc.dev/semanticcomputing/apis/sampo-ui-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/semanticcomputing/sampo-ui-api/revisions/7fb94a21eac7/schema)
