Get user activity

Fetch the public activity record for an active user.

Endpoint

GET /api/v1/users/{username}/activity
Public

Usage

curl "$GHIT_API_URL/v1/users/alice/activity"

Success

200 OK with the activity payload.

{
  "activity": "Working on mentions",
  "activity_updated_at": "2026-03-20T16:00:00Z"
}

A cleared activity is returned as "" with the timestamp of the clear operation.

Errors

  • 404 Not Found when the user does not exist or is inactive.