Users

Retrieve current user details

Retrieves information about the currently authenticated Neon user, including account identifiers, plan details, and linked auth accounts.

get/users/me

Request

  • Base URL: https://console.neon.tech/api/v2
  • URL: https://console.neon.tech/api/v2/users/me
  • Auth: one of:
    • HTTP bearer
    • API key in cookie zenith
    • API key in cookie keycloak_token

Response

Returned information about the current user

active_seconds_limitinteger required

Control plane observes active endpoints of a user this amount of wall-clock time.

emailstring email required

Email address of the authenticated user.

idstring required

The Neon user ID.

imagestring required

URL of the user's profile avatar image.

loginstring required

Deprecated. Use the email field.

namestring required

First name of the current user.

last_namestring required

Last name of the current user.

projects_limitinteger required

Maximum number of projects the account is allowed to create under the current plan.

branches_limitinteger required

Maximum number of branches allowed for the account under the current plan.

max_autoscaling_limitnumber double required

The maximum autoscaling limit in Compute Units. A value of 0 indicates no limit is configured.

compute_seconds_limitinteger

Maximum Postgres compute time, in seconds, allowed under the account's current plan.

planstring required

Current billing plan for the user's account.

Changes

No recorded changes to this operation across all 15 revisions of this API.