Skip to main content
GET
/
users
/
me
Read Current User
import requests

url = "https://app.ubik-agent.com/api/v1/users/me"

headers = {"X-API-KEY": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "username": "testuser",
  "full_name": "Test User",
  "uuid_id": "a1b2c3d4-e5f6-7890-1234-567890abcdef",
  "created_at": "2025-09-28T12:00:00Z",
  "balance": 100,
  "chat_session_count": 5,
  "document_count": 42,
  "workspace_count": 3,
  "assistant_count": 2
}

Authorizations

X-API-KEY
string
header
required

Response

200 - application/json

Successful Response

Schema for publicly exposed user information.

username
string
required

The username of the user.

uuid_id
string<uuid>
required

The unique identifier for the user.

created_at
string<date-time>
required

The timestamp when the user account was created.

balance
number
required

The current balance of the user's account.

chat_session_count
integer
required

The total number of chat sessions initiated by the user.

document_count
integer
required

The total number of documents accessible to the user.

workspace_count
integer
required

The total number of workspaces accessible to the user.

assistant_count
integer
required

The total number of assistants accessible to the user.

full_name
string | null

The full name of the user.