type

APIKeyInfo

Retrievable API-key metadata without its bearer secret.

Properties

PropertyTypeDescription
IDstringThe ID value.
NamestringThe Name value.
CreatedAtstringThe CreatedAt value.
LastUsedAtstringThe LastUsedAt value.
ExpiresAtstringThe ExpiresAt value.

Full signature

type APIKeyInfo struct { ID string `json:"id"` Name string `json:"name"` CreatedAt string `json:"createdAt"` LastUsedAt string `json:"lastUsedAt,omitempty"` ExpiresAt string `json:"expiresAt,omitempty"` }

Source protocol/envelope.go:535