---
title: "Get current user and org info"
method: GET
path: "/v1/me"
tags: ["Account"]
---

# Get current user and org info

`GET /v1/me`

## Request

- Base URL: `https://api.algenta.ai`
- URL: `https://api.algenta.ai/v1/me`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

The caller and their org. ``user`` is the CALLER's own row (auth["user_id"]), never the
org's first user — or, for a SERVICE key (a machine principal with no users row), a description
of that principal: ``id`` is the key's id, ``name`` its label, ``email`` the actor identity the
audit log records for it, ``role`` its pinned ``viewer``. Other credentials not bound to a member
(device licenses, IdP principals) get 404 ``user_not_found``.

## Response `200`

Successful Response

- MeResponse
  - `user` UserInfo, required
    - `id` string, uuid, required
    - `email` string, required
    - `name` string, required
    - `role` string, required
    - `email_verified` boolean, required
    - `created_at` string, date-time, required
  - `org` OrgInfo, required
    - `id` string, uuid, required
    - `name` string, required
    - `slug` string, required
    - `plan` string, required
    - `status` string, required
    - `auto_fix_pipeline_enabled` boolean, required
    - `created_at` string, date-time, required

---

[API](https://skmtc.dev/codna/apis/algenta-api.md) · [All operations](https://skmtc.dev/codna/apis/algenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codna/apis/algenta-api/revisions/35d30f84a5df?raw)
