---
title: "Get info about the calling API key and its workspace"
method: GET
path: "/me"
tags: ["Me"]
---

# Get info about the calling API key and its workspace

`GET /me`

Returns the calling API key, the user that created it, the workspace it belongs to, and the caller's access level in that workspace.

## Response `200`

Information about the caller.

- Me
  - `apiKey` MeApiKey, required
    - `id` string, uuid, nullable, required — API key row id. Null for OAuth-issued tokens that have no row.
    - `name` string, required
    - `type` 'public-api' | 'ephemeral' | 'oauth', required — How the bearer token authenticated.
    - `createdAt` string, date-time, nullable, required
    - `lastUsedAt` string, date-time, nullable, required
    - `expiresAt` string, date-time, nullable, required
  - `user` MeUser, required
    - `id` string, uuid, required
    - `email` string, nullable, required
    - `name` string, nullable, required
  - `workspace` MeWorkspace, required
    - `id` string, uuid, required
    - `name` string, required
    - `slug` string, required
  - `accessLevel` 'guest' | 'restricted_user' | 'viewer' | 'editor' | 'admin', required — Caller's role in the workspace, derived from the API key creator's team membership.

## Other responses

- `401` — Unauthorized
- `404` — Workspace or user not found
- `429` — Rate limit exceeded

---

[API](https://skmtc.net/deepnote/apis/deepnote-public-api.md) · [All operations](https://skmtc.net/deepnote/apis/deepnote-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deepnote/deepnote-public-api/revisions/726970fd2992/schema)
