---
title: "Whoami"
method: GET
path: "/whoami"
tags: ["canvas-actions"]
---

# Whoami

`GET /whoami`

## Request

- Base URL: `https://api.moda.app/v1`
- URL: `https://api.moda.app/v1/whoami`
- Auth: HTTP bearer

Identity, org, plan, and granted scopes for the presented key.

The skills' bootstrap check (``moda auth status`` / ``moda doctor``). Never
returns the credential itself.

## Headers

- `Moda-Version` '2026-04-12' | '2026-05-01'

## Response `200`

Successful Response

- PublicWhoamiResponse
  - `credential_kind` 'user' | 'cloud_computer', required: Authenticated credential authority. Cloud computer keys cannot authorize owner/client sessions.
  - `user` object, required
  - `team` object, required
  - `organization` object, nullable, required
  - `plan` string, nullable, required
  - `voyager_plan` string, nullable, required
  - `scopes` string[], required
  - `api_key_id` string, required
  - `entitlements` object, required

## Other responses

- `401`: Authentication required.
- `402`: Insufficient credits for a metered operation.
- `403`: Permission denied for this scope.
- `404`: Resource not found.
- `409`: Conflict (idempotency / resource state).
- `422`: Request validation failed.
- `429`: Rate limit exceeded.
- `500`: Internal error.

## Changes

- **2026-11-03** `9ac6a3abc0f8`: 1 info
  - endpoint added

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

---

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