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

# Get workspace stats

GET `/partners/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 + Bearer access token

[Try this request](https://developers.getcount.com/tools/try-it?method=GET&path=%2Fpartners%2Fworkspace-stats)

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

#### 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 or invalid HMAC signature, expired timestamp, or invalid Bearer token. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-401)

`403` The credential does not have access to this workspace or resource. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-403)

`429` Rate limit exceeded (100 requests per minute per clientId). Retry after the Retry-After header. [Troubleshoot](https://developers.getcount.com/getting-started/errors#error-429)

GET `https://api.getcount.com/partners/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 ACCESS_TOKEN = process.env.COUNT_ACCESS_TOKEN;

const method = 'GET';
const signingPath = '/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}/partners/workspace-stats`, {
  method,
  headers: {
    'x-client-id': CLIENT_ID,
    'x-timestamp': timestamp,
    'x-signature': signature,
    Authorization: `Bearer ${ACCESS_TOKEN}`,
  },
});

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
      }
    }
  }
}
```
