Skip to main content
GET
Get the API key lifetime policy

Authorizations

Authorization
string
header
required

A Barndoor API key, sent as Authorization: Bearer <key>. Keys are prefixed bdai_ and are opaque — do not attempt to decode one. Interchangeable with an OAuth 2.0 access token.

Response

The requested record

groups
object[]
required

Per-IdP-group overrides. A user in several of these gets the strictest.

users
object[]
required

Per-user overrides. A user's own override wins over their groups and the default.

default
object | null

The org default; None means self-serve keys have no lifetime limit unless a group override applies.