Current user profile
client.v1.me.retrieve(RequestOptionsoptions?): MeRetrieveResponse { id, bio, createdAt, 12 more }
GET/api/v1/me
Returns the authenticated user's profile, stats (cents earned/tipped), XP, level, and default AI model.
Current user profile
import Racks from 'racks.cash';
const client = new Racks();
const me = await client.v1.me.retrieve();
console.log(me.id);{
"id": "clxxxxxxxxxxxxxxxxxxxxxxxx",
"bio": "bio",
"createdAt": "2019-12-27T18:11:19.117Z",
"defaultAiModel": "anthropic/claude-sonnet-4-5",
"email": "alice@example.com",
"image": "https://avatars.githubusercontent.com/u/1234567",
"lastPostAt": "2019-12-27T18:11:19.117Z",
"level": 8,
"name": "Alice",
"postCount": 17,
"streakDays": 5,
"totalEarned": 42000,
"totalTipped": 1000,
"username": "alice",
"xp": 3400
}Returns Examples
{
"id": "clxxxxxxxxxxxxxxxxxxxxxxxx",
"bio": "bio",
"createdAt": "2019-12-27T18:11:19.117Z",
"defaultAiModel": "anthropic/claude-sonnet-4-5",
"email": "alice@example.com",
"image": "https://avatars.githubusercontent.com/u/1234567",
"lastPostAt": "2019-12-27T18:11:19.117Z",
"level": 8,
"name": "Alice",
"postCount": 17,
"streakDays": 5,
"totalEarned": 42000,
"totalTipped": 1000,
"username": "alice",
"xp": 3400
}