---
title: "Get Analytics"
method: GET
path: "/api/sdk/v1/analytics"
tags: ["SDK"]
---

# Get Analytics

`GET /api/sdk/v1/analytics`

## Request

- Base URL: `https://geo.sig.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://geo.sig.ai/api/sdk/v1/analytics`
- Auth: none declared

Get analytics data for the SDK with optional date range and metric filtering.

## Query parameters

- `start_date` string, date-time, nullable
- `end_date` string, date-time, nullable
- `metrics` string, nullable
- `group_by` string, nullable

## Headers

- `X-API-Key` string

## Response `200`

Successful Response

- SDKAnalyticsResponse: Schema for analytics response.
  - `period` string, required
  - `metrics` object, required
  - `ai_attribution` object, required
  - `top_pages` object[], required
  - `optimization_score_avg` number, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sig/apis/ai-visibility-intelligence-api.md) · [All operations](https://skmtc.dev/sig/apis/ai-visibility-intelligence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sig/apis/ai-visibility-intelligence-api/revisions/3ec39f9be9e0?raw)
