---
title: "Track Event"
method: POST
path: "/api/sdk/v1/track"
tags: ["SDK"]
---

# Track Event

`POST /api/sdk/v1/track`

## 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/track`
- Auth: none declared

Track a single event from the SDK.

## Headers

- `X-API-Key` string

## Request body

- SDKEventCreate: Schema for tracking an event.
  - `idempotency_key` string, nullable: Unique key to prevent duplicate events
  - `event_type` 'page_view' | 'conversion' | 'custom', required
  - `event_name` string, nullable
  - `event_data` object, nullable
  - `url` string, nullable
  - `user_agent` string, nullable
  - `referrer` string, nullable
  - `session_id` string, nullable
  - `client_timestamp` string, date-time, nullable

## Response `200`

Successful Response

- SDKEventResponse: Schema for event response.
  - `id` string, uuid, required
  - `event_type` string, required
  - `event_name` string, nullable, required
  - `ai_source` string, nullable, required
  - `ai_confidence` number, nullable, required
  - `attribution_method` string, nullable, required
  - `server_timestamp` string, date-time, 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)
