SDK and CLI
Use the typed client in an application or run the same workflows from a terminal and CI.
Typed client
The client covers authenticated requests, upload batches, migrations, focal points, delivery domains, regional policy, webhooks, and SSO configuration.
TypeScript
import { SteadyLink } from "@steadylink/sdk";
const steadylink = new SteadyLink({ apiKey: process.env.STEADYLINK_API_KEY });
const { items } = await steadylink.listBuckets();Command line
Migrate a directory
export STEADYLINK_API_KEY="slk_..."
steadylink migrate ./public/media --bucket "$BUCKET_ID"Replace a file
steadylink replace ./campaign-hero.webp \
--bucket "$BUCKET_ID" \
--key "campaign/campaign-hero.webp"Set a focal point
steadylink focal "$ASSET_ID" --x 0.42 --y 0.31The CLI ignores symbolic links, preserves relative folders, uploads in groups of 100, and uses an idempotency key when it finalizes every file.
Need another path?