---
title: "Caller identity, resolved universe, effective scopes [read]"
method: GET
path: "/whoami"
---

# Caller identity, resolved universe, effective scopes \[read\]

`GET /whoami`

## Request

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

## Response `200`

OK

- Whoami
  - `user` object, required
    - `id` string
    - `email` string
    - `name` string, nullable
  - `universe` object, required
    - `slug` string
    - `name` string
    - `isPersonal` boolean
  - `scopes` string[], required
  - `auth` 'token' | 'session', required
  - `account_access` boolean: Whether this credential represents the whole account rather than a workspace, app, task, system client or restricted purpose. Scopes still apply.
  - `credential_universe` string, nullable: The workspace this credential is fixed to, or null.

## Other responses

- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 6 info
  - added the optional property `account_access` to the response with the `200` status
  - added the optional property `credential_universe` to the response with the `200` status
  - added the optional property `error/request_id` to the response with the `default` status
  - the response property `error` became required for the status `default`
  - …2 more

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

---

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