API Reference

Auto-generated from your schema. Try requests inline; scopes come from the tokens dashboard.

GraphQL: POST /graphql/v1 — same auth, RLS appliedPrometheus: GET /metrics — text exposition, no authRealtime: WS /rt/v1 — see the Realtime dashboard

Endpoint reference

All routes are served under {VITE_PLUTO_URL} (same-origin via /api/pluto/* proxy). Auth: send Authorization: Bearer <access_token> + apikey: <VITE_PLUTO_ANON_KEY>. Admin routes additionally require a session with is_superadmin=true (or a service-role key).

Health

  • GET/livezLiveness probe
  • GET/readyzReadiness — DB + JWT
  • GET/health/migrationsApplied migrations ledger

Auth

  • POST/auth/v1/signupEmail + password sign-up
  • POST/auth/v1/tokenPassword / refresh grant
  • POST/auth/v1/recoverSend password reset email
  • POST/auth/v1/verifyVerify email OTP
  • POST/auth/v1/logoutRevoke current session

Admin · Users

super_admin
  • GET/admin/v1/usersList users (500 most recent)
  • PATCH/admin/v1/users/:idUpdate role / is_superadmin / email_verified
  • DELETE/admin/v1/users/:idDelete a user (cannot delete self)

Admin · Projects & Keys

super_admin
  • GET/admin/v1/projectsList projects
  • POST/admin/v1/projectsCreate project
  • GET/admin/v1/projects/:id/membersList members
  • POST/admin/v1/projects/:id/membersAdd member (owner/admin/developer/viewer)
  • GET/admin/v1/projects/:id/keysList API keys
  • POST/admin/v1/projects/:id/keysMint API key
  • POST/admin/v1/projects/:id/keys/:keyId/rotateRotate API key

Admin · Audit & Studio

  • GET/admin/v1/auditPaginated audit events
  • GET/admin/v1/studio/tables?schema=…List tables in a schema
  • GET/admin/v1/studio/columns?schema=…&table=…Columns + FK + PK
  • GET/admin/v1/settingsFeature flags

Storage

  • GET/storage/v1/bucketList buckets
  • POST/storage/v1/bucketCreate bucket
  • POST/storage/v1/object/:bucket/*Upload object
  • GET/storage/v1/object/:bucket/*Download object
  • DELETE/storage/v1/object/:bucket/*Delete object

Data API (REST)

  • GET/rest/v1/:table?select=*Select rows (PostgREST-compatible)
  • POST/rest/v1/:tableInsert rows
  • PATCH/rest/v1/:table?id=eq.…Update rows
  • DELETE/rest/v1/:table?id=eq.…Delete rows

Jobs & Functions

  • GET/jobs/v1/tokensList job tokens
  • POST/jobs/v1/tokensMint job token
  • GET/functions/v1/listList edge functions
  • POST/functions/v1/:slugInvoke edge function
Not yet on the backend (returns 404 today)
  • /admin/v1/stats, /admin/v1/workspaces, /admin/v1/integrations/health
  • /admin/v1/sql/history, /admin/v1/cors/origins, /admin/v1/rate-limits
  • /ai/v1/*, /queue/v1/*, /templates/v1, /push/v1/*
  • /auth/v1/sso/providers, WS system:audit / system:migrations