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
Sample data: seven keys from Sep 16 to Nov 14, rotation on Sat 24, prod-runtime at 1.2M calls in 30 days
- 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
- Layer
- rotation · window
- Type
- Rectangle
- Size
- 10 × 217
- Fill
- data/primary
- Group
- Marks · 190
Layers
120 / Key timeline
- Layer
- rotation · window
- Type
- Rectangle
- Size
- 5 × 112
- Fill
- data/primary
- Group
- Marks · 190
Layers
120 / 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.
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
npx shadcn add @chartory/key-timelineimport { 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.
EmberPreset
ChartoryDefault preset
Pick the blocks, the size and the preset for your own widget.
Read the Hearth widget docsFAQ
Key timeline questions.
What people ask before they put a key timeline in a dashboard.
Something else?
hello@usechartory.comNew network, expires soon and rotation window, named in the legend.
The key's calls over the last 30 days (1.2M for prod-runtime in the sample).
One data object in the sample’s shape: keys with use per day, expiry and events. The docs page lists every field and links its JSON Schema; the sample data comes with the component, so you can start from it and swap in your own.
Series take the preset’s data colours in order, and states such as up, down or warning take its status colours. Change the preset in Figma or in code to recolour every chart at once.
XS, S, M and L, in light and dark. Each size is laid out again from the data, so text and lines keep their size.
Yes. It plays in when it scrolls into view, and when the data changes every mark moves from its old place to its new one. With reduced motion on, it does not move.
Yes. The Figma component comes with Figma and Complete, the React component with Code and Complete.
Ask for it by name. The MCP server tells the agent what data it needs and runs the same command: npx shadcn add @chartory/key-timeline. You review the diff.
Related types
Other ways to show schedule and status.
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.