v64

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-03124241726.5 KB
Account

Get account

Returns the caller's account snapshot: the organization the request is scoped to, plus the user record and their role when the request was made by a real user (OAuth). API-key callers receive user: null and role: null because API keys aren't tied to a specific user.

get/v1/account

Response

Account snapshot

role'owner' | 'admin' | 'member' | 'null' nullable required

Caller's role in the organization. null for API-key callers (no real user behind the credential).