---
title: "Count Ticket Fields"
method: GET
path: "/api/v2/ticket_fields/count"
tags: ["Ticket Fields"]
---

# Count Ticket Fields

`GET /api/v2/ticket_fields/count`

Returns an approximate count of system and custom ticket fields in the account. If the count exceeds 100,000, the count will return a cached result.  This cached result will update every 24 hours.

The `count[refreshed_at]` property is a timestamp that indicates when the count was last updated.

**Note**: When the count exceeds 100,000, `count[refreshed_at]` may occasionally be null.
This indicates that the count is being updated in the background, and `count[value]` is limited to 100,000 until the update is complete.

#### Allowed For
* Agents

## Response `200`

Count of ticket fields

- TicketFieldCountResponse
  - `count` object
    - `refreshed_at` string, date-time
    - `value` integer

---

[API](https://skmtc.dev/botbrains-io/apis/support-api.md) · [All operations](https://skmtc.dev/botbrains-io/apis/support-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/botbrains-io/support-api/revisions/d53eac07ba68/schema)
