---
title: "Inspect current sandbox agency aggregate analytics"
method: GET
path: "/agencies/current/analytics"
tags: ["Agencies"]
---

# Inspect current sandbox agency aggregate analytics

`GET /agencies/current/analytics`

## Request

- Base URL: `https://platform-api.homejourney.sg/v1`
- URL: `https://platform-api.homejourney.sg/v1/agencies/current/analytics`
- Auth: HTTP bearer

Returns aggregate-only sandbox analytics for the current sandbox agency when the authenticated automation client has `agency.analytics.read`. External URL: `/v1/agencies/current/analytics`. Current Next.js implementation path: `/api/platform/v1/agencies/current/analytics`. This read-only route does not require `Idempotency-Key`; SDK, CLI, and MCP analytics inspection may call this sandbox route, while live agency analytics, customer PII, contact fields, private notes, lead/client rows, raw event logs, and delegated impersonation remain deferred.

## Headers

- `X-Correlation-Id` string

## Response `200`

Current sandbox agency aggregate analytics.

- CurrentAgencyAnalyticsResponse
  - `analytics` object, required: Aggregate-only sandbox analytics for the current sandbox agency. Customer PII, contact fields, private notes, lead/client rows, and raw event logs are not returned.
    - `agency_id` string, required
    - `period` object, required
      - `start_date` string, date, required
      - `end_date` string, date, required
      - `timezone` 'Asia/Singapore', required
    - `listing_metrics` object, required
      - `total_listings` integer, required
      - `active_listings` integer, required
      - `draft_listings` integer, required
      - `published_listings` integer, required
      - `public_listing_views` integer, required
      - `saved_listing_count` integer, required
      - `viewing_request_count` integer, required
    - `roster_metrics` object, required
      - `total_agents` integer, required
      - `verified_agents` integer, required
      - `expired_agents` integer, required
      - `teams` integer, required
      - `branches` integer, required
      - `assistants` integer, required
    - `engagement_metrics` object, required
      - `agency_profile_views` integer, required
      - `listing_share_clicks` integer, required
      - `inquiry_clicks` integer, required
    - `response_metrics` object, required
      - `median_first_response_minutes` integer, required
      - `sla_target_minutes` integer, required
      - `sla_met_rate` number, required
    - `public_safety` object, required
      - `aggregate_only` true, required
      - `customer_pii_returned` false, required
      - `customer_contact_returned` false, required
      - `private_notes_returned` false, required
      - `raw_lead_rows_returned` false, required
      - `raw_client_rows_returned` false, required
      - `raw_event_logs_returned` false, required
  - `authorization` Authorization, required (unresolved $ref)
  - `principal` Principal, required (unresolved $ref)
  - `livemode` false, required
  - `request_id` string, required

## Other responses

- `400`: Request validation failed.
- `401`: Missing or invalid platform API key.
- `403`: Credential, environment, or scope is not allowed.
- `404`: Platform API feature or resource is not available.
- `429`: Rate limit exceeded.
- `500`: Unexpected platform API failure.

---

[API](https://skmtc.dev/homejourney/apis/homejourney-platform-api.md) · [All operations](https://skmtc.dev/homejourney/apis/homejourney-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/homejourney/apis/homejourney-platform-api/revisions/a2c6fe063db1?raw)
