Get me
GET /api/organizations/{org_id}/me
Get the current user's membership record for an organization. Returns the authenticated user's role, status, email, and LLM override fields (with masked API keys) within the specified organization. Args: org_id: Organization ID (UUID) user_id: Authenticated user ID (injected by dependency) Returns: MeResponse: The user's membership data Raises: HTTPException: 404 if user is not a member or org doesn't exist HTTPException: 500 if retrieval fails
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
org_id | path | string | yes | — |
X-Org-Id | header | `string | null` | no |
Responses
| Status | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |
Response body
| Field | Type | Required | Description |
|---|---|---|---|
org_id | string | yes | — |
user_id | string | yes | — |
email | string | yes | — |
role | string | yes | — |
permissions | string[] | no | — |
llm_api_key | string | yes | — |
llm_api_key_for_byor | `string | null` | no |
agent_settings_diff | object | no | — |
conversation_settings_diff | object | no | — |
status | `string | null` | no |
Operation ID: get_me_api_organizations__org_id__me_get