Get User Profile
Users
Get User Profile
Returns the authenticated user’s profile with subscription and resource details
GET
Get User Profile
Get User Profile
Returns a comprehensive profile for the authenticated user, including subscription plan and features, and resource counts — all in a single call.Authentication
Requires a valid JWT Bearer token.
Response
User ID
User email address
First name
Last name
Full display name (
firstName + lastName)Profile image URL
Company name
Auth provider:
local, google, or githubWhether the account is active
Whether the user has admin privileges
Whether the email address has been verified
ISO 8601 account creation date
ISO 8601 last update date
subscription
Current plan, usage, and feature entitlements.
Plan key:
trial, starter, or proHuman-readable plan name:
Free Trial, Starter, or ProSubscription status:
trialing, active, canceled, past_dueNumber of spans consumed in the current period
Maximum spans allowed in the current period
Percentage of span limit used (0–100)
Whether the subscription will cancel at the end of the current period
ISO 8601 date when the current billing period ends
ISO 8601 trial end date. Only present when
plan is trial.Days remaining in trial. Only present when
plan is trial.Whether the trial has expired. Only present when
plan is trial.Features
Thesubscription.features object contains plan entitlements. Numeric values of -1 mean unlimited.
| Field | Type | Description |
|---|---|---|
spans | number | Max spans per period (-1 = unlimited) |
agents | number | Max agents (-1 = unlimited) |
retention | number | Data retention in days (-1 = unlimited) |
alerts | boolean | Alert notifications enabled |
evaluations | boolean | LLM evaluations enabled |
exports | boolean | Data export enabled |
deepSearch | boolean | Natural-language ClickHouse search |
semanticSearch | boolean | Embedding-based semantic search |
smartSearch | boolean | Unified intelligent search |
customLLMLogic | boolean | Custom LLM evaluation logic |
modelTraining | boolean | ML model training |
sso | boolean | Single sign-on |
rbac | boolean | Role-based access control |
support | string | Support tier: community, email, or priority |
trialDays | number | Length of trial period in days |
resources
Account resource counts.
Total number of agents
Number of non-revoked API keys
Example Response
Error Responses
| Status | Description |
|---|---|
| 401 | Missing or invalid authentication |
| 404 | User not found |