## Me

`client.Auth.Me(ctx) (*AuthMeResponseUnion, error)`

**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

- `type AuthMeResponseUnion interface{…}`

  - `type AuthMeResponseAuthMeAPIKeyResponse struct{…}`

    - `APIKeyID string`

    - `KeyType AuthMeResponseAuthMeAPIKeyResponseKeyType`

      - `const AuthMeResponseAuthMeAPIKeyResponseKeyTypeAdmin AuthMeResponseAuthMeAPIKeyResponseKeyType = "admin"`

      - `const AuthMeResponseAuthMeAPIKeyResponseKeyTypeWorkspace AuthMeResponseAuthMeAPIKeyResponseKeyType = "workspace"`

    - `Mode AuthMeResponseAuthMeAPIKeyResponseMode`

      - `const AuthMeResponseAuthMeAPIKeyResponseModeLive AuthMeResponseAuthMeAPIKeyResponseMode = "live"`

      - `const AuthMeResponseAuthMeAPIKeyResponseModeTest AuthMeResponseAuthMeAPIKeyResponseMode = "test"`

    - `OrganizationID string`

    - `PrincipalType APIKey`

      - `const APIKeyAPIKey APIKey = "api_key"`

    - `SelectedOrganizationID string`

    - `WorkspaceID string`

  - `type AuthMeResponseAuthMeUserResponse struct{…}`

    - `ActiveOrganizationID string`

    - `OrganizationMemberships []AuthMeResponseAuthMeUserResponseOrganizationMembership`

      - `ComputeRole AuthMeResponseAuthMeUserResponseOrganizationMembershipComputeRole`

        - `const AuthMeResponseAuthMeUserResponseOrganizationMembershipComputeRoleAdmin AuthMeResponseAuthMeUserResponseOrganizationMembershipComputeRole = "admin"`

        - `const AuthMeResponseAuthMeUserResponseOrganizationMembershipComputeRoleMember AuthMeResponseAuthMeUserResponseOrganizationMembershipComputeRole = "member"`

      - `OrganizationID string`

    - `PrincipalType User`

      - `const UserUser User = "user"`

    - `SelectedOrganizationID string`

    - `UserID string`

### Example

```go
package main

import (
  "context"
  "fmt"

  "github.com/boltz-bio/boltz-api-go"
  "github.com/boltz-bio/boltz-api-go/option"
)

func main() {
  client := boltzapi.NewClient(
    option.WithAPIKey("My API Key"),
  )
  response, err := client.Auth.Me(context.TODO())
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response)
}
```
