activity-tracking

Start Session

Start or resume a user session. This endpoint is public to allow tracking before user authentication.

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

post/activity-tracking/session/start

Request body

session_idstring required
user_idstring nullable
device_fingerprintstring nullable

Response

Successful Response

{"stackTrail":"paths:/activity-tracking/session/start: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.