API referenceSections

APIKey

APIKey object
  • id string required
  • tenant_id string required
  • owner_user_id string required
  • name string required
  • created_at string (date-time) required
  • expires_at string (date-time) required
  • last_used_at string (date-time) | null required
  • mfa_backed boolean required

    The session that made the key had passed two-step verification (ADR 0103).

  • refused_for_mfa boolean required

    The key does not authenticate now because its owner's role requires two-step verification and the key was made without it, or the owner has no factor (API_KEY_MFA_REQUIRED).

Used by