---
title: "Get information about the currently authenticated caller.
Works with both API keys and OAuth tokens. Returns identity, team, and ZDR status."
method: GET
path: "/v1/me"
tags: ["v1"]
---

# Get information about the currently authenticated caller.
Works with both API keys and OAuth tokens. Returns identity, team, and ZDR status.

`GET /v1/me`

## Response `200`

Success

- GetMeResponse — Information about the currently authenticated caller. Works with both API keys and OAuth tokens.
  - `api_key` MeApiKeyInfo — API key details nested in the `/v1/me` response.
    - `api_key_id` string, required — The API key ID.
    - `blocked` boolean, required — Whether the API key is blocked.
    - `disabled` boolean, required — Whether the API key is disabled.
    - `redacted_api_key` string, required — The redacted API key.
  - `oauth` MeOAuthInfo — OAuth token details nested in the `/v1/me` response.
    - `client_id` string, required — The OAuth client_id of the application.
  - `team_blocked` boolean, required — Whether the team is blocked from making API requests.
  - `team_id` string, required — Team ID associated with the credentials.
  - `user_id` string, required — User ID associated with the credentials.
  - `zdr_status` 'no_zdr' | 'zdr' | 'pii_scrubbing', required — Zero Data Retention status for a team.

## Other responses

- `400` — Bad request.

---

[API](https://skmtc.net/x/apis/xai-s-rest-api.md) · [All operations](https://skmtc.net/x/apis/xai-s-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/x/xai-s-rest-api/versions/8f6014272113/schema)
