API
Public Edge and Event endpoints, plus workspace Tenant APIs.
Most sites should use the Node SDK (@amplifyup/sdk). HTTP APIs are grouped into three surfaces.
| Surface | Used for |
|---|---|
| Edge APIs | Published layouts: resolve, variants, routes, query |
| Event APIs | Page views, custom events, and identify |
| Tenant APIs | Workspace operations the dashboard uses (session auth) |
Identify a site with a tracking ID (track_…) on Edge and Event calls. Tenant APIs use a signed-in Amplify Up session instead.
Prefer the Node SDK on a website so visitor IDs, preview suppression, and retries stay consistent.
Edge APIs
Layouts for a published route. Details: Edge APIs.
Event APIs
Visitor activity for audiences and Insights. Details: Event APIs.
Tenant APIs
Dashboard APIs for your workspace. Not for the public site. Details: Tenant APIs.