Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Rate limit: 120 requests a minute per user, per project or organisation, per endpoint; some are stricter. X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (seconds) come back; over it answers 429.
  • This is the management API on api.supabase.com, not a project’s own REST/Auth/Storage API at <ref>.supabase.co, which needs the project’s keys and a per-project host.
  • Several endpoints (SQL query, advisors, database context) are marked experimental or beta and may change.

Endpoints

List projects

Get a project

List organisations

Check a project’s service health

Run a read-only SQL query

  • A read over POST, run as a read-only role. Beta.

Query project logs

  • Without both timestamps only the last minute is searched; the range may not exceed 24 hours and is rounded to the minute. The older logs.all endpoint now answers 410.

Get security advisor findings

  • Experimental.

Get performance advisor findings

  • Experimental.

List edge functions