>Forgepoint

Documentation

Documentation built for the terminal generation.

Copy-paste-ready snippets, typed examples, and a reference that stays in sync with every release.

forge init my-api

Quickstart

Install the CLI, scaffold a project, and deploy your first edge route in under three minutes.

defineRoute({ path: "/u/:id" })

Routing

Define typed routes, dynamic params, wildcards, and per-route region pinning.

ctx.kv.get("session")

Storage primitives

Edge KV, durable queues, and a globally cached object store — all region-aware.

ctx.auth.verify(req)

Authentication

Verify JWTs, rotate signing keys, and gate routes with middleware at the edge.

forge logs --tail

Observability

Structured logs, distributed traces, and metric exports to your existing stack.

forge --help

CLI reference

Every command, flag, and exit code for forge — the one binary you deploy with.

Common commands

Everything you need ships in the one forge binary.

Deploy a route
$ forge deploy --prod
Built routes/checkout.ts → b3f1c9a · live in 310 regions · 1.4s
Tail logs
$ forge logs --tail --trace
200 POST /v1/checkout iad1 27ms trace=8d2c…
Roll back
$ forge rollback b3f1c9a
Traffic shifted to b3f1c9a · 0 dropped requests