API
Public Edge and event endpoints used by the Node SDK.
Most sites should use the Node SDK (@amplifyup/sdk). These HTTP APIs are for custom clients, debugging, and understanding what the Node SDK calls.
Bases
| Surface | Production URL | Used for |
|---|---|---|
| Edge | https://edge.amplifyup.ai | Layouts: resolve, variants, routes, query |
| Events | https://api.amplifyup.ai | page and track events |
Identify your site with a tracking ID (track_…) from site settings. Edge accepts trackingId or site. Events include the tracking ID on the payload the Node SDK sends.
Browser calls are CORS-enabled. Prefer the Node SDK so visitor IDs, preview suppression, and retries stay consistent.
Endpoints
- GET /v1/resolve — resolved layout for a route
- GET /v1/variants — variant keys for ISR rewrites
- GET /v1/routes — published routes for SSG
- POST /v1/query — re-run a published content query
- POST /v1/page — page view
- POST /v1/track — custom events and identify
Publish, cache invalidation, and dashboard APIs are not public. They are not documented here.