GenuineAI API
string · uuid · requiredstring · uuid · requiredstring · email · requiredstring · requiredstring · requiredstring · requiredstring | null · requiredstring[] · requiredstring · uuid · requiredstring · requiredstring[] · requiredstring · enum · required
The calling user: who they are, what they may do, and how they have signed in.
Get the current user
GET
https://api.genuineai.app/api/v1
/me
Who the caller is, which workspace they are acting in, and what they may do — the permissions and plan features the rest of the API enforces, plus the credit balance it spends against.
usr_permissions is already the effective set: the caller's roles intersected with what their plan entitles, narrowed again by key_permissions when an API key authenticated the request. A permission absent here will be refused everywhere else.
Headers
X-Tenant-IdThe workspace this request acts in. Every row the API returns is isolated to it at the database layer by row-level security.
Get the current user › Responses
Success
usr_idusr_emailusr_nameusr_name_firstusr_name_lastusr_langusr_permissionstenant_idtenant_namefeaturesThe plan features this workspace is entitled to.
object · required
auth_methodHow this request authenticated.
Enum values:
jwt
api_key
