---
title: "Get entity counts for a workspace"
method: GET
path: "/organizations/{id}/entityCounts"
tags: ["Organization"]
---

# Get entity counts for a workspace

`GET /organizations/{id}/entityCounts`

Returns the count of entities in the workspace

## Path parameters

- `id` string, required

## Response `200`

Entity counts for the workspace

- EntityCounts
  - `test_counts` TestCounts
    - `test_count` integer — The total number of tests in the workspace
    - `default_test_count` integer — Deprecated: use test_count instead
    - `non_default_test_count` integer — Deprecated: use test_count instead
  - `flow_counts` FlowCounts
    - `reusable_flow_count` integer — The number of reusable flows in the workspace

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `404` — Organization not found
- `default` — Unknown error

---

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