---
title: "Count pending work items"
method: POST
path: "/work-center-service/work-items/count"
tags: ["Work Center Service"]
---

# Count pending work items

`POST /work-center-service/work-items/count`

## Request

- Base URL: `https://example.itential.io`
- URL: `https://example.itential.io/work-center-service/work-items/count`
- Auth: none declared

Counts pending work items.

## Request body

- object
  - `filters` WorkCenterServiceWorkItemsCountPostRequestBodyContentApplicationJsonSchemaFiltersItems[]: Filter criteria. Multiple filters are ANDed together.
    - `field` 'name' | 'summary' | 'owner' | 'createdAt' | 'executionStartTime' | 'triggerType' | 'triggerLabel' | 'executionName' | 'executionDescription', required: The field name to filter on.
    - `operator` 'contains' | 'equals' | 'in' | 'before' | 'after', required: The filter operator.
    - `value` string, required: The filter value. Can be a string, array of strings, or null.

## Response `200`

Count returned successfully

- WorkCenterServiceCountWorkItemsResponse200
  - `count` number, double, required: Number of pending work items matching the given filters

## Other responses

- `500`: Error response from API

## Changes

- **2026-10-31** `2095cc90e583`: 2 info
  - api tag `Work Center Service` added
  - api tag `workCenterService` removed

[Operation history](https://skmtc.dev/itential/apis/itential-2/changes/work-center-service/work-items/count/post.md)

---

[API](https://skmtc.dev/itential/apis/itential-2.md) - [All operations](https://skmtc.dev/itential/apis/itential-2/llms.txt) - [OpenAPI document](https://skmtc.dev/itential/apis/itential-2/revisions/2095cc90e583?raw)
