---
title: "Get the number of issues"
method: GET
path: "/issues/count"
tags: ["Issues"]
---

# Get the number of issues

`GET /issues/count`

## Query parameters

- `id` union — Filter by Issue IDs
  - string
  - string[]
- `issue_trigger_id` union — Filter by Issue trigger IDs
  - string — Issue trigger ID
  - string[]
- `type` union — Filter by Issue types
  - 'delivery' | 'transformation' | 'backpressure' | 'request' — Issue type
  - string[]
- `status` union — Filter by Issue statuses
  - 'OPENED' | 'IGNORED' | 'ACKNOWLEDGED' | 'RESOLVED' — Issue status
  - string[]
- `merged_with` union — Filter by Merged Issue IDs
  - string — Issue ID
  - string[]
- `aggregation_keys` object — Filter by aggregation keys
  - `webhook_id` union
    - string
    - string[]
  - `response_status` union
    - number, float
    - number[]
  - `error_code` union
    - 'BAD_RESPONSE' | 'CANCELLED' | 'TIMEOUT' | 'NOT_FOUND' | 'CANCELLED_PAST_RETENTION' | 'CONNECTION_REFUSED' | 'CONNECTION_RESET' | 'MISSING_URL' | 'CLI' | 'CLI_UNAVAILABLE' | 'SELF_SIGNED_CERT' | 'ERR_TLS_CERT_ALTNAME_INVALID' | 'ERR_SSL_WRONG_VERSION_NUMBER' | 'NETWORK_ERROR' | 'NETWORK_REQUEST_CANCELED' | 'NETWORK_UNREACHABLE' | 'TOO_MANY_REDIRECTS' | 'INVALID_CHARACTER' | 'INVALID_URL' | 'SSL_ERROR_CA_UNKNOWN' | 'DATA_ARCHIVED' | 'SSL_CERT_EXPIRED' | 'BULK_RETRY_CANCELLED' | 'DNS_LOOKUP_FAILED' | 'HOST_UNREACHABLE' | 'INTERNAL_ERROR' | 'PROTOCOL_ERROR' | 'PAYLOAD_MISSING' | 'UNABLE_TO_GET_ISSUER_CERT' | 'SOCKET_CLOSED' | 'OAUTH2_HANDSHAKE_FAILED' | 'Z_DATA_ERROR' | 'UNKNOWN' — Error code of the delivery attempt
    - AttemptErrorCodes[]
  - `transformation_id` union
    - string
    - string[]
  - `log_level` union
    - 'debug' | 'info' | 'warn' | 'error' | 'fatal'
    - string[]
  - `destination_id` union
    - string
    - string[]
  - `delay` union
    - number, float
    - number[]
  - `source_id` union
    - string
    - string[]
  - `rejection_cause` union
    - 'SOURCE_DISABLED' | 'NO_CONNECTION' | 'VERIFICATION_FAILED' | 'UNSUPPORTED_HTTP_METHOD' | 'UNSUPPORTED_CONTENT_TYPE' | 'UNPARSABLE_JSON' | 'PAYLOAD_TOO_LARGE' | 'INGESTION_FATAL' | 'UNKNOWN'
    - RequestRejectionCause[]
- `created_at` union — Filter by created dates
  - string, date-time, nullable
  - Operators
    - `gt` string, date-time, nullable
    - `gte` string, date-time, nullable
    - `le` string, date-time, nullable
    - `lte` string, date-time, nullable
    - `any` boolean
    - `all` boolean
- `first_seen_at` union — Filter by first seen dates
  - string, date-time, nullable
  - Operators
    - `gt` string, date-time, nullable
    - `gte` string, date-time, nullable
    - `le` string, date-time, nullable
    - `lte` string, date-time, nullable
    - `any` boolean
    - `all` boolean
- `last_seen_at` union — Filter by last seen dates
  - string, date-time, nullable
  - Operators
    - `gt` string, date-time, nullable
    - `gte` string, date-time, nullable
    - `le` string, date-time, nullable
    - `lte` string, date-time, nullable
    - `any` boolean
    - `all` boolean
- `dismissed_at` union — Filter by dismissed dates
  - string, date-time, nullable
  - Operators
    - `gt` string, date-time, nullable
    - `gte` string, date-time, nullable
    - `le` string, date-time, nullable
    - `lte` string, date-time, nullable
    - `any` boolean
    - `all` boolean
- `order_by` union — Sort key(s)
  - 'created_at' | 'first_seen_at' | 'last_seen_at' | 'opened_at' | 'status'
  - string[]
- `dir` union — Sort direction(s)
  - 'asc' | 'desc'
  - string[]
- `limit` integer — Result set size
- `next` string — The ID to provide in the query to get the next set of results
- `prev` string — The ID to provide in the query to get the previous set of results

## Response `200`

Issue count

- IssueCount
  - `count` integer, required — Number of issues

## Other responses

- `422` — Unprocessable Entity

---

[API](https://skmtc.dev/hookdeck/apis/hookdeck-admin-rest-api.md) · [All operations](https://skmtc.dev/hookdeck/apis/hookdeck-admin-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hookdeck/hookdeck-admin-rest-api/revisions/091808eac7fa/schema)
