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

Request

  • Base URL: https://docs.x.ai (the document declares no server; this is the origin it was published from)
  • URL: https://docs.x.ai/v1/me
  • Auth: HTTP bearer

Response

Success

team_blockedboolean required

Whether the team is blocked from making API requests.

team_idstring required

Team ID associated with the credentials.

user_idstring required

User ID associated with the credentials.

zdr_status'no_zdr' | 'zdr' | 'pii_scrubbing' required

Zero Data Retention status for a team.

Changes

No recorded changes to this operation across all 1 revision of this API.