---
title: "Inspect current sandbox agent analytics"
method: GET
path: "/agents/current/analytics"
tags: ["Agents"]
---

# Inspect current sandbox agent analytics

`GET /agents/current/analytics`

## Request

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

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

## Headers

- `X-Correlation-Id` string

## Response `200`

Current sandbox agent aggregate analytics.

- CurrentAgentAnalyticsResponse
  - `analytics` object, required: Aggregate-only sandbox analytics for the current sandbox agent. Customer PII, contact fields, private notes, lead/client rows, and raw event logs are not returned.
    - `agent_id` string, required
    - `period` object, required
      - `start_date` string, date, required
      - `end_date` string, date, required
      - `timezone` 'Asia/Singapore', required
    - `listing_metrics` object, required
      - `active_listings` integer, required
      - `draft_listings` integer, required
      - `public_listing_views` integer, required
      - `saved_listing_count` integer, required
      - `viewing_request_count` integer, required
    - `engagement_metrics` object, required
      - `profile_views` integer, required
      - `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_event_logs_returned` false, required
  - `authorization` object, required
    - `organization_id` string, uuid, required
    - `client_id` string, uuid, required
    - `api_key_id` string, uuid, required
    - `granted_agent_scopes` PlatformScope[], required
    - `actor_model` 'api_key_automation_client', required
    - `live_agent_identity` 'deferred', required
  - `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)
