Skip to main content
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

string
User ID
string
User email address
string
First name
string
Last name
string
Full display name (firstName + lastName)
string | null
Profile image URL
string | null
Company name
string
Auth provider: local, google, or github
boolean
Whether the account is active
boolean
Whether the user has admin privileges
boolean
Whether the email address has been verified
string
ISO 8601 account creation date
string
ISO 8601 last update date

subscription

Current plan, usage, and feature entitlements.
string
Plan key: trial, starter, or pro
string
Human-readable plan name: Free Trial, Starter, or Pro
string
Subscription status: trialing, active, canceled, past_due
number
Number of spans consumed in the current period
number
Maximum spans allowed in the current period
number
Percentage of span limit used (0–100)
boolean
Whether the subscription will cancel at the end of the current period
string | null
ISO 8601 date when the current billing period ends
object
Plan feature entitlements (see Features below)
string | null
ISO 8601 trial end date. Only present when plan is trial.
number
Days remaining in trial. Only present when plan is trial.
boolean
Whether the trial has expired. Only present when plan is trial.

Features

The subscription.features object contains plan entitlements. Numeric values of -1 mean unlimited.

resources

Account resource counts.
number
Total number of agents
number
Number of non-revoked API keys

Example Response

Error Responses