---
title: "Track Events Batch"
method: POST
path: "/analytics/track/batch"
tags: ["analytics"]
---

# Track Events Batch

`POST /analytics/track/batch`

Track multiple feature usage events in a batch.

More efficient for high-volume tracking. Events are queued on the client
and sent periodically (e.g., every 5 seconds).

## Request body

- FeatureEventBatch — Schema for creating multiple feature usage events in a batch.
  - `events` FeatureEventCreate[], required
    - `feature_name` string, required
    - `action` string, required
    - `metadata` object, nullable
    - `duration_ms` integer, nullable
    - `success` boolean, nullable
    - `error_message` string, nullable
  - `session_id` string, nullable

## Response `200`

Successful Response

- TrackResponse — Response for tracking endpoint.
  - `status` string
  - `count` integer, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
