---
title: "Get Me"
method: GET
path: "/me"
tags: ["Me"]
---

# Get Me

`GET /me`

## Request

- Base URL: `https://api-external.zenlytic.com/api/v2`
- URL: `https://api-external.zenlytic.com/api/v2/me`
- Auth: HTTP bearer

Retrieve your organization and the workspaces you can see.

{% hint style="info" %}
Call this first when building against a new token. It tells you whether the token is scoped to a single workspace (**Admin**) or your whole organization (**Org admin**), which decides which endpoints below it can call.
{% endhint %}

## Response `200`

Successful Response

- ApiV2ResponseMeSchema
  - `data` MeSchema, required
    - `organization` MyOrganizationSchema, required
      - `id` string, required
      - `name` string, required
    - `workspaces` MyWorkspaceSchema[], required: Workspaces in your organization that you're a member of and, for a PAT scoped to specific workspaces, within the token's scope. Archived workspaces are excluded.
      - `id` string, required
      - `name` string, required
  - `meta` MetaSchema, required
    - `status` 'success' | 'error', required
    - `errors` ErrorSchema[]: Non-empty exactly when `status` is "error".
      - `message` string, required
      - `status_code` integer, nullable: Matches this response's actual HTTP status code.
      - `occurred_at` string, nullable: ISO 8601 UTC timestamp.
      - `error_code` string, nullable: Machine-readable code for errors that need special handling (e.g. "SSO_REQUIRED") rather than being shown generically; null for most errors.
      - `error_metadata` BaseErrorMetadata
    - `warnings` WarningSchema[]: Can be non-empty even when `status` is "success" - a non-fatal issue with an otherwise-successful request.
      - `message` string, required
    - `request_source` string, nullable: Which auth mechanism served this request (e.g. "api_key", "pat"); null when not tracked for this endpoint.

## Other responses

- `4XX`: Client Error
- `5XX`: Server Error

---

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