Brands
List brands
Section titled “List brands”GET /rest/v1/brands?select=*,brand_domains(*),competitors(*)Authorization: Bearer <SUPABASE_JWT>apikey: <SUPABASE_ANON_KEY>Returns brands the authenticated user’s organization can see (RLS-filtered).
Create a brand
Section titled “Create a brand”POST /rest/v1/brandsContent-Type: application/jsonAuthorization: Bearer <SUPABASE_JWT>apikey: <SUPABASE_ANON_KEY>
{ "organization_id": "uuid", "name": "Acme Corp", "slug": "acme-corp", "industry": "SaaS", "region": "US", "language": "en"}After creation, you’ll typically follow up with:
POST /rest/v1/brand_domains— register the primary domainPOST /rest/v1/competitors— add competitor recordsPOST /rest/v1/prompt_sets+POST /rest/v1/prompts— set up the tracked prompt list
Update a brand
Section titled “Update a brand”PATCH /rest/v1/brands?id=eq.<uuid>Content-Type: application/jsonAuthorization: Bearer <SUPABASE_JWT>
{ "industry": "B2B SaaS" }Delete a brand
Section titled “Delete a brand”DELETE /rest/v1/brands?id=eq.<uuid>Authorization: Bearer <SUPABASE_JWT>Cascade-deletes all related rows: prompts, results, citations, suggestions, traffic logs.
Schema reference
Section titled “Schema reference”Trigger and inspect AI tracking jobs.