## Me

`auth.me()  -> AuthMeResponse`

**get** `/compute/v1/auth/me`

Returns the organization context available to the current API key or OAuth bearer token. OAuth callers can use X-Boltz-Organization-Id to select one of their organizations.

### Returns

- `AuthMeResponse`

  - `class AuthMeAPIKeyResponse: …`

    - `api_key_id: str`

    - `key_type: Literal["admin", "workspace"]`

      - `"admin"`

      - `"workspace"`

    - `mode: Literal["live", "test"]`

      - `"live"`

      - `"test"`

    - `organization_id: str`

    - `principal_type: Literal["api_key"]`

      - `"api_key"`

    - `selected_organization_id: str`

    - `workspace_id: Optional[str]`

  - `class AuthMeUserResponse: …`

    - `active_organization_id: Optional[str]`

    - `organization_memberships: List[AuthMeUserResponseOrganizationMembership]`

      - `compute_role: Literal["admin", "member"]`

        - `"admin"`

        - `"member"`

      - `organization_id: str`

    - `principal_type: Literal["user"]`

      - `"user"`

    - `selected_organization_id: Optional[str]`

    - `user_id: str`

### Example

```python
import os
from boltz_api import Boltz

client = Boltz(
    api_key=os.environ.get("BOLTZ_API_KEY"),  # This is the default and can be omitted
)
response = client.auth.me()
print(response)
```
