Skip to main content
GET
Get profile

Authorizations

X-API-Key
string
header
required

API key for service-to-service authentication

Response

Current user's profile

The current user's own profile, returned by GET /profile — includes credit_used (this user's credit usage this month) and credit_balance (their group's remaining balance).

id
string<uuid>
role
object
organization
object
group
object
email
string<email>
Example:

"user@example.com"

name
string
Example:

"John Doe"

status
enum<string>
Available options:
ACTIVE,
SUSPENDED,
DEACTIVATED,
NOT_VERIFIED
Example:

"ACTIVE"

phone_number
string | null
profile_picture_file_url
string<uri> | null
external_auth
object

Which enterprise SSO providers this user is linked to

Example:
usage_limit
integer | null

Maximum credit this user can consume per month, if a limit has been set for them. null means no per-user limit — the user can spend up to their group's credit_balance.

Example:

null

usage_reset_at
string<date-time> | null

When usage_limit next resets

credit_used
integer

Credit this user has consumed so far this month (GET /profile only)

Example:

340

credit_balance
integer

Credit remaining in this user's group (GET /profile only)

Example:

5000

created_at
string<date-time>
created_by
string<uuid>
updated_at
string<date-time>
updated_by
string<uuid>