A billing sync, a health check, a nightly data export. The API key is in a .env file or crontab on the server. If the server is compromised, the key works from anywhere.
// Cron script — signs every request with device identity import { amesh } from '@authmesh/sdk'; const res = await amesh.fetch( 'https://api.internal/billing/sync', { method: 'POST', body: JSON.stringify({ date: '2026-04-01' }) } ); console.log(`Sync complete: ${res.status}`);