Skip to content

API · Operation

Supabase ref: girqcghlkymftqfdxpmc

Endpoints principais

  • /rest/v1/wb_tasks — tasks Workboard
  • /rest/v1/wb_attachments — anexos
  • /rest/v1/wb_comments — comentários
  • /rest/v1/wb_consolidated — rollup
  • /rest/v1/trace_client_voices — vozes Trace
  • /rest/v1/content_generations — Stella gerações
  • /rest/v1/content_research — Stella pesquisas
  • /rest/v1/team_members — usuários · RLS rigoroso
  • /rest/v1/consents — LGPD consents
  • /rest/v1/audit_log — Phase 2 LGPD
  • /rest/v1/dsar_requests — direitos titular
  • /rest/v1/security_incidents — incidentes LGPD

RPCs (funções SECURITY DEFINER)

  • record_consent(user_id, purpose, granted) — GAP-3 helper
  • revoke_consent(user_id, purpose)
  • lgpd_is_admin_or_dpo() — helper RLS
  • wb_cron_create_task(...) — destrava cron INSERT
  • wb_consolidated_period(start, end) — RPC consolidado

Auth

Bearer JWT do usuário OU service_role (apenas Edge Fns trusted).

Spec completa

curl https://girqcghlkymftqfdxpmc.supabase.co/rest/v1/?apikey=$ANON_KEY > openapi-operation.json