Skip to content

Key timeline

API keys, their use and when they expire.

Definition · Updated Nov 2, 2026

A key timeline gives each API key a lane with its calls per day, its expiry and planned rotations, and flags keys used from a new network. Use it for key rotation, secrets reviews and access audits.

Pay once. Every update included.

Live preview

API keys: calls and expiriesCalls per day over the last 30 days for 7 API keys; 3 keys expire in the next 30 days, and the rotation is set 8 days from today (rotate sat 24).prod-runtimerefunds-legacycrm-synceval-runnerci-deploybilling-exportdash-readonlyROTATE SAT 24TODAY→1.2M0→42K3K260→900→12KSEP 16NOV 14CALLS PER DAYNEW NETWORKEXPIRES SOONROTATION WINDOW
API keys: calls and expiries
KeyCallsExpiresFlag
prod-runtime1.2MJAN 12
refunds-legacy0In 17 daysNo calls
crm-sync42KFEB 3Call from a new network
eval-runner3KIn 12 days
ci-deploy260In 14 days
billing-export900MAR 30
dash-readonly12KAPR 18

Sample data: seven keys from Sep 16 to Nov 14, rotation on Sat 24, prod-runtime at 1.2M calls in 30 days

Size
Legend
Data shape
Keys with use per day, expiry and events
Good for
Key rotation, secrets reviews
Avoid when
Keys never expire
Sizes
XS, S, M and L, re-laid out from the data

Anatomy

Inspect it like the Figma file.

The same layers, names and tokens as the component. Select one to read its size, fill and style.

Layers

120 / Key timeline

chart/120-key-timeline
plot · key timeline
Layer
rotation · window
Type
Rectangle
Size
10 × 217
Fill
data/primary
Group
Marks · 190

Layers

120 / Key timeline

chart/120-key-timeline
plot · key timeline
Layer
rotation · window
Type
Rectangle
Size
2 × 84
Fill
data/primary
Group
Marks · 190

Sizes

Re-laid out, never scaled.

The same data at XS, S, M and L. Every size is redrawn from the data, so text and line weights never shrink.

M against S

Width360 px480 px

Plot328 px440 px

Labels2324

Marks190190

Height212 px246 px

Same tokens at every size: text styles, 1 px lines and mark radius stay put.

When to use

Which key needs attention.

Three signs it fits, and three signs another type fits better.

Is it keys over time?

What one key can reach.

Yes: Keep the key timeline

Do expiry dates matter?

Plain usage.

Yes: Keep the key timeline

Is it keys, not sessions?

Signed-in devices.

Yes: Keep the key timeline

Code and Figma

One name in Figma and in code.

Every Figma property is a prop with the same name and values. One command installs it.

Figma

chart/120-key-timeline

size
legend
Property = propValuesDefault
size"xs" · "s" · "m" · "l""xs"
legendtrue · falsetrue
color"cat-1" · "cat-2" · "cat-3" · "cat-4""cat-1"
npx shadcn add @chartory/key-timeline
key-timeline.tsx
import { KeyTimeline } from "@/components/chartory/key-timeline"import { apiKeys } from "./api-keys"export function ApiKeys() {  return (    <KeyTimeline      data={apiKeys}      size="m"      legend={true}    />  )}

Hearth widget

Key timeline as a widget.

The chart in a Hearth card with a hero number and two blocks. One token set, light and dark.

Get the code

EmberPreset

ChartoryDefault preset

Pick the blocks, the size and the preset for your own widget.

Read the Hearth widget docs

FAQ

Key timeline questions.

What people ask before they put a key timeline in a dashboard.

Something else?

hello@usechartory.com
  • New network, expires soon and rotation window, named in the legend.

Related types

The same question, a different shape of answer. Every type ships in Figma and in code.

Same family

Schedule and status

19 types in Chartory answer this question.