Skip to main content
GET
/
api
/
v1
/
user
Get current user
curl --request GET \
  --url https://neo.api.projectdiscovery.io/api/v1/user \
  --header 'Authorization: Bearer <token>'
{
  "email": "jsmith@example.com",
  "features": {
    "neo_ai": true,
    "neo_credits": 500
  },
  "role": "user",
  "available_models": [
    "<string>"
  ],
  "neo_cost_rate": 123,
  "tag": "<string>",
  "team": {
    "id": "<string>",
    "name": "<string>",
    "role": "admin",
    "auto_joined": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.neo.projectdiscovery.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

JWT authentication token

Response

User profile information

email
string<email>
required

User's email address

features
object
required

Feature flags for the user (booleans like neo_ai, numbers like neo_credits)

Example:
{ "neo_ai": true, "neo_credits": 500 }
role
enum<string>
required

User's role in the system

Available options:
user,
admin
available_models
string[]

List of model IDs available for the user based on their tag

neo_cost_rate
number<float> | null

Effective BYOK neo cost rate for the user. Returned when the user is in BYOK mode.

tag
string | null

User tag (e.g., "free", "beta")

team
object

Team membership information (null if user is not in a team)