---
title: "Identify the principal"
method: GET
path: "/databases/me"
tags: ["databases"]
---

# Identify the principal

`GET /databases/me`

## Request

- Base URL: `https://global.thenile.dev`
- URL: `https://global.thenile.dev/databases/me`
- Auth: HTTP bearer

Returns information about the principal associated with the token provided

## Response `200`

Principal identified

- PrincipalResponse
  - `id` string
  - `principalType` 'DEVELOPER' | 'USER' | 'INTERNAL'
  - `email` string
  - `name` string

## Other responses

- `401`: Unauthorized
- `404`: Principal not identified

---

[API](https://skmtc.dev/thenile/apis/nile-rest-api.md) · [All operations](https://skmtc.dev/thenile/apis/nile-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thenile/apis/nile-rest-api/revisions/afe849f2aeec?raw)
