---
title: "GetAuthenticatedIdentity"
method: POST
path: "/gitpod.v1.IdentityService/GetAuthenticatedIdentity"
tags: ["gitpod.v1.IdentityService"]
---

# GetAuthenticatedIdentity

`POST /gitpod.v1.IdentityService/GetAuthenticatedIdentity`

Retrieves information about the currently authenticated identity.

 Use this method to:
 - Get current user information
 - Check authentication status
 - Retrieve organization context
 - Validate authentication principal

 ### Examples

 - Get current identity:

   Retrieves details about the authenticated user.

   ```yaml
   {}
   ```

## Request body

- GitpodV1GetAuthenticatedIdentityRequest
  - `empty` boolean

## Response `200`

Success

- GitpodV1GetAuthenticatedIdentityResponse
  - `organizationId` string
  - `organizationTier` string
  - `subject` GitpodV1Subject
    - `id` string, uuid — id is the UUID of the subject
    - `principal` 'PRINCIPAL_UNSPECIFIED' | 'PRINCIPAL_ACCOUNT' | 'PRINCIPAL_USER' | 'PRINCIPAL_RUNNER' | 'PRINCIPAL_ENVIRONMENT' | 'PRINCIPAL_SERVICE_ACCOUNT' | 'PRINCIPAL_RUNNER_MANAGER'

## Other responses

- `default` — Error

## Changes

> 18 revisions in range; 1 could not be searched.

- **2026-04-02** `dabc0ff98cd7` — 2 info
  - added the optional property `organizationTier` to the response with the `200` status
  - removed the `PRINCIPAL_AGENT_EXECUTION` enum value from the `subject/principal` response property for the response status `200`
- **2025-12-15** `d62ef4b9187c` — 1 warning
  - added the new `PRINCIPAL_AGENT_EXECUTION` enum value to the `subject/principal` response property for the response status `200`
- **2025-06-10** `ca9a49ac7fbb` — 1 warning
  - added the new `PRINCIPAL_RUNNER_MANAGER` enum value to the `subject/principal` response property for the response status `200`
- **2025-02-21** `3655d5ad0ac3` — 1 breaking, 3 info
  - the `subject` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - added the optional property `subject/id` to the response with the `200` status
  - added the optional property `subject/principal` to the response with the `200` status
  - removed `#/components/schemas/gitpod.v1.Subject` from the `subject` response property `allOf` list for the response status `200`
- **2025-02-18** `cd6a05ae99d2` — 1 warning
  - removed the optional property `detail` from the response with the `default` status

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.IdentityService/GetAuthenticatedIdentity/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
