---
title: "Identity check"
method: GET
path: "/me"
tags: ["Identity"]
---

# Identity check

`GET /me`

## Request

- Base URL: `https://api.getcoherence.io/v1`
- URL: `https://api.getcoherence.io/v1/me`
- Auth: HTTP bearer

Returns the user, account, and scopes the current key resolves to. Useful to confirm a key is valid and discover which workspace it operates against. Requires the `workspace:read` scope.

## Response `200`

Identity payload

- Identity
  - `userId` string, uuid
  - `accountId` string, uuid
  - `roleSlugs` string[]
  - `authMethod` 'api_key' | 'jwt'
  - `apiKeyId` string, nullable
  - `scopes` string[], nullable

## Other responses

- `401`: Authentication failed or missing.

---

[API](https://skmtc.dev/getcoherence/apis/coherence-api.md) · [All operations](https://skmtc.dev/getcoherence/apis/coherence-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getcoherence/apis/coherence-api/revisions/622d56f657b1?raw)
