# supabase OpenAPI overview

> Below is an overview of the supabase openapi in simple language. This API contains 169 endpoints.

For more detailed information of an endpoint, visit https://oapis.org/summary/supabase/[idOrRoute]

Supabase API (v1) v1.0.0 - https://api.supabase.com
Supabase API generated from the OpenAPI specification.<br>Visit [https://supabase.com/docs](https://supabase.com/docs) for a complete documentation.

## Advisors

Advisors related endpoints

- [v1-get-performance-advisors](https://oapis.org/openapi/supabase/v1-get-performance-advisors): GET https://api.supabase.com/v1/projects/{ref}/advisors/performance - Gets project performance advisors.
- [v1-get-security-advisors](https://oapis.org/openapi/supabase/v1-get-security-advisors): GET https://api.supabase.com/v1/projects/{ref}/advisors/security?lint_type=string - Gets project security advisors.

## Analytics

Analytics related endpoints

- [v1-get-project-logs-all](https://oapis.org/openapi/supabase/v1-get-project-logs-all): GET https://api.supabase.com/v1/projects/{ref}/analytics/endpoints/logs.all?sql=string&iso_timestamp_start=string&iso_timestamp_end=string - Gets project's logs
- [v1-get-project-logs](https://oapis.org/openapi/supabase/v1-get-project-logs): GET https://api.supabase.com/v1/projects/{ref}/analytics/endpoints/logs?sql=string&iso_timestamp_start=string&iso_timestamp_end=string - Gets all project's logs in a single log stream
- [v1-get-project-usage-api-count](https://oapis.org/openapi/supabase/v1-get-project-usage-api-count): GET https://api.supabase.com/v1/projects/{ref}/analytics/endpoints/usage.api-counts?interval=string - Gets project's usage api counts
- [v1-get-project-usage-request-count](https://oapis.org/openapi/supabase/v1-get-project-usage-request-count): GET https://api.supabase.com/v1/projects/{ref}/analytics/endpoints/usage.api-requests-count - Gets project's usage api requests count
- [v1-get-project-function-combined-stats](https://oapis.org/openapi/supabase/v1-get-project-function-combined-stats): GET https://api.supabase.com/v1/projects/{ref}/analytics/endpoints/functions.combined-stats?interval=string&function_id=string - Gets a project's function combined statistics
- [v1-scrape-project-metrics](https://oapis.org/openapi/supabase/v1-scrape-project-metrics): GET https://api.supabase.com/v1/projects/{ref}/analytics/endpoints/metrics - Scrape a project's metrics

## Auth

Auth related endpoints

- [v1-get-legacy-signing-key](https://oapis.org/openapi/supabase/v1-get-legacy-signing-key): GET https://api.supabase.com/v1/projects/{ref}/config/auth/signing-keys/legacy - Get the signing key information for the JWT secret imported as signing key for this project. This endpoint will be removed in the future, check for HTTP 404 Not Found.
- [v1-create-legacy-signing-key](https://oapis.org/openapi/supabase/v1-create-legacy-signing-key): POST https://api.supabase.com/v1/projects/{ref}/config/auth/signing-keys/legacy - Set up the project's existing JWT secret as an in_use JWT signing key. This endpoint will be removed in the future always check for HTTP 404 Not Found.
- [v1-get-project-signing-keys](https://oapis.org/openapi/supabase/v1-get-project-signing-keys): GET https://api.supabase.com/v1/projects/{ref}/config/auth/signing-keys - List all signing keys for the project
- [v1-create-project-signing-key](https://oapis.org/openapi/supabase/v1-create-project-signing-key): POST https://api.supabase.com/v1/projects/{ref}/config/auth/signing-keys - Create a new signing key for the project in standby status
- [v1-get-project-signing-key](https://oapis.org/openapi/supabase/v1-get-project-signing-key): GET https://api.supabase.com/v1/projects/{ref}/config/auth/signing-keys/{id} - Get information about a signing key
- [v1-update-project-signing-key](https://oapis.org/openapi/supabase/v1-update-project-signing-key): PATCH https://api.supabase.com/v1/projects/{ref}/config/auth/signing-keys/{id} - Update a signing key, mainly its status
- [v1-remove-project-signing-key](https://oapis.org/openapi/supabase/v1-remove-project-signing-key): DELETE https://api.supabase.com/v1/projects/{ref}/config/auth/signing-keys/{id} - Remove a signing key from a project. Only possible if the key has been in revoked status for a while.
- [v1-get-auth-service-config](https://oapis.org/openapi/supabase/v1-get-auth-service-config): GET https://api.supabase.com/v1/projects/{ref}/config/auth - Gets project's auth config
- [v1-update-auth-service-config](https://oapis.org/openapi/supabase/v1-update-auth-service-config): PATCH https://api.supabase.com/v1/projects/{ref}/config/auth - Updates a project's auth config
- [v1-list-project-tpa-integrations](https://oapis.org/openapi/supabase/v1-list-project-tpa-integrations): GET https://api.supabase.com/v1/projects/{ref}/config/auth/third-party-auth - Lists all third-party auth integrations
- [v1-create-project-tpa-integration](https://oapis.org/openapi/supabase/v1-create-project-tpa-integration): POST https://api.supabase.com/v1/projects/{ref}/config/auth/third-party-auth - Creates a new third-party auth integration
- [v1-get-project-tpa-integration](https://oapis.org/openapi/supabase/v1-get-project-tpa-integration): GET https://api.supabase.com/v1/projects/{ref}/config/auth/third-party-auth/{tpa_id} - Get a third-party integration
- [v1-delete-project-tpa-integration](https://oapis.org/openapi/supabase/v1-delete-project-tpa-integration): DELETE https://api.supabase.com/v1/projects/{ref}/config/auth/third-party-auth/{tpa_id} - Removes a third-party auth integration
- [v1-list-all-sso-provider](https://oapis.org/openapi/supabase/v1-list-all-sso-provider): GET https://api.supabase.com/v1/projects/{ref}/config/auth/sso/providers - Lists all SSO providers
- [v1-create-a-sso-provider](https://oapis.org/openapi/supabase/v1-create-a-sso-provider): POST https://api.supabase.com/v1/projects/{ref}/config/auth/sso/providers - Creates a new SSO provider
- [v1-get-a-sso-provider](https://oapis.org/openapi/supabase/v1-get-a-sso-provider): GET https://api.supabase.com/v1/projects/{ref}/config/auth/sso/providers/{provider_id} - Gets a SSO provider by its UUID
- [v1-update-a-sso-provider](https://oapis.org/openapi/supabase/v1-update-a-sso-provider): PUT https://api.supabase.com/v1/projects/{ref}/config/auth/sso/providers/{provider_id} - Updates a SSO provider by its UUID
- [v1-delete-a-sso-provider](https://oapis.org/openapi/supabase/v1-delete-a-sso-provider): DELETE https://api.supabase.com/v1/projects/{ref}/config/auth/sso/providers/{provider_id} - Removes a SSO provider by its UUID

## Billing

Billing related endpoints

- [v1-list-project-addons](https://oapis.org/openapi/supabase/v1-list-project-addons): GET https://api.supabase.com/v1/projects/{ref}/billing/addons - List billing addons and compute instance selections
- [v1-apply-project-addon](https://oapis.org/openapi/supabase/v1-apply-project-addon): PATCH https://api.supabase.com/v1/projects/{ref}/billing/addons - Apply or update billing addons, including compute instance size
- [v1-remove-project-addon](https://oapis.org/openapi/supabase/v1-remove-project-addon): DELETE https://api.supabase.com/v1/projects/{ref}/billing/addons/{addon_variant} - Remove billing addons or revert compute instance sizing

## Database

Database related endpoints

- [v1-list-all-snippets](https://oapis.org/openapi/supabase/v1-list-all-snippets): GET https://api.supabase.com/v1/snippets?project_ref=string&cursor=string&limit=string&sort_by=string&sort_order=string - Lists SQL snippets for the logged in user
- [v1-get-a-snippet](https://oapis.org/openapi/supabase/v1-get-a-snippet): GET https://api.supabase.com/v1/snippets/{id} - Gets a specific SQL snippet
- [v1-get-jit-access-config](https://oapis.org/openapi/supabase/v1-get-jit-access-config): GET https://api.supabase.com/v1/projects/{ref}/jit-access - [Beta] Get project's temporary access configuration.
- [v1-update-jit-access-config](https://oapis.org/openapi/supabase/v1-update-jit-access-config): PUT https://api.supabase.com/v1/projects/{ref}/jit-access - [Beta] Update project's temporary access configuration.
- [v1-get-ssl-enforcement-config](https://oapis.org/openapi/supabase/v1-get-ssl-enforcement-config): GET https://api.supabase.com/v1/projects/{ref}/ssl-enforcement - [Beta] Get project's SSL enforcement configuration.
- [v1-update-ssl-enforcement-config](https://oapis.org/openapi/supabase/v1-update-ssl-enforcement-config): PUT https://api.supabase.com/v1/projects/{ref}/ssl-enforcement - [Beta] Update project's SSL enforcement configuration.
- [v1-generate-typescript-types](https://oapis.org/openapi/supabase/v1-generate-typescript-types): GET https://api.supabase.com/v1/projects/{ref}/types/typescript?included_schemas=string - Generate TypeScript types
- [v1-get-readonly-mode-status](https://oapis.org/openapi/supabase/v1-get-readonly-mode-status): GET https://api.supabase.com/v1/projects/{ref}/readonly - Returns project's readonly mode status
- [v1-disable-readonly-mode-temporarily](https://oapis.org/openapi/supabase/v1-disable-readonly-mode-temporarily): POST https://api.supabase.com/v1/projects/{ref}/readonly/temporary-disable - Disables project's readonly mode for the next 15 minutes
- [v1-setup-a-read-replica](https://oapis.org/openapi/supabase/v1-setup-a-read-replica): POST https://api.supabase.com/v1/projects/{ref}/read-replicas/setup - [Beta] Set up a read replica
- [v1-remove-a-read-replica](https://oapis.org/openapi/supabase/v1-remove-a-read-replica): POST https://api.supabase.com/v1/projects/{ref}/read-replicas/remove - [Beta] Remove a read replica
- [v1-create-login-role](https://oapis.org/openapi/supabase/v1-create-login-role): POST https://api.supabase.com/v1/projects/{ref}/cli/login-role - [Beta] Create a login role for CLI with temporary password
- [v1-delete-login-roles](https://oapis.org/openapi/supabase/v1-delete-login-roles): DELETE https://api.supabase.com/v1/projects/{ref}/cli/login-role - [Beta] Delete existing login roles used by CLI
- [v1-list-migration-history](https://oapis.org/openapi/supabase/v1-list-migration-history): GET https://api.supabase.com/v1/projects/{ref}/database/migrations - List applied migration versions
- [v1-apply-a-migration](https://oapis.org/openapi/supabase/v1-apply-a-migration): POST https://api.supabase.com/v1/projects/{ref}/database/migrations - Apply a database migration
- [v1-upsert-a-migration](https://oapis.org/openapi/supabase/v1-upsert-a-migration): PUT https://api.supabase.com/v1/projects/{ref}/database/migrations - Upsert a database migration without applying
- [v1-rollback-migrations](https://oapis.org/openapi/supabase/v1-rollback-migrations): DELETE https://api.supabase.com/v1/projects/{ref}/database/migrations?gte=string - Rollback database migrations and remove them from history table
- [v1-get-a-migration](https://oapis.org/openapi/supabase/v1-get-a-migration): GET https://api.supabase.com/v1/projects/{ref}/database/migrations/{version} - Fetch an existing entry from migration history
- [v1-patch-a-migration](https://oapis.org/openapi/supabase/v1-patch-a-migration): PATCH https://api.supabase.com/v1/projects/{ref}/database/migrations/{version} - Patch an existing entry in migration history
- [v1-run-a-query](https://oapis.org/openapi/supabase/v1-run-a-query): POST https://api.supabase.com/v1/projects/{ref}/database/query - [Beta] Run sql query
- [v1-read-only-query](https://oapis.org/openapi/supabase/v1-read-only-query): POST https://api.supabase.com/v1/projects/{ref}/database/query/read-only - [Beta] Run a sql query as supabase_read_only_user
- [v1-enable-database-webhook](https://oapis.org/openapi/supabase/v1-enable-database-webhook): POST https://api.supabase.com/v1/projects/{ref}/database/webhooks/enable - [Beta] Enables Database Webhooks on the project
- [v1-get-database-metadata](https://oapis.org/openapi/supabase/v1-get-database-metadata): GET https://api.supabase.com/v1/projects/{ref}/database/context - Gets database metadata for the given project.
- [v1-update-database-password](https://oapis.org/openapi/supabase/v1-update-database-password): PATCH https://api.supabase.com/v1/projects/{ref}/database/password - Updates the database password
- [v1-get-jit-access](https://oapis.org/openapi/supabase/v1-get-jit-access): GET https://api.supabase.com/v1/projects/{ref}/database/jit - Get user-id to role mappings for JIT access
- [v1-authorize-jit-access](https://oapis.org/openapi/supabase/v1-authorize-jit-access): POST https://api.supabase.com/v1/projects/{ref}/database/jit - Authorize user-id to role mappings for JIT access
- [v1-update-jit-access](https://oapis.org/openapi/supabase/v1-update-jit-access): PUT https://api.supabase.com/v1/projects/{ref}/database/jit - Updates a user mapping for JIT access
- [v1-list-jit-access](https://oapis.org/openapi/supabase/v1-list-jit-access): GET https://api.supabase.com/v1/projects/{ref}/database/jit/list - List all user-id to role mappings for JIT access
- [v1-invite-external-jit-access](https://oapis.org/openapi/supabase/v1-invite-external-jit-access): POST https://api.supabase.com/v1/projects/{ref}/database/jit/invite - Invites an external user to a database for JIT access
- [v1-accept-invite-external-jit-access](https://oapis.org/openapi/supabase/v1-accept-invite-external-jit-access): POST https://api.supabase.com/v1/projects/{ref}/database/jit/invite/accept - Accepts invitation for JIT database access
- [v1-delete-invite-external-jit-access](https://oapis.org/openapi/supabase/v1-delete-invite-external-jit-access): DELETE https://api.supabase.com/v1/projects/{ref}/database/jit/invite/{invite_id} - Deletes the invite for an external user to a database for JIT access
- [v1-delete-jit-access](https://oapis.org/openapi/supabase/v1-delete-jit-access): DELETE https://api.supabase.com/v1/projects/{ref}/database/jit/{user_id} - Delete JIT access by user-id
- [v1-get-database-openapi](https://oapis.org/openapi/supabase/v1-get-database-openapi): GET https://api.supabase.com/v1/projects/{ref}/database/openapi?schema=string - Get PostgREST OpenAPI spec
- [v1-get-project-pgbouncer-config](https://oapis.org/openapi/supabase/v1-get-project-pgbouncer-config): GET https://api.supabase.com/v1/projects/{ref}/config/database/pgbouncer - Get project's pgbouncer config
- [v1-get-pooler-config](https://oapis.org/openapi/supabase/v1-get-pooler-config): GET https://api.supabase.com/v1/projects/{ref}/config/database/pooler - Gets project's supavisor config
- [v1-update-pooler-config](https://oapis.org/openapi/supabase/v1-update-pooler-config): PATCH https://api.supabase.com/v1/projects/{ref}/config/database/pooler - Updates project's supavisor config
- [v1-get-postgres-config](https://oapis.org/openapi/supabase/v1-get-postgres-config): GET https://api.supabase.com/v1/projects/{ref}/config/database/postgres - Gets project's Postgres config
- [v1-update-postgres-config](https://oapis.org/openapi/supabase/v1-update-postgres-config): PUT https://api.supabase.com/v1/projects/{ref}/config/database/postgres - Updates project's Postgres config
- [v1-list-all-backups](https://oapis.org/openapi/supabase/v1-list-all-backups): GET https://api.supabase.com/v1/projects/{ref}/database/backups - Lists all backups
- [v1-restore-pitr-backup](https://oapis.org/openapi/supabase/v1-restore-pitr-backup): POST https://api.supabase.com/v1/projects/{ref}/database/backups/restore-pitr - Restores a PITR backup for a database
- [v1-get-restore-point](https://oapis.org/openapi/supabase/v1-get-restore-point): GET https://api.supabase.com/v1/projects/{ref}/database/backups/restore-point?name=string - Get restore points for project
- [v1-create-restore-point](https://oapis.org/openapi/supabase/v1-create-restore-point): POST https://api.supabase.com/v1/projects/{ref}/database/backups/restore-point - Initiates a creation of a restore point for a database
- [v1-restore-physical-backup](https://oapis.org/openapi/supabase/v1-restore-physical-backup): POST https://api.supabase.com/v1/projects/{ref}/database/backups/restore - Restores a physical backup for a database
- [v1-get-backup-schedule](https://oapis.org/openapi/supabase/v1-get-backup-schedule): GET https://api.supabase.com/v1/projects/{ref}/database/backups/schedule - Gets the backup schedule for a project
- [v1-update-backup-schedule](https://oapis.org/openapi/supabase/v1-update-backup-schedule): PATCH https://api.supabase.com/v1/projects/{ref}/database/backups/schedule - Updates the backup schedule time for a project
- [v1-undo](https://oapis.org/openapi/supabase/v1-undo): POST https://api.supabase.com/v1/projects/{ref}/database/backups/undo - Initiates an undo to a given restore point

## Domains

Domains related endpoints

- [v1-get-hostname-config](https://oapis.org/openapi/supabase/v1-get-hostname-config): GET https://api.supabase.com/v1/projects/{ref}/custom-hostname - [Beta] Gets project's custom hostname config
- [v1-Delete hostname config](https://oapis.org/openapi/supabase/v1-Delete hostname config): DELETE https://api.supabase.com/v1/projects/{ref}/custom-hostname?remove_addon=string - [Beta] Deletes a project's custom hostname configuration
- [v1-update-hostname-config](https://oapis.org/openapi/supabase/v1-update-hostname-config): POST https://api.supabase.com/v1/projects/{ref}/custom-hostname/initialize - [Beta] Updates project's custom hostname configuration
- [v1-verify-dns-config](https://oapis.org/openapi/supabase/v1-verify-dns-config): POST https://api.supabase.com/v1/projects/{ref}/custom-hostname/reverify - [Beta] Attempts to verify the DNS configuration for project's custom hostname configuration
- [v1-activate-custom-hostname](https://oapis.org/openapi/supabase/v1-activate-custom-hostname): POST https://api.supabase.com/v1/projects/{ref}/custom-hostname/activate - [Beta] Activates a custom hostname for a project.
- [v1-get-vanity-subdomain-config](https://oapis.org/openapi/supabase/v1-get-vanity-subdomain-config): GET https://api.supabase.com/v1/projects/{ref}/vanity-subdomain - [Beta] Gets current vanity subdomain config
- [v1-deactivate-vanity-subdomain-config](https://oapis.org/openapi/supabase/v1-deactivate-vanity-subdomain-config): DELETE https://api.supabase.com/v1/projects/{ref}/vanity-subdomain - [Beta] Deletes a project's vanity subdomain configuration
- [v1-check-vanity-subdomain-availability](https://oapis.org/openapi/supabase/v1-check-vanity-subdomain-availability): POST https://api.supabase.com/v1/projects/{ref}/vanity-subdomain/check-availability - [Beta] Checks vanity subdomain availability
- [v1-activate-vanity-subdomain-config](https://oapis.org/openapi/supabase/v1-activate-vanity-subdomain-config): POST https://api.supabase.com/v1/projects/{ref}/vanity-subdomain/activate - [Beta] Activates a vanity subdomain for a project.

## Edge Functions

Edge related endpoints

- [v1-list-all-functions](https://oapis.org/openapi/supabase/v1-list-all-functions): GET https://api.supabase.com/v1/projects/{ref}/functions - List all functions
- [v1-create-a-function](https://oapis.org/openapi/supabase/v1-create-a-function): POST https://api.supabase.com/v1/projects/{ref}/functions?slug=string&name=string&verify_jwt=string&import_map=string&entrypoint_path=string&import_map_path=string&ezbr_sha256=string - Create a function
- [v1-bulk-update-functions](https://oapis.org/openapi/supabase/v1-bulk-update-functions): PUT https://api.supabase.com/v1/projects/{ref}/functions - Bulk update functions
- [v1-deploy-a-function](https://oapis.org/openapi/supabase/v1-deploy-a-function): POST https://api.supabase.com/v1/projects/{ref}/functions/deploy?slug=string&bundleOnly=string - Deploy a function
- [v1-get-a-function](https://oapis.org/openapi/supabase/v1-get-a-function): GET https://api.supabase.com/v1/projects/{ref}/functions/{function_slug} - Retrieve a function
- [v1-update-a-function](https://oapis.org/openapi/supabase/v1-update-a-function): PATCH https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}?slug=string&name=string&verify_jwt=string&import_map=string&entrypoint_path=string&import_map_path=string&ezbr_sha256=string - Update a function
- [v1-delete-a-function](https://oapis.org/openapi/supabase/v1-delete-a-function): DELETE https://api.supabase.com/v1/projects/{ref}/functions/{function_slug} - Delete a function
- [v1-get-a-function-body](https://oapis.org/openapi/supabase/v1-get-a-function-body): GET https://api.supabase.com/v1/projects/{ref}/functions/{function_slug}/body - Retrieve a function body

## Environments

Environments related endpoints

- [v1-get-a-branch-config](https://oapis.org/openapi/supabase/v1-get-a-branch-config): GET https://api.supabase.com/v1/branches/{branch_id_or_ref} - Get database branch config
- [v1-update-a-branch-config](https://oapis.org/openapi/supabase/v1-update-a-branch-config): PATCH https://api.supabase.com/v1/branches/{branch_id_or_ref} - Update database branch config
- [v1-delete-a-branch](https://oapis.org/openapi/supabase/v1-delete-a-branch): DELETE https://api.supabase.com/v1/branches/{branch_id_or_ref}?force=string - Delete a database branch
- [v1-push-a-branch](https://oapis.org/openapi/supabase/v1-push-a-branch): POST https://api.supabase.com/v1/branches/{branch_id_or_ref}/push - Pushes a database branch
- [v1-merge-a-branch](https://oapis.org/openapi/supabase/v1-merge-a-branch): POST https://api.supabase.com/v1/branches/{branch_id_or_ref}/merge - Merges a database branch
- [v1-reset-a-branch](https://oapis.org/openapi/supabase/v1-reset-a-branch): POST https://api.supabase.com/v1/branches/{branch_id_or_ref}/reset - Resets a database branch
- [v1-restore-a-branch](https://oapis.org/openapi/supabase/v1-restore-a-branch): POST https://api.supabase.com/v1/branches/{branch_id_or_ref}/restore - Restore a scheduled branch deletion
- [v1-diff-a-branch](https://oapis.org/openapi/supabase/v1-diff-a-branch): GET https://api.supabase.com/v1/branches/{branch_id_or_ref}/diff?included_schemas=string&pgdelta=string - [Beta] Diffs a database branch
- [v1-list-action-runs](https://oapis.org/openapi/supabase/v1-list-action-runs): GET https://api.supabase.com/v1/projects/{ref}/actions?offset=number&limit=number - List all action runs
- [v1-get-action-run](https://oapis.org/openapi/supabase/v1-get-action-run): GET https://api.supabase.com/v1/projects/{ref}/actions/{run_id} - Get the status of an action run
- [v1-update-action-run-status](https://oapis.org/openapi/supabase/v1-update-action-run-status): PATCH https://api.supabase.com/v1/projects/{ref}/actions/{run_id}/status - Update the status of an action run
- [v1-get-action-run-logs](https://oapis.org/openapi/supabase/v1-get-action-run-logs): GET https://api.supabase.com/v1/projects/{ref}/actions/{run_id}/logs - Get the logs of an action run
- [v1-list-all-branches](https://oapis.org/openapi/supabase/v1-list-all-branches): GET https://api.supabase.com/v1/projects/{ref}/branches - List all database branches
- [v1-create-a-branch](https://oapis.org/openapi/supabase/v1-create-a-branch): POST https://api.supabase.com/v1/projects/{ref}/branches - Create a database branch
- [v1-disable-preview-branching](https://oapis.org/openapi/supabase/v1-disable-preview-branching): DELETE https://api.supabase.com/v1/projects/{ref}/branches - Disables preview branching
- [v1-get-a-branch](https://oapis.org/openapi/supabase/v1-get-a-branch): GET https://api.supabase.com/v1/projects/{ref}/branches/{name} - Get a database branch

## OAuth

OAuth related endpoints

- [v1-authorize-user](https://oapis.org/openapi/supabase/v1-authorize-user): GET https://api.supabase.com/v1/oauth/authorize?client_id=string&response_type=string&redirect_uri=string&scope=string&state=string&response_mode=string&code_challenge=string&code_challenge_method=string&organization_slug=string&target_flow=string&resource=string - [Beta] Authorize user through oauth
- [v1-exchange-oauth-token](https://oapis.org/openapi/supabase/v1-exchange-oauth-token): POST https://api.supabase.com/v1/oauth/token - [Beta] Exchange auth code for user's access and refresh token
- [v1-revoke-token](https://oapis.org/openapi/supabase/v1-revoke-token): POST https://api.supabase.com/v1/oauth/revoke - [Beta] Revoke oauth app authorization and it's corresponding tokens
- [v1-oauth-authorize-project-claim](https://oapis.org/openapi/supabase/v1-oauth-authorize-project-claim): GET https://api.supabase.com/v1/oauth/authorize/project-claim?project_ref=string&client_id=string&response_type=string&redirect_uri=string&state=string&response_mode=string&code_challenge=string&code_challenge_method=string - Authorize user through oauth and claim a project

## Organizations

Organizations related endpoints

- [v1-list-all-organizations](https://oapis.org/openapi/supabase/v1-list-all-organizations): GET https://api.supabase.com/v1/organizations - List all organizations
- [v1-create-an-organization](https://oapis.org/openapi/supabase/v1-create-an-organization): POST https://api.supabase.com/v1/organizations - Create an organization
- [v1-get-organization-entitlements](https://oapis.org/openapi/supabase/v1-get-organization-entitlements): GET https://api.supabase.com/v1/organizations/{slug}/entitlements - Get entitlements for an organization
- [v1-list-organization-members](https://oapis.org/openapi/supabase/v1-list-organization-members): GET https://api.supabase.com/v1/organizations/{slug}/members - List members of an organization
- [v1-get-an-organization](https://oapis.org/openapi/supabase/v1-get-an-organization): GET https://api.supabase.com/v1/organizations/{slug} - Gets information about the organization
- [v1-get-organization-project-claim](https://oapis.org/openapi/supabase/v1-get-organization-project-claim): GET https://api.supabase.com/v1/organizations/{slug}/project-claim/{token} - Gets project details for the specified organization and claim token
- [v1-claim-project-for-organization](https://oapis.org/openapi/supabase/v1-claim-project-for-organization): POST https://api.supabase.com/v1/organizations/{slug}/project-claim/{token} - Claims project for the specified organization

## Profile

- [v1-get-profile](https://oapis.org/openapi/supabase/v1-get-profile): GET https://api.supabase.com/v1/profile - Gets the user's profile

## Projects

Projects related endpoints

- [v1-list-all-projects](https://oapis.org/openapi/supabase/v1-list-all-projects): GET https://api.supabase.com/v1/projects - List all projects
- [v1-create-a-project](https://oapis.org/openapi/supabase/v1-create-a-project): POST https://api.supabase.com/v1/projects - Create a project
- [v1-get-available-regions](https://oapis.org/openapi/supabase/v1-get-available-regions): GET https://api.supabase.com/v1/projects/available-regions?organization_slug=string&continent=string&desired_instance_size=string - [Beta] Gets the list of available regions that can be used for a new project
- [v1-list-all-network-bans](https://oapis.org/openapi/supabase/v1-list-all-network-bans): POST https://api.supabase.com/v1/projects/{ref}/network-bans/retrieve - [Beta] Gets project's network bans
- [v1-list-all-network-bans-enriched](https://oapis.org/openapi/supabase/v1-list-all-network-bans-enriched): POST https://api.supabase.com/v1/projects/{ref}/network-bans/retrieve/enriched - [Beta] Gets project's network bans with additional information about which databases they affect
- [v1-delete-network-bans](https://oapis.org/openapi/supabase/v1-delete-network-bans): DELETE https://api.supabase.com/v1/projects/{ref}/network-bans - [Beta] Remove network bans.
- [v1-get-network-restrictions](https://oapis.org/openapi/supabase/v1-get-network-restrictions): GET https://api.supabase.com/v1/projects/{ref}/network-restrictions - [Beta] Gets project's network restrictions
- [v1-patch-network-restrictions](https://oapis.org/openapi/supabase/v1-patch-network-restrictions): PATCH https://api.supabase.com/v1/projects/{ref}/network-restrictions - [Alpha] Updates project's network restrictions by adding or removing CIDRs
- [v1-update-network-restrictions](https://oapis.org/openapi/supabase/v1-update-network-restrictions): POST https://api.supabase.com/v1/projects/{ref}/network-restrictions/apply - [Beta] Updates project's network restrictions
- [v1-get-project](https://oapis.org/openapi/supabase/v1-get-project): GET https://api.supabase.com/v1/projects/{ref} - Gets a specific project that belongs to the authenticated user
- [v1-update-a-project](https://oapis.org/openapi/supabase/v1-update-a-project): PATCH https://api.supabase.com/v1/projects/{ref} - Updates the given project
- [v1-delete-a-project](https://oapis.org/openapi/supabase/v1-delete-a-project): DELETE https://api.supabase.com/v1/projects/{ref} - Deletes the given project
- [v1-upgrade-postgres-version](https://oapis.org/openapi/supabase/v1-upgrade-postgres-version): POST https://api.supabase.com/v1/projects/{ref}/upgrade - [Beta] Upgrades the project's Postgres version
- [v1-get-postgres-upgrade-eligibility](https://oapis.org/openapi/supabase/v1-get-postgres-upgrade-eligibility): GET https://api.supabase.com/v1/projects/{ref}/upgrade/eligibility - [Beta] Returns the project's eligibility for upgrades
- [v1-get-postgres-upgrade-status](https://oapis.org/openapi/supabase/v1-get-postgres-upgrade-status): GET https://api.supabase.com/v1/projects/{ref}/upgrade/status?tracking_id=string - [Beta] Gets the latest status of the project's upgrade
- [v1-get-services-health](https://oapis.org/openapi/supabase/v1-get-services-health): GET https://api.supabase.com/v1/projects/{ref}/health?services=services&timeout_ms=integer - Gets project's service health status
- [v1-pause-a-project](https://oapis.org/openapi/supabase/v1-pause-a-project): POST https://api.supabase.com/v1/projects/{ref}/pause - Pauses the given project
- [v1-restart-a-project](https://oapis.org/openapi/supabase/v1-restart-a-project): POST https://api.supabase.com/v1/projects/{ref}/restart - Restarts the given project
- [v1-list-available-restore-versions](https://oapis.org/openapi/supabase/v1-list-available-restore-versions): GET https://api.supabase.com/v1/projects/{ref}/restore - Lists available restore versions for the given project
- [v1-restore-a-project](https://oapis.org/openapi/supabase/v1-restore-a-project): POST https://api.supabase.com/v1/projects/{ref}/restore - Restores the given project
- [v1-cancel-a-project-restoration](https://oapis.org/openapi/supabase/v1-cancel-a-project-restoration): POST https://api.supabase.com/v1/projects/{ref}/restore/cancel - Cancels the given project restoration
- [v1-get-project-claim-token](https://oapis.org/openapi/supabase/v1-get-project-claim-token): GET https://api.supabase.com/v1/projects/{ref}/claim-token - Gets project claim token
- [v1-create-project-claim-token](https://oapis.org/openapi/supabase/v1-create-project-claim-token): POST https://api.supabase.com/v1/projects/{ref}/claim-token - Creates project claim token
- [v1-delete-project-claim-token](https://oapis.org/openapi/supabase/v1-delete-project-claim-token): DELETE https://api.supabase.com/v1/projects/{ref}/claim-token - Revokes project claim token
- [v1-get-database-disk](https://oapis.org/openapi/supabase/v1-get-database-disk): GET https://api.supabase.com/v1/projects/{ref}/config/disk - Get database disk attributes
- [v1-modify-database-disk](https://oapis.org/openapi/supabase/v1-modify-database-disk): POST https://api.supabase.com/v1/projects/{ref}/config/disk - Modify database disk
- [v1-get-disk-utilization](https://oapis.org/openapi/supabase/v1-get-disk-utilization): GET https://api.supabase.com/v1/projects/{ref}/config/disk/util - Get disk utilization
- [v1-get-project-disk-autoscale-config](https://oapis.org/openapi/supabase/v1-get-project-disk-autoscale-config): GET https://api.supabase.com/v1/projects/{ref}/config/disk/autoscale - Gets project disk autoscale config
- [v1-get-all-projects-for-organization](https://oapis.org/openapi/supabase/v1-get-all-projects-for-organization): GET https://api.supabase.com/v1/organizations/{slug}/projects?offset=integer&limit=integer&search=string&sort=string&statuses=string - Gets all projects for the given organization

## Realtime

- [v1-get-realtime-config](https://oapis.org/openapi/supabase/v1-get-realtime-config): GET https://api.supabase.com/v1/projects/{ref}/config/realtime - Gets realtime configuration
- [v1-update-realtime-config](https://oapis.org/openapi/supabase/v1-update-realtime-config): PATCH https://api.supabase.com/v1/projects/{ref}/config/realtime - Updates realtime configuration
- [v1-shutdown-realtime](https://oapis.org/openapi/supabase/v1-shutdown-realtime): POST https://api.supabase.com/v1/projects/{ref}/config/realtime/shutdown - Shutdowns realtime connections for a project

## Rest

Rest related endpoints

- [v1-get-postgrest-service-config](https://oapis.org/openapi/supabase/v1-get-postgrest-service-config): GET https://api.supabase.com/v1/projects/{ref}/postgrest - Gets project's postgrest config
- [v1-update-postgrest-service-config](https://oapis.org/openapi/supabase/v1-update-postgrest-service-config): PATCH https://api.supabase.com/v1/projects/{ref}/postgrest - Updates project's postgrest config

## Secrets

Secrets related endpoints

- [v1-get-project-api-keys](https://oapis.org/openapi/supabase/v1-get-project-api-keys): GET https://api.supabase.com/v1/projects/{ref}/api-keys?reveal=string - Get project api keys
- [v1-create-project-api-key](https://oapis.org/openapi/supabase/v1-create-project-api-key): POST https://api.supabase.com/v1/projects/{ref}/api-keys?reveal=string - Creates a new API key for the project
- [v1-get-project-legacy-api-keys](https://oapis.org/openapi/supabase/v1-get-project-legacy-api-keys): GET https://api.supabase.com/v1/projects/{ref}/api-keys/legacy - Check whether JWT based legacy (anon, service_role) API keys are enabled. This API endpoint will be removed in the future, check for HTTP 404 Not Found.
- [v1-update-project-legacy-api-keys](https://oapis.org/openapi/supabase/v1-update-project-legacy-api-keys): PUT https://api.supabase.com/v1/projects/{ref}/api-keys/legacy?enabled=string - Disable or re-enable JWT based legacy (anon, service_role) API keys. This API endpoint will be removed in the future, check for HTTP 404 Not Found.
- [v1-get-project-api-key](https://oapis.org/openapi/supabase/v1-get-project-api-key): GET https://api.supabase.com/v1/projects/{ref}/api-keys/{id}?reveal=string - Get API key
- [v1-update-project-api-key](https://oapis.org/openapi/supabase/v1-update-project-api-key): PATCH https://api.supabase.com/v1/projects/{ref}/api-keys/{id}?reveal=string - Updates an API key for the project
- [v1-delete-project-api-key](https://oapis.org/openapi/supabase/v1-delete-project-api-key): DELETE https://api.supabase.com/v1/projects/{ref}/api-keys/{id}?reveal=string&was_compromised=string&reason=string - Deletes an API key for the project
- [v1-get-pgsodium-config](https://oapis.org/openapi/supabase/v1-get-pgsodium-config): GET https://api.supabase.com/v1/projects/{ref}/pgsodium - [Beta] Gets project's pgsodium config
- [v1-update-pgsodium-config](https://oapis.org/openapi/supabase/v1-update-pgsodium-config): PUT https://api.supabase.com/v1/projects/{ref}/pgsodium - [Beta] Updates project's pgsodium config. Updating the root_key can cause all data encrypted with the older key to become inaccessible.
- [v1-list-all-secrets](https://oapis.org/openapi/supabase/v1-list-all-secrets): GET https://api.supabase.com/v1/projects/{ref}/secrets - List all secrets
- [v1-bulk-create-secrets](https://oapis.org/openapi/supabase/v1-bulk-create-secrets): POST https://api.supabase.com/v1/projects/{ref}/secrets - Bulk create secrets
- [v1-bulk-delete-secrets](https://oapis.org/openapi/supabase/v1-bulk-delete-secrets): DELETE https://api.supabase.com/v1/projects/{ref}/secrets - Bulk delete secrets

## Storage

Visit [https://supabase.github.io/storage/](https://supabase.github.io/storage/) for complete documentation.

- [v1-list-all-buckets](https://oapis.org/openapi/supabase/v1-list-all-buckets): GET https://api.supabase.com/v1/projects/{ref}/storage/buckets - Lists all buckets
- [v1-get-storage-config](https://oapis.org/openapi/supabase/v1-get-storage-config): GET https://api.supabase.com/v1/projects/{ref}/config/storage - Gets project's storage config
- [v1-update-storage-config](https://oapis.org/openapi/supabase/v1-update-storage-config): PATCH https://api.supabase.com/v1/projects/{ref}/config/storage - Updates project's storage config
