---
title: "Get Me"
method: GET
path: "/api/v1/auth/me"
tags: ["auth"]
---

# Get Me

`GET /api/v1/auth/me`

## Request

- Base URL: `https://api.ticktest.cn` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ticktest.cn/api/v1/auth/me`
- Auth: none declared

查询当前用户信息 & 信用点余额（需 Bearer Token 认证）。

返回用户基本信息 + 信用点账户状态。
用户身份由 AuthMiddleware 注入到 request.scope['user_id']。

## Response `200`

Successful Response

- UserInfoResponse: 用户信息响应
  - `status` string, required
  - `user_id` string, nullable
  - `name` string, nullable
  - `email` string, nullable
  - `plan` string, nullable
  - `credits_balance` integer, nullable
  - `total_earned` integer, nullable
  - `total_spent` integer, nullable
  - `created_at` string, nullable

---

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