---
title: "Get account identity"
method: GET
path: "/account"
tags: ["Account"]
---

# Get account identity

`GET /account`

## Request

- Base URL: `https://app.uselamina.ai/v1`
- URL: `https://app.uselamina.ai/v1/account`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

The API key's user identity and the workspaces it can access. For credit balance and rate limits use GET /account/usage.

## Response `200`

Account identity

- object
  - `data` object, required
    - `userId` string
    - `email` string, nullable
    - `workspaces` object[]
      - `id` string
      - `name` string
      - `slug` string, nullable
      - `role` string

## Other responses

- `401`: Missing or invalid API key
- `500`: Internal server error

---

[API](https://skmtc.dev/uselamina/apis/lamina-v1-api.md) · [All operations](https://skmtc.dev/uselamina/apis/lamina-v1-api/llms.txt) · [OpenAPI document](https://skmtc.dev/uselamina/apis/lamina-v1-api/revisions/73b598526531?raw)
