Get the current key
Returns the key making the request: its owner, plan, permissions, limits and expiry. Call it first to see what the key may do. It never shows the secret.
Works with any key.
Authorizations
An API key from Settings → API keys, sent as Authorization: Bearer jb_live_…
Response
The key.
The key id, 12 lowercase letters and digits. It is the part after jb_live_ and before the secret.
user for keys made in the app, service for internal service keys.
user, service The name given to the key.
The account that owns the key.
The account's plan.
free, go, plus, pro, max Permissions granted, sorted. A write permission also includes its read permission.
account:read, billing:write, ai, agent:read, agent:write, deploy:read, deploy:write, deploy:admin, files:read, files:write, automations:read, automations:write, automations:run, webhooks:write, projects:read, projects:write, domains:read, domains:write Limits set on the key. Only the limits that are set appear.
When the key stops working, or null if it does not expire.