Skip to content

Get your profile

GET/v1/me

Returns the account the API key belongs to, including the workspaces you are an active member of and your role and permissions in each.

billing_country is the country used for tax: the value you set with Update your profile, or the country detected when you signed up if you never set one.

Authentication

Send your API key as Authorization: Bearer <token>.

Response

200

Your profile.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataobject
Show attributes
uidstringRequired

Your user ID.

usernamestringRequired

Your username.

emailstringRequired

Your email address.

rolestringRequired

Your platform role. This is user for customers and is unrelated to your workspace roles.

One ofuseradmin

verifiedbooleanRequired

Whether you have verified your email address. Most workspace endpoints return 403 with action: verify_email until you have.

joined_atstring (date-time)Required

When the account was created.

auth_methodstringRequired

How the account signs in, e.g. password or google.

avatar_urlstring

API-relative path of your profile picture, with a cache-busting v parameter. Omitted when you have no picture.

billing_countrystring

Country used for tax (ISO 3166-1 alpha-2). Your declared billing country, or the country detected at signup when you have not set one. Omitted when neither is known.

tax_idstring

Your VAT or tax ID. Omitted when not set.

billing_statusstringRequired

Your payment standing. When it is not active, creating new paid resources returns 402 with action: past_due, as do starting VMs and building, redeploying or restarting deployments. While suspended, your VMs, databases, Kubernetes clusters and deployments are powered off; storage is kept. Once the account is active again, everything suspension powered off is started again automatically within about a minute (resources you had stopped yourself stay stopped).

One ofactivepast_duesuspendedterminated

workspacesarray of objects

Workspaces you are an active member of, newest first. Omitted when you have none.

Show item attributes
uidstringRequired

Unique identifier of the workspace.

namestringRequired

Display name.

slugstringRequired

Slug to send in X-Workspace-Slug.

descriptionstringRequired

Free-text description. Empty when not set.

is_defaultbooleanRequired

Whether this is the owner's default workspace.

rolestring

Your role in the workspace. Omitted when not known in this context.

One ofowneradmindeveloperviewer

permissionsarray of strings

The permissions your role grants. Omitted when not known in this context.

One ofworkspace.readworkspace.manageresource.writeruntime.connectsecrets.readsecrets.managemembers.manageaudit.readbilling.readbilling.manageworkspace.transferworkspace.delete

member_countintegerRequired

Number of active members. Only filled in on your profile. Other responses return 0.

two_factor_enabledbooleanRequired

Whether authenticator-app two-factor authentication is on.

signed_up_via_referralbooleanRequired

Whether the account was created through a referral link.

referred_by_codestring

The invite code used at signup. Omitted when you were not referred.

Errors

StatusMeaning
401The API key is missing, invalid, expired or revoked.
403You cannot access the workspace, your role does not allow this action, or the account is suspended.

Errors use the standard error format.