---
title: "Get Self"
method: GET
path: "/v3/self"
tags: ["self"]
---

# Get Self

`GET /v3/self`

## Response `200`

Successful Response

- union
  - ServiceUserSelf — Identity information for an authenticated service user.
    - `org_id` string, nullable
    - `principal_type` 'service_user', required
    - `service_user_id` string, required
    - `service_user_name` string, required
  - PatUserSelf — Identity information for an authenticated PAT user.
    - `api_key_id` string, required
    - `api_key_name` string, required
    - `org_id` string, nullable
    - `principal_type` 'pat_user', required
    - `user_id` string, required
    - `user_name` string, required
  - DevinBrainUserSelf — Identity information for an authenticated Devin brain session.
    - `creator_service_user_id` string, nullable
    - `devin_id` string, required
    - `org_id` string, required
    - `principal_type` 'devin_brain', required
    - `user_id` string, required
  - WindsurfSessionUserSelf — Identity information for an authenticated Windsurf session user.
    - `org_id` string, required
    - `principal_type` 'windsurf_session', required
    - `user_id` string, required
    - `user_name` string, nullable

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `422` — Unprocessable Content
- `429` — Too Many Requests

---

[API](https://skmtc.net/devinenterprise/apis/devin-api-v1.md) · [All operations](https://skmtc.net/devinenterprise/apis/devin-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/devinenterprise/devin-api-v1/revisions/e3244476af1c/schema)
