Get current user SaaS
GET /api/v1/users/me
Get the current authenticated user with SAAS-specific org info. Returns user settings along with organization context: - org_id: Current organization ID - org_name: Current organization name - role: User's role in the organization - permissions: List of permission strings for the role
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
expose_secrets | query | boolean | no | If true, return unmasked secret values (e.g. llm_api_key). Requires a valid X-Session-API-Key header for an active sandbox owned by the authenticated user. |
x-session-api-key | header | `string | null` | no |
Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
Response body
| Field | Type | Required | Description |
|---|---|---|---|
language | `string | null` | no |
user_version | `integer | null` | no |
remote_runtime_resource_factor | `integer | null` | no |
secrets_store | object | no | — |
enable_sound_notifications | boolean | no | — |
enable_proactive_conversation_starters | boolean | no | — |
user_consents_to_analytics | `boolean | null` | no |
sandbox_base_container_image | `string | null` | no |
sandbox_runtime_container_image | `string | null` | no |
disabled_skills | `string[] | null` | no |
search_api_key | `string | null` | no |
sandbox_api_key | `string | null` | no |
max_budget_per_task | `number | null` | no |
email | `string | null` | no |
email_verified | `boolean | null` | no |
git_user_name | `string | null` | no |
git_user_email | `string | null` | no |
title_llm_profile | `string | null` | no |
git_full_clone | boolean | no | — |
v1_enabled | boolean | no | — |
agent_settings | object | no | — |
conversation_settings | ConversationSettings | no | — |
sandbox_grouping_strategy | SandboxGroupingStrategy | no | — |
default_sandbox_spec_id | `string | null` | no |
llm_profiles | LLMProfiles | no | Saved LLM profiles and the currently active profile name. See LLMProfiles for the profile-management API. |
active_agent_profile_id | `string | null` | no |
active_agent_profile_revision | `integer | null` | no |
registered_marketplaces | faheemcode__app_server__settings__settings_models__MarketplaceRegistration[] | no | List of marketplace registrations for plugin resolution. Marketplaces with auto_load=True will have their plugins loaded automatically at conversation start. See MarketplaceRegistration for details. |
inherited_marketplaces | faheemcode__app_server__settings__settings_models__MarketplaceRegistration[] | no | Marketplaces inherited from instance or organization level. These are read-only and cannot be modified by the user. Computed at runtime: Instance defaults + Org defaults. |
id | `string | null` | no |
org_id | `string | null` | no |
org_name | `string | null` | no |
role | `string | null` | no |
permissions | `string[] | null` | no |
Operation ID: get_current_user_saas_api_v1_users_me_get