getCurrentUser
GET /auth/me
Returns the authenticated user’s profile, workspace, and the workspace’s Balance.
Parameters: None
Returns: CurrentUser
Example:
Response shape varies by API version. The
v2026-01-21 response uses nested objects; the legacy v2025-10-28 response uses a flat structure.revokeCurrentApiToken
DELETE /tokens/self
Revokes the API token used for this request. This cannot be undone, and the token stops working immediately.
safeRevokeCurrentApiToken to receive a safe result instead of an exception.
