Skip to content

Per-user admin detail (admin only).

GET
/api/admin/users/{id}
curl --request GET \
--url https://api.tradr.cloud/api/admin/users/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0

Admin-gated (403 ADMIN_REQUIRED). Returns the list fields plus positionCount, advisorTurns (platform-key advisor turns, current UTC month), all-time usage token/credit sums, and walletBalance (‘0’ when no wallet row) — all bigint sums as integer strings. A non-UUID id is a 400 VALIDATION_ERROR; an unknown id is a 404 NOT_FOUND.

id
required
string format: uuid

AdminUserDetail.

VALIDATION_ERROR — id is not a UUID.

Not authenticated.

ADMIN_REQUIRED — authenticated but not an admin.

NOT_FOUND — no such user.

Admin rate limit reached (60 / 60 s per user).