> ## Documentation Index
> Fetch the complete documentation index at: https://docs.foxreach.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Workspace Overview

> Retrieve workspace-wide analytics including accounts, campaigns, leads, and engagement metrics.

## Response

<ResponseField name="data" type="object">
  <Expandable title="Overview stats">
    <ResponseField name="totalAccounts" type="integer">Total email accounts connected.</ResponseField>
    <ResponseField name="activeAccounts" type="integer">Email accounts currently active.</ResponseField>
    <ResponseField name="totalCampaigns" type="integer">Total campaigns created.</ResponseField>
    <ResponseField name="activeCampaigns" type="integer">Campaigns currently running.</ResponseField>
    <ResponseField name="totalLeads" type="integer">Total leads in workspace.</ResponseField>
    <ResponseField name="totalSent" type="integer">Total emails sent across all campaigns.</ResponseField>
    <ResponseField name="totalReplies" type="integer">Total replies received.</ResponseField>
    <ResponseField name="replyRate" type="number">Reply rate as a percentage (1 decimal).</ResponseField>
    <ResponseField name="accountHealthAvg" type="integer">Average account health score (0-100).</ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.foxreach.io/api/v1/analytics/overview" \
    -H "X-API-Key: otr_your_key"
  ```

  ```python Python SDK theme={null}
  from foxreach import FoxReach

  client = FoxReach(api_key="otr_your_key")
  overview = client.analytics.overview()
  ```

  ```typescript TypeScript SDK theme={null}
  import { FoxReach } from "foxreach";

  const client = new FoxReach({ apiKey: "otr_your_key" });
  const overview = await client.analytics.overview();
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "data": {
      "totalAccounts": 15,
      "activeAccounts": 12,
      "totalCampaigns": 8,
      "activeCampaigns": 3,
      "totalLeads": 4520,
      "totalSent": 12340,
      "totalReplies": 567,
      "replyRate": 4.6,
      "accountHealthAvg": 87
    }
  }
  ```
</ResponseExample>

## Rate Limit

* **100 requests per minute, per API key.** Fixed 60-second window.
* Every response includes `X-RateLimit-Limit`, `X-RateLimit-Remaining`, and `X-RateLimit-Reset` (unix epoch seconds).
* A `429` response includes a `Retry-After` header (seconds until the bucket resets).

For client-side patterns (`Retry-After`, exponential backoff, monitoring `X-RateLimit-Remaining`), see [Rate Limiting](/rate-limiting).
