---
title: "Get workspace stats · Workspace Stats · Practice Manager API · COUNT Partner API"
description: "Returns an aggregated business snapshot for the workspace. GET /firm-partners/workspace/workspace-stats"
canonical: "https://developers.getcount.com/practice-manager/reference/workspace-stats/get-workspace-stats"
source: "https://developers.getcount.com/practice-manager/reference/workspace-stats/get-workspace-stats"
---
[Workspace Stats](https://developers.getcount.com/practice-manager/reference/workspace-stats) / Get workspace stats

# Get workspace stats

GET `/firm-partners/workspace/workspace-stats`

Returns an aggregated business snapshot for the workspace.

Computes cash, profitability, receivables, payables, tax obligations, and connection health. Omit include to return all blocks.

HMAC signature only

[Reports API](https://developers.getcount.com/practice-manager/reference/reports) [Invoices API](https://developers.getcount.com/practice-manager/reference/invoices) [Transactions API](https://developers.getcount.com/practice-manager/reference/transactions)

#### Headers

`count-workspace-id` uuid required

UUID of the client workspace to act on. It must be one of your firm's client workspaces (or the firm's own workspace) and within the API key's client workspaces.

#### Query parameters

`include` string optional

Comma-separated blocks to compute: workspace, cash, profitability, receivables, payables, taxObligations, connections. Omit for all blocks.

#### Responses

`200` Workspace stats retrieved successfully.

`400` Workspace context missing or invalid.

`401` Missing signing headers, an invalid HMAC signature, or a timestamp more than 5 minutes off. [Troubleshoot](https://developers.getcount.com/practice-manager/authentication#errors)

`403` The key is inactive or its scope does not allow this request, the workspace is not managed by your firm or is outside the key's client workspaces, the workspace has no active subscription, or it is portal-only and the route needs bookkeeping. [Troubleshoot](https://developers.getcount.com/practice-manager/authentication#errors)

`404` No workspace exists with the `count-workspace-id` UUID.

`429` Rate limit exceeded (100 requests per minute per firm user of each app, or 10,000 per minute per app). [Troubleshoot](https://developers.getcount.com/practice-manager/authentication#errors)

GET `https://api.getcount.com/firm-partners/workspace/workspace-stats`

Request

```javascript
import crypto from 'node:crypto';

const BASE_URL = 'https://api.getcount.com';
const CLIENT_ID = process.env.COUNT_CLIENT_ID;
const CLIENT_SECRET = process.env.COUNT_CLIENT_SECRET;

const method = 'GET';
const signingPath = '/workspace/workspace-stats';
const timestamp = Math.floor(Date.now() / 1000).toString();
const bodyString = '';

const bodyHash = '';
const baseString = `${method}:${signingPath}:${timestamp}:${bodyHash}`;
const signature = crypto.createHmac('sha256', CLIENT_SECRET).update(baseString).digest('hex');

const response = await fetch(`${BASE_URL}/firm-partners/workspace/workspace-stats`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    'count-workspace-id': '5e4d3c2b-1a09-4f8e-8d7c-6b5a49382716',
  },
});

console.log(await response.json());
```

Response · 200

```json
{
  "status": "success",
  "message": "Success on retrieving workspace stats",
  "data": {
    "workspaceStats": {
      "workspace": {
        "uuid": "ws-uuid-example-0000-4000-8000-000000000001",
        "name": "Acme Workspace",
        "currency": "USD",
        "country": "US",
        "industry": "Professional Services",
        "fiscalYearMonth": 1,
        "dateFormat": "MM/dd/yyyy",
        "cutoverDate": "2025-01-01",
        "reportType": "accrual",
        "bookClosedThroughDate": null
      },
      "cash": {
        "currentCash": 42500.75,
        "currentCashAsOf": "2026-06-21T08:00:00.000Z",
        "bankAndCashAssetsTotal": 45000,
        "creditCardLiabilitiesTotal": 2499.25,
        "accountSourceCounts": {
          "provider": 2,
          "reconciliation": 1,
          "book": 0,
          "missing": 0
        },
        "staleProviderBalanceAccountCount": 0
      },
      "profitability": {
        "currentMonth": {
          "startDate": "2026-06-01",
          "endDate": "2026-06-21",
          "revenue": 18500,
          "expenses": 11200,
          "netProfit": 7300
        },
        "rollingThreeMonths": {
          "averageMonthlyRevenue": 16000,
          "averageMonthlyExpenses": 10500,
          "averageMonthlyNetProfit": 5500,
          "netBurn": 5500,
          "runwayMonths": 7.7
        }
      },
      "receivables": {
        "totalOutstanding": 1085,
        "currentDueTotal": 1085,
        "overdueTotal": 0,
        "overdueCount": 0,
        "agingBuckets": {
          "notYetOverdue": 1085,
          "lessThanOrEqualTo30": 0,
          "between31And60": 0,
          "between61And90": 0,
          "moreThan90": 0
        },
        "topCustomersOutstanding": [
          {
            "uuid": "dfa3219e-6af8-4c53-997a-037534f63a35",
            "name": "Acme Corporation",
            "outstanding": 1085
          }
        ],
        "daysSalesOutstanding": 12
      },
      "payables": {
        "totalOutstanding": 3200,
        "outstandingBills": 3200,
        "dueInNext7Days": 800,
        "dueInNext30Days": 2400,
        "daysPayableOutstanding": 18
      },
      "taxObligations": {
        "isTaxRegistered": false,
        "taxRegime": null,
        "totalObligation": 0,
        "hasOverdueOrUpcomingFiling": false,
        "obligations": [],
        "lastFiledPeriodEnd": null
      },
      "connections": {
        "totalCount": 2,
        "activeCount": 2,
        "disconnectedCount": 0,
        "revokedCount": 0,
        "accountsAwaitingReauthCount": 0,
        "staleConnectionCount24h": 0,
        "oldestLastSyncAt": "2026-06-21T06:30:00.000Z",
        "byProvider": {
          "plaid": 1,
          "akahu": 1
        }
      },
      "asOf": {
        "computedAt": "2026-06-21T12:00:00.000Z",
        "cacheTtlSeconds": 300,
        "cashAsOf": "2026-06-21T08:00:00.000Z",
        "currency": "USD",
        "fromCache": false
      }
    }
  }
}
```
