---
title: "Count Endpoints"
method: GET
path: "/api/v1/stats/endpoint/count"
tags: ["Statistics"]
---

# Count Endpoints

`GET /api/v1/stats/endpoint/count`

Count the number of active and disabled endpoints in the environment.

## Query parameters

- `exclude_svix_play` boolean — Exclude endpoints that point to a play.svix.com url from the count

## Response `200`

- EndpointCountOut
  - `active` integer, required
  - `disabled` integer, required

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Validation Error
- `429` — Too Many Requests

---

[API](https://skmtc.net/svix/apis/svix-api.md) · [All operations](https://skmtc.net/svix/apis/svix-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/svix/svix-api/versions/16dbcc056c48/schema)
