Skip to main content
Most brand CRUD lives in the web app’s server actions, not the standalone Express server. The endpoints below describe the public-facing patterns; the underlying tables live in Supabase and are accessible via the Supabase REST/RPC API directly with appropriate RLS-protected keys.

List brands

Returns brands the authenticated user’s organization can see (RLS-filtered).

Create a brand

After creation, you’ll typically follow up with:
  • POST /rest/v1/brand_domains — register the primary domain
  • POST /rest/v1/competitors — add competitor records
  • POST /rest/v1/prompt_sets + POST /rest/v1/prompts — set up the tracked prompt list

Update a brand

Delete a brand

Cascade-deletes all related rows: prompts, results, citations, suggestions, traffic logs.

Schema reference

See Supabase setup → schema for the full table definitions and relationships.

Continue: Tracking API

Trigger and inspect AI tracking jobs.