feat(api-tokens): show last usage in token lists

Merged
ER
11h ago
+116-10

Help users assess token activity directly from organization settings when
reviewing credentials to keep or remove.

Show Last used beside creation details for regular and policy API tokens.
Format the timestamp as a human-readable age relative to when the list
loads, keeping that reference stable across rerenders. Show the exact UTC
timestamp on hover and No recorded usage when the value is null or absent.

Extend the list prop types with optional last_used_at support while the
pinned generated API client does not yet declare the field.

Test relative formatting, placement, hover timestamps, missing values, and
the fixed reference time across rerenders for both lists.
image


Summary by cubic

Shows when API tokens were last used in organization settings so users can decide which credentials to keep or remove.

  • Displays "Last used" next to creation details for regular and policy API tokens, formatted as a relative age anchored to when the list loads so it stays stable across rerenders.
  • Shows the exact UTC timestamp on hover and hides the field entirely when last_used_at is null or absent.
  • Bumps qovery-typescript-axios to 1.1.1011 to declare last_used_at on token types.