Skip to main content
GET
Get current organization
Returns the authenticated org and user, plus all API keys visible to that org.

Headers

Response — 200

string
The org bound to the JWT.
string | null
The user bound to the JWT. May be null for service tokens.
array
API key metadata for the org, sorted by created_at descending. Plaintext keys are not included. To get a plaintext key, create a new one with POST /me/api-keys.

Example

Response

When to use

  • Build a “logged-in as” UI in your own product.
  • Audit which keys are still active before a rotation.
  • Verify that last_used_at advances after a deploy.