---
title: "Post Usage Event"
method: POST
path: "/api/analytics/event"
tags: ["analytics"]
---

# Post Usage Event

`POST /api/analytics/event`

## Request

- Base URL: `https://api.equity-rank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equity-rank.com/api/analytics/event`
- Auth: none declared

Record one first-party usage event.

Auth is optional — anonymous events are stored with user_id NULL. The write
is synchronous but wrapped so it can never fail the request; the response
reports whether the event was accepted.

## Request body

- UsageEventRequest
  - `event_name` string, required
  - `path` string, nullable
  - `session_id` string, nullable
  - `properties` object

## Response `202`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/equity-rank/apis/equity-rank-api.md) · [All operations](https://skmtc.dev/equity-rank/apis/equity-rank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/equity-rank/apis/equity-rank-api/revisions/c2f2463fee33?raw)
