mistralM

Docs

ImprovementAPICloud

API key expiration policies and notifications

Public Preview · Mistral-Hosted

Organization Admins and Workspace Admins can now set maximum validity periods for new API keys and notify key owners before expiration.

What's New

API key expiration policies help admins set maximum validity periods at the Organization or Workspace level. Expiration notifications warn key owners before their keys expire, so teams can rotate keys before integrations stop working.

Key Capabilities

  • Organization and Workspace policies: Set maximum validity periods for newly created API keys at the Organization or Workspace level.
  • Workspace-specific limits: Let Workspace Admins set stricter limits than the Organization maximum when a Workspace needs a shorter key lifetime.
  • Expiration notifications: Send email notifications before API keys expire so key owners can rotate keys on time.
  • Policy enforcement at creation: Apply active policies when API keys are created or rotated.
  • Backward compatibility: Your existing keys are not affected, including those that never expire.

Get Started

Configure API key expiration policies from Admin settings. See API key expiration policy for behavior details. API key expiration policy