Call PostgreSQL function
documentedExecute a server-side database function and return its result.
POST /rpc/{function_name}Functionsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://{{$project_ref}}.supabase.co/rest/v1/rpc/{{$function_name}}" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "apikey: {{SUPABASE_API_KEY}}" \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "X-Supabase-Secret: {{SUPABASE_SECRET}}" \
-d '{"argA": "{{$argA}}", "argB": "{{$argB}}"}'