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

# Track Events Batch

`POST /analytics/track/batch`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/analytics/track/batch`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

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.dev/meganova/apis/meganova-api.md) - [All operations](https://skmtc.dev/meganova/apis/meganova-api/llms.txt) - [OpenAPI document](https://skmtc.dev/meganova/apis/meganova-api/revisions/c683584f6060?raw)
