Skip to main content
GET
/
{workspace_id}
/
users
/
{user_id}
Get user
curl --request GET \
  --url https://app.base44.com/api/v1/monitoring/{workspace_id}/users/{user_id} \
  --header 'api_key: <api-key>'
{
  "user_id": "usr_abc123",
  "email": "[email protected]",
  "seat_type": "pro",
  "created_at": "2024-03-15T10:30:00Z",
  "is_active": true,
  "total_apps": 12,
  "active_last_30d": true,
  "total_message_credits": 1250,
  "total_integration_credits": 340,
  "total_credits": 1590
}

Authorizations

api_key
string
header
required

API key for authentication. Get your API key from Base44 user settings.

Path Parameters

workspace_id
string
required

Workspace ID.

user_id
string
required

User ID. Get this from List users.

Query Parameters

from
string | null

Start date in YYYY-MM-DD format. Required if to is provided. Defaults to billing period start.

to
string | null

End date in YYYY-MM-DD format. Required if from is provided. Defaults to current date.

Response

Successful Response

Detailed user information with consumption data.

user_id
string
required

Unique user identifier.

Example:

"usr_abc123"

email
string<email>
required

User email address.

seat_type
string
required

Subscription tier, such as "starter", "builder", "pro", or "elite".

Example:

"pro"

created_at
string
required

User registration date in YYYY-MM-DDTHH:MM:SSZ format.

Example:

"2024-03-15T10:30:00Z"

is_active
boolean
required

Whether the user account is enabled (not disabled).

Example:

true

total_apps
integer
required

Total number of apps created by this user.

Required range: x >= 0
Example:

12

active_last_30d
boolean
required

Whether the user consumed message credits in the last 30 days.

Example:

true

total_message_credits
number
required

Total message credits consumed.

Required range: x >= 0
Example:

1250

total_integration_credits
number
required

Total integration credits consumed.

Required range: x >= 0
Example:

340

total_credits
number
required

Total credits consumed.

Required range: x >= 0
Example:

1590