---
title: "Get current caller identity"
method: GET
path: "/whoami"
tags: ["Account"]
---

# Get current caller identity

`GET /whoami`

## Request

- Base URL: `https://api.primitive.dev/v1`
- URL: `https://api.primitive.dev/v1/whoami`
- Auth: HTTP bearer

Current authenticated identity. member_address is null for machine credentials or an unavailable member address.

## Response `200`

Success

- object
  - `success` true, required
  - `data` object, required
    - `member_address` object, nullable, required
      - `address` string, email, required
      - `name` string, nullable, required
    - `member_address_suggestion` string, nullable, required
    - `org_id` string, required
    - `user_id` string, required
    - `role` string, required
    - `request_id` string, required
    - `auth_method` string, nullable, required
    - `key_id` string, nullable, required
    - `grant` object, nullable
    - `check` object
      - `permission` string, required
      - `allow` boolean, required
      - `reason` string
      - `details` object
      - `resource` object
        - `type` string, required
        - `id` string, required

## Other responses

- `400`: Invalid request parameters
- `401`: Invalid or missing API key
- `403`: Authenticated caller lacks permission for the operation
- `409`: The request conflicts with the current state of the resource
- `429`: Rate limit exceeded. The `ratelimit-*` headers describe the limiter that rejected this request, with its own limit and window, not the API budget that successful responses report. A limiter that reports only a wait sends `Retry-After` alone.

## Changes

> 32 revisions in range; 1 not diffed.

- **2026-10-21** `0360ea8d4f3d`: 65 warning
  - added the new `agent_changed` enum value to the `error/code` response property for the response status `400`
  - added the new `agent_changed` enum value to the `error/code` response property for the response status `401`
  - added the new `agent_changed` enum value to the `error/code` response property for the response status `403`
  - added the new `agent_changed` enum value to the `error/code` response property for the response status `409`
  - …61 more
- **2026-10-21** `5279a7bed7ac`: 55 warning
  - added the new `archive_busy` enum value to the `error/code` response property for the response status `400`
  - added the new `archive_busy` enum value to the `error/code` response property for the response status `401`
  - added the new `archive_busy` enum value to the `error/code` response property for the response status `403`
  - added the new `archive_busy` enum value to the `error/code` response property for the response status `409`
  - …51 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/primitive/apis/primitive-api/changes/whoami/get.md)

---

[API](https://skmtc.dev/primitive/apis/primitive-api.md) - [All operations](https://skmtc.dev/primitive/apis/primitive-api/llms.txt) - [OpenAPI document](https://skmtc.dev/primitive/apis/primitive-api/revisions/bce409c97acb?raw)
