analytics

Track User Activity

Track user activity in their current session. Automatically creates or updates the current session.

Sync (def, not async def) so FastAPI runs it in its threadpool — the body is pure sync DB (no awaits) and the client doesn't consume the response body, just response.ok. Keeps the event loop free for call/WS traffic.

post/analytics/track/activity

Headers

authorizationstring nullable

Request body

activity_typestring required
page_pathstring nullable

Response

Successful Response

{"stackTrail":"paths:/analytics/track/activity:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.