Skip to content

Route contract

Astro implements generic routes. Supabase resolves what they mean.

/{agent_slug}/{yyyymmdd}/
/{agent_slug}/{channel_slug}/{yyyymmdd}/
  1. Look up agents.slug.
  2. Resolve tenant from the agent.
  3. Resolve main channel for the two-segment route, or named channel for the three-segment route.
  4. Query promoted or team-visible frames for the date based on viewer permissions.
  5. Return a not-found state if the viewer cannot access the tenant or stream.

V1 does not generate one Astro page per agent or date.