Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: Regenerate `api-types` file with sorted option (#27495)

Ivan Vasilov1537792ee18e
diff --git a/packages/api-types/package.json b/packages/api-types/package.json
index 312168248f2..a71266edcba 100644
--- a/packages/api-types/package.json
+++ b/packages/api-types/package.json
@@ -5,7 +5,7 @@
"main": "./index.ts",
"types": "./index.ts",
"scripts": {
- "codegen": "openapi-typescript http://localhost:8080/api-json -o types/api.d.ts && prettier --write types/api.d.ts"
+ "codegen": "openapi-typescript http://localhost:8080/api-json -o types/api.d.ts --alphabetize && prettier --write types/api.d.ts"
},
"author": "",
"license": "MIT",
diff --git a/packages/api-types/types/api.d.ts b/packages/api-types/types/api.d.ts
index 9bbf3572900..49294c36d6f 100644
--- a/packages/api-types/types/api.d.ts
+++ b/packages/api-types/types/api.d.ts
@@ -13,60 +13,43 @@ type OneOf<T extends any[]> = T extends [infer Only]
: never
export interface paths {
- '/platform/notifications': {
- /** Get notifications */
- get: operations['NotificationsController_getNotificationsV2']
- /** Delete notifications */
- delete: operations['NotificationsController_deleteNotifications']
- /** Update notifications */
- patch: operations['NotificationsController_updateNotificationsV2']
- }
- '/platform/notifications/summary': {
- /** Get an aggregated data of interest across all notifications for the user */
- get: operations['NotificationsController_getNotificationsSummary']
- }
- '/platform/notifications/archive-all': {
- /** Archives all notifications */
- patch: operations['NotificationsController_archiveAllNotifications']
- }
- '/platform/reset-password': {
- /** Reset password for email */
- post: operations['ResetPasswordController_resetPassword']
+ '/partners/flyio/callback': {
+ /** Redirects to Supabase dashboard after completing Fly sso */
+ get: operations['CallbackController_redirectToDashboardFlyioExtensionScreen']
}
- '/platform/feedback/send': {
- /** Send feedback */
- post: operations['SendFeedbackController_sendFeedback']
+ '/partners/flyio/extensions': {
+ /** Creates a database */
+ post: operations['FlyExtensionsController_provisionResource']
}
- '/platform/feedback/downgrade': {
- /** Send exit survey to HubSpot */
- post: operations['SendExitSurveyController_sendExitSurvey']
+ '/partners/flyio/extensions/{extension_id}': {
+ /** Gets database status */
+ get: operations['ExtensionController_getResourceStatus']
+ /** Deletes a database */
+ delete: operations['ExtensionController_deleteResource']
}
- '/platform/feedback/upgrade': {
- /** Send upgrade survey to survey_responses table */
- post: operations['SendUpgradeSurveyController_sendUpgradeSurvey']
+ '/partners/flyio/extensions/{extension_id}/sso': {
+ /** Starts Fly single sign on */
+ get: operations['ExtensionController_startFlyioSSO']
}
- '/platform/feedback/docs': {
- /** Send feedback on docs */
- post: operations['SendDocsFeedbackController_sendDocsFeedback']
+ '/partners/flyio/organizations/{organization_id}': {
+ /** Gets details of the organization linked to the provided Fly organization id */
+ get: operations['FlyOrganizationsController_getOrganization']
}
- '/platform/signup': {
- /** Sign up with email and password */
- post: operations['SignUpController_signUp']
+ '/partners/flyio/organizations/{organization_id}/billing': {
+ /** Gets the organizations current unbilled charges */
+ get: operations['FlyBillingController_getResourceBilling']
}
- '/platform/status': {
- /** Get infrastructure status */
- get: operations['StatusController_getStatus']
+ '/partners/flyio/organizations/{organization_id}/extensions': {
+ /** Gets all databases that belong to the given Fly organization id */
+ get: operations['FlyOrganizationsController_getOrgExtensions']
}
- '/platform/projects-resource-warnings': {
- /**
- * Gets resource warnings for all projects accessible by the user
- * @description Only returns the minimal project info
- */
- get: operations['ProjectsResourceWarningsController_getProjectsResourceWarnings']
+ '/partners/flyio/organizations/{organization_id}/sso': {
+ /** Starts Fly single sign on */
+ get: operations['FlyOrganizationsController_startFlyioSSO']
}
- '/platform/tos/fly': {
- /** Redirects to Fly sso flow */
- get: operations['TermsOfServiceController_flyTosAccepted']
+ '/partners/flyio/organizations/{organization_id}/subscription': {
+ /** Updates organization subscription linked to the provided Fly organization id */
+ put: operations['FlyOrganizationsController_updateOrganization']
}
'/platform/auth/{ref}/config': {
/** Gets GoTrue config */
@@ -104,17 +87,29 @@ export interface paths {
/** Delete all factors associated to a user */
delete: operations['FactorsController_deleteFactors']
}
+ '/platform/cli/login': {
+ /** Create CLI login session */
+ post: operations['CliLoginController_createCliLoginSession']
+ }
+ '/platform/cli/login/{session_id}': {
+ /** Retrieve CLI login session */
+ get: operations['CliLoginController_getCliLoginSession']
+ }
'/platform/database/{ref}/backups': {
/** Gets project backups */
get: operations['BackupsController_getBackups']
}
+ '/platform/database/{ref}/backups/download': {
+ /** Download project backup */
+ post: operations['BackupsController_downloadBackup']
+ }
'/platform/database/{ref}/backups/enable-physical-backups': {
/** Enable usage of physical backups */
post: operations['BackupsController_enablePhysicalBackup']
}
- '/platform/database/{ref}/backups/download': {
- /** Download project backup */
- post: operations['BackupsController_downloadBackup']
+ '/platform/database/{ref}/backups/pitr': {
+ /** Restore project to a previous point in time */
+ post: operations['BackupsController_restorePointInTimeBackup']
}
'/platform/database/{ref}/backups/restore': {
/** Restore project backup */
@@ -124,17 +119,116 @@ export interface paths {
/** Restore project with a physical backup */
post: operations['BackupsController_restorePhysicalBackup']
}
- '/platform/database/{ref}/backups/pitr': {
- /** Restore project to a previous point in time */
- post: operations['BackupsController_restorePointInTimeBackup']
+ '/platform/database/{ref}/hook-enable': {
+ /** Enables Database Webhooks on the project */
+ post: operations['HooksController_enableHooks']
}
'/platform/database/{ref}/hook-logs': {
/** Gets hook logs with the given ID */
get: operations['HooksController_getHookLogs']
}
- '/platform/database/{ref}/hook-enable': {
- /** Enables Database Webhooks on the project */
- post: operations['HooksController_enableHooks']
+ '/platform/feedback/docs': {
+ /** Send feedback on docs */
+ post: operations['SendDocsFeedbackController_sendDocsFeedback']
+ }
+ '/platform/feedback/downgrade': {
+ /** Send exit survey to HubSpot */
+ post: operations['SendExitSurveyController_sendExitSurvey']
+ }
+ '/platform/feedback/send': {
+ /** Send feedback */
+ post: operations['SendFeedbackController_sendFeedback']
+ }
+ '/platform/feedback/upgrade': {
+ /** Send upgrade survey to survey_responses table */
+ post: operations['SendUpgradeSurveyController_sendUpgradeSurvey']
+ }
+ '/platform/integrations': {
+ /** Gets user's integrations */
+ get: operations['IntegrationsController_getUserInstallations']
+ }
+ '/platform/integrations/{slug}': {
+ /** Gets integration with the given organization slug */
+ get: operations['IntegrationsController_getUserInstallationForOrg']
+ }
+ '/platform/integrations/github/authorization': {
+ /** Get GitHub authorization */
+ get: operations['GitHubAuthorizationsController_getGitHubAuthorization']
+ /** Create GitHub authorization */
+ post: operations['GitHubAuthorizationsController_createGitHubAuthorization']
+ }
+ '/platform/integrations/github/branches/{connectionId}': {
+ /** List GitHub connection branches */
+ get: operations['GitHubBranchesController_listConnectionBranches']
+ }
+ '/platform/integrations/github/branches/{connectionId}/{branchName}': {
+ /** Get GitHub connection branch */
+ get: operations['GitHubBranchesController_getConnectionBranch']
+ }
+ '/platform/integrations/github/connections': {
+ /** List organization GitHub connections */
+ get: operations['GitHubConnectionsController_listOrganizationGitHubConnections']
+ /** Connects a GitHub project to a supabase project */
+ post: operations['GitHubConnectionsController_createGitHubConnection']
+ }
+ '/platform/integrations/github/connections/{connection_id}': {
+ /** Deletes github project connection */
+ delete: operations['GitHubConnectionsController_deleteGitHubConnection']
+ /** Updates a GitHub connection for a supabase project */
+ patch: operations['GitHubConnectionsController_updateGitHubConnection']
+ }
+ '/platform/integrations/github/repositories': {
+ /** Gets GitHub repositories for user */
+ get: operations['GitHubRepositoriesController_listRepositories']
+ }
+ '/platform/integrations/vercel': {
+ /**
+ * Create vercel integration
+ * @description Exchanges a vercel code for an access token and saves the access token to the new integration record
+ */
+ post: operations['VercelIntegrationController_createVercelIntegration']
+ }
+ '/platform/integrations/vercel/{organization_integration_id}': {
+ /** Removes Vercel organization integration with the given id */
+ delete: operations['VercelIntegrationController_removeVercelIntegration']
+ }
+ '/platform/integrations/vercel/connections': {
+ /** Connects a Vercel project to a supabase project */
+ post: operations['VercelConnectionsController_createVercelConnection']
+ }
+ '/platform/integrations/vercel/connections/{connection_id}': {
+ /** Deletes vercel project connection */
+ delete: operations['VercelConnectionsController_deleteVercelConnection']
+ /** Updates a Vercel connection for a supabase project */
+ patch: operations['VercelConnectionsController_updateVercelConnection']
+ }
+ '/platform/integrations/vercel/connections/{connection_id}/sync-envs': {
+ /** Syncs supabase project envs with given connection id */
+ post: operations['VercelConnectionsController_syncVercelConnectionEnvironments']
+ }
+ '/platform/integrations/vercel/connections/{organization_integration_id}': {
+ /** Gets installed vercel project connections for the given organization integration */
+ get: operations['VercelConnectionsController_getVercelConnections']
+ }
+ '/platform/integrations/vercel/projects/{organization_integration_id}': {
+ /** Gets vercel projects with the given organization integration id */
+ get: operations['VercelProjectController_getVercelProjects']
+ }
+ '/platform/notifications': {
+ /** Get notifications */
+ get: operations['NotificationsController_getNotificationsV2']
+ /** Delete notifications */
+ delete: operations['NotificationsController_deleteNotifications']
+ /** Update notifications */
+ patch: operations['NotificationsController_updateNotificationsV2']
+ }
+ '/platform/notifications/archive-all': {
+ /** Archives all notifications */
+ patch: operations['NotificationsController_archiveAllNotifications']
+ }
+ '/platform/notifications/summary': {
+ /** Get an aggregated data of interest across all notifications for the user */
+ get: operations['NotificationsController_getNotificationsSummary']
}
'/platform/organizations': {
/** Gets user's organizations */
@@ -142,63 +236,99 @@ export interface paths {
/** Creates an organization */
post: operations['OrganizationsController_createOrganizationWithTier']
}
- '/platform/organizations/fly/{fly_organization_id}': {
- /** Gets organization linked to fly organization id */
- get: operations['OrganizationsController_getOrganizationByFlyOrganizationId']
- }
'/platform/organizations/{slug}': {
/** Deletes organization */
delete: operations['OrganizationSlugController_deleteOrganization']
/** Updates organization */
patch: operations['OrganizationSlugController_updateOrganization']
}
+ '/platform/organizations/{slug}/audit': {
+ /** Gets an organization's audit logs */
+ get: operations['OrgAuditLogsController_getAuditLogs']
+ }
+ '/platform/organizations/{slug}/billing/invoices': {
+ /** Gets invoices for the given organization */
+ get: operations['OrgInvoicesController_getInvoices']
+ /** Gets the total count of invoices for the given organization */
+ head: operations['OrgInvoicesController_countInvoices']
+ }
+ '/platform/organizations/{slug}/billing/invoices/{invoiceId}': {
+ /** Gets invoice with the given invoice ID */
+ get: operations['OrgInvoicesController_getInvoice']
+ }
+ '/platform/organizations/{slug}/billing/invoices/upcoming': {
+ /** Gets the upcoming invoice */
+ get: operations['OrgInvoicesController_getUpcomingInvoice']
+ }
+ '/platform/organizations/{slug}/billing/plans': {
+ /** Gets subscription plans */
+ get: operations['OrgPlansController_getAvailablePlans']
+ }
+ '/platform/organizations/{slug}/billing/subscription': {
+ /** Gets the current subscription */
+ get: operations['SubscriptionController_getSubscription']
+ /** Updates subscription */
+ put: operations['SubscriptionController_updateSubscription']
+ }
+ '/platform/organizations/{slug}/billing/subscription/preview': {
+ /** Preview subscription changes */
+ post: operations['SubscriptionController_previewSubscriptionChange']
+ }
+ '/platform/organizations/{slug}/billing/subscription/schedule': {
+ /** Deletes any upcoming subscription schedule */
+ delete: operations['SubscriptionController_deleteSubscriptionSchedule']
+ }
'/platform/organizations/{slug}/customer': {
/** Gets the Stripe customer */
get: operations['CustomerController_getCustomer']
/** Updates the billing customer */
put: operations['updateCustomerV2']
}
- '/platform/organizations/{slug}/roles': {
- /** Gets the given organization's roles */
- get: operations['OrganizationRolesController_getAllRolesV2']
- }
- '/platform/organizations/{slug}/tax-ids': {
- /** Gets the given organization's tax IDs */
- get: operations['TaxIdsController_getTaxIds']
- /** Creates or updates a tax ID for the given organization */
- put: operations['TaxIdsController_updateTaxId']
- /** Creates a tax ID for the given organization */
- post: operations['TaxIdsController_createTaxId']
- /** Delete the tax ID with the given ID */
- delete: operations['TaxIdsController_deleteTaxId']
- }
- '/platform/organizations/{slug}/transfer': {
- /** Transfers the organization to the given member */
- post: operations['TransferController_transferOrganization']
- }
- '/platform/organizations/{slug}/daily-stats': {
- /** Gets daily organization stats */
- get: operations['OrgDailyStatsController_getDailyStats']
+ '/platform/organizations/{slug}/daily-stats': {
+ /** Gets daily organization stats */
+ get: operations['OrgDailyStatsController_getDailyStats']
}
'/platform/organizations/{slug}/daily-stats/compute': {
/** Gets daily organization stats for compute */
get: operations['OrgDailyStatsController_getDailyStatsCompute']
}
- '/platform/organizations/{slug}/usage': {
- /** Gets usage stats */
- get: operations['OrgUsageController_getOrgUsage']
+ '/platform/organizations/{slug}/documents/soc2-type-2-report': {
+ /** Get SOC2 Type 2 report URL */
+ get: operations['OrgDocumentsController_getSoc2Type2ReportUrl']
}
'/platform/organizations/{slug}/documents/standard-security-questionnaire': {
/** Get standard security questionnaire URL */
get: operations['OrgDocumentsController_getStandardSecurityQuestionnaireUrl']
}
- '/platform/organizations/{slug}/documents/soc2-type-2-report': {
- /** Get SOC2 Type 2 report URL */
- get: operations['OrgDocumentsController_getSoc2Type2ReportUrl']
+ '/platform/organizations/{slug}/members': {
+ /** Gets organization's members */
+ get: operations['MembersController_getMembers']
}
- '/platform/organizations/{slug}/audit': {
- /** Gets an organization's audit logs */
- get: operations['OrgAuditLogsController_getAuditLogs']
+ '/platform/organizations/{slug}/members/{gotrue_id}': {
+ /** Removes organization member */
+ delete: operations['MembersController_deleteMember']
+ /** Updates organization member role */
+ patch: operations['MembersController_updateMemberRoleV2']
+ }
+ '/platform/organizations/{slug}/members/{gotrue_id}/roles/{role_id}': {
+ /** Removes organization member */
+ delete: operations['MembersController_deleteMemberRole']
+ }
+ '/platform/organizations/{slug}/members/invitations': {
+ /** Gets organization invitations */
+ get: operations['InvitationsController_getAllInvitations']
+ /** Creates organization invitation */
+ post: operations['InvitationsController_createInvitation']
+ }
+ '/platform/organizations/{slug}/members/invitations/{id}': {
+ /** Deletes organization invitation with given id */
+ delete: operations['InvitationsController_deleteInvitation']
+ }
+ '/platform/organizations/{slug}/members/invitations/{token}': {
+ /** Gets organization invitation by token */
+ get: operations['InvitationsController_getInvitationByToken']
+ /** Accepts organization invitation by token */
+ post: operations['InvitationsController_acceptInvitationByToken']
}
'/platform/organizations/{slug}/members/invite': {
/**
@@ -229,40 +359,10 @@ export interface paths {
*/
post: operations['JoinController_joinOrganization']
}
- '/platform/organizations/{slug}/members': {
- /** Gets organization's members */
- get: operations['MembersController_getMembers']
- }
- '/platform/organizations/{slug}/members/{gotrue_id}': {
- /** Removes organization member */
- delete: operations['MembersController_deleteMember']
- /** Updates organization member role */
- patch: operations['MembersController_updateMemberRoleV2']
- }
- '/platform/organizations/{slug}/members/{gotrue_id}/roles/{role_id}': {
- /** Removes organization member */
- delete: operations['MembersController_deleteMemberRole']
- }
'/platform/organizations/{slug}/members/reached-free-project-limit': {
/** Gets organization members who have reached their free project limit */
get: operations['ReachedFreeProjectLimitController_getMembersWhoReachedFreeProjectLimit']
}
- '/platform/organizations/{slug}/members/invitations': {
- /** Gets organization invitations */
- get: operations['InvitationsController_getAllInvitations']
- /** Creates organization invitation */
- post: operations['InvitationsController_createInvitation']
- }
- '/platform/organizations/{slug}/members/invitations/{token}': {
- /** Gets organization invitation by token */
- get: operations['InvitationsController_getInvitationByToken']
- /** Accepts organization invitation by token */
- post: operations['InvitationsController_acceptInvitationByToken']
- }
- '/platform/organizations/{slug}/members/invitations/{id}': {
- /** Deletes organization invitation with given id */
- delete: operations['InvitationsController_deleteInvitation']
- }
'/platform/organizations/{slug}/payments': {
/** Gets Stripe payment methods for the given organization */
get: operations['getPaymentMethodsV2']
@@ -277,37 +377,31 @@ export interface paths {
/** Sets up a payment method */
post: operations['SetupIntentOrgController_setUpPaymentMethod']
}
- '/platform/organizations/{slug}/billing/subscription': {
- /** Gets the current subscription */
- get: operations['SubscriptionController_getSubscription']
- /** Updates subscription */
- put: operations['SubscriptionController_updateSubscription']
- }
- '/platform/organizations/{slug}/billing/subscription/preview': {
- /** Preview subscription changes */
- post: operations['SubscriptionController_previewSubscriptionChange']
- }
- '/platform/organizations/{slug}/billing/subscription/schedule': {
- /** Deletes any upcoming subscription schedule */
- delete: operations['SubscriptionController_deleteSubscriptionSchedule']
+ '/platform/organizations/{slug}/roles': {
+ /** Gets the given organization's roles */
+ get: operations['OrganizationRolesController_getAllRolesV2']
}
- '/platform/organizations/{slug}/billing/plans': {
- /** Gets subscription plans */
- get: operations['OrgPlansController_getAvailablePlans']
+ '/platform/organizations/{slug}/tax-ids': {
+ /** Gets the given organization's tax IDs */
+ get: operations['TaxIdsController_getTaxIds']
+ /** Creates or updates a tax ID for the given organization */
+ put: operations['TaxIdsController_updateTaxId']
+ /** Creates a tax ID for the given organization */
+ post: operations['TaxIdsController_createTaxId']
+ /** Delete the tax ID with the given ID */
+ delete: operations['TaxIdsController_deleteTaxId']
}
- '/platform/organizations/{slug}/billing/invoices/upcoming': {
- /** Gets the upcoming invoice */
- get: operations['OrgInvoicesController_getUpcomingInvoice']
+ '/platform/organizations/{slug}/transfer': {
+ /** Transfers the organization to the given member */
+ post: operations['TransferController_transferOrganization']
}
- '/platform/organizations/{slug}/billing/invoices': {
- /** Gets invoices for the given organization */
- get: operations['OrgInvoicesController_getInvoices']
- /** Gets the total count of invoices for the given organization */
- head: operations['OrgInvoicesController_countInvoices']
+ '/platform/organizations/{slug}/usage': {
+ /** Gets usage stats */
+ get: operations['OrgUsageController_getOrgUsage']
}
- '/platform/organizations/{slug}/billing/invoices/{invoiceId}': {
- /** Gets invoice with the given invoice ID */
- get: operations['OrgInvoicesController_getInvoice']
+ '/platform/organizations/fly/{fly_organization_id}': {
+ /** Gets organization linked to fly organization id */
+ get: operations['OrganizationsController_getOrganizationByFlyOrganizationId']
}
'/platform/pg-meta/{ref}/column-privileges': {
/** Retrieve column privileges */
@@ -405,14 +499,14 @@ export interface paths {
/** Updates project pg.schema with the given ID */
patch: operations['SchemasController_updateSchema']
}
- '/platform/pg-meta/{ref}/search/tables': {
- /** Searches project pg.tables. Return maximum 50 results. */
- post: operations['SearchController_searchTables']
- }
'/platform/pg-meta/{ref}/search/columns': {
/** Searches project pg.columns. Return maximum 50 results. */
post: operations['SearchController_searchColumns']
}
+ '/platform/pg-meta/{ref}/search/tables': {
+ /** Searches project pg.tables. Return maximum 50 results. */
+ post: operations['SearchController_searchTables']
+ }
'/platform/pg-meta/{ref}/table-privileges': {
/** Retrieve table privileges */
get: operations['TablePrivilegesController_getTablePrivileges']
@@ -449,6 +543,16 @@ export interface paths {
/** Retrieve database views */
get: operations['ViewsController_getViews']
}
+ '/platform/profile': {
+ /** Gets the user's profile */
+ get: operations['ProfileController_getProfile']
+ /** Creates user's profile */
+ post: operations['ProfileController_createProfile']
+ /** Deletes user's profile */
+ delete: operations['ProfileController_deleteProfile']
+ /** Updates user's profile */
+ patch: operations['ProfileController_updateProfile']
+ }
'/platform/profile/access-tokens': {
/** Gets the user's access tokens */
get: operations['AccessTokensController_getAccessTokens']
@@ -465,14 +569,6 @@ export interface paths {
/** Gets a user's audit logs */
get: operations['UserAuditLogsController_getAuditLogs']
}
- '/platform/profile/search': {
- /** Search profiles by username, email with the given keywords */
- post: operations['SearchProfileController_searchProfile']
- }
- '/platform/profile/subscriptions': {
- /** Gets the user's subscription statistics */
- get: operations['SubscriptionsController_getSubscriptionsStatistics']
- }
'/platform/profile/password-check': {
/** Check password strength */
post: operations['PasswordCheckController_checkPassword']
@@ -481,15 +577,13 @@ export interface paths {
/** Gets all the user's permissions */
get: operations['PermissionsController_getPermissions']
}
- '/platform/profile': {
- /** Gets the user's profile */
- get: operations['ProfileController_getProfile']
- /** Creates user's profile */
- post: operations['ProfileController_createProfile']
- /** Deletes user's profile */
- delete: operations['ProfileController_deleteProfile']
- /** Updates user's profile */
- patch: operations['ProfileController_updateProfile']
+ '/platform/profile/search': {
+ /** Search profiles by username, email with the given keywords */
+ post: operations['SearchProfileController_searchProfile']
+ }
+ '/platform/profile/subscriptions': {
+ /** Gets the user's subscription statistics */
+ get: operations['SubscriptionsController_getSubscriptionsStatistics']
}
'/platform/projects': {
/**
@@ -500,169 +594,54 @@ export interface paths {
/** Creates a project */
post: operations['ProjectsController_createProject']
}
- '/platform/projects/fly/{fly_extension_id}': {
- /** Gets project linked to fly extension id */
- get: operations['ProjectsController_getProjectByFlyExtensionId']
- }
- '/platform/projects/{ref}/content': {
- /**
- * Gets project's content
- * @deprecated
- */
- get: operations['ContentController_getContent']
- /** Updates project's content */
- put: operations['ContentController_updateWholeContentV2']
- /** Creates project's content */
- post: operations['ContentController_createContentV2']
- /** Deletes project's contents */
- delete: operations['ContentController_deleteContents']
+ '/platform/projects-resource-warnings': {
/**
- * Updates project's content
- * @deprecated
+ * Gets resource warnings for all projects accessible by the user
+ * @description Only returns the minimal project info
*/
- patch: operations['ContentController_updateContent']
+ get: operations['ProjectsResourceWarningsController_getProjectsResourceWarnings']
}
- '/platform/projects/{ref}/content/item/{id}': {
- /** Gets project's content by the given id */
- get: operations['ContentController_getContentById']
+ '/platform/projects/{ref}': {
+ /** Gets a specific project that belongs to the authenticated user */
+ get: operations['ProjectsRefController_getProject']
+ /** Deletes the given project */
+ delete: operations['ProjectsRefController_deleteProject']
+ /** Updates the given project */
+ patch: operations['ProjectsRefController_updateProject']
}
- '/platform/projects/{ref}/content/folders': {
- /** Gets project's content root folder */
- get: operations['ContentFoldersController_getRootFolder']
- /** Creates project's content folder */
- post: operations['ContentFoldersController_createFolder']
- /** Deletes project's content folders */
- delete: operations['ContentFoldersController_DeleteFolder']
+ '/platform/projects/{ref}/analytics/endpoints/functions.inv-stats': {
+ /** Gets a project's function invocation statistics */
+ get: operations['FunctionInvocationLogsController_getStatus']
}
- '/platform/projects/{ref}/content/folders/{id}': {
- /** Gets project's content folder */
- get: operations['ContentFoldersController_getFolder']
- /** Updates project's content folder */
- patch: operations['ContentFoldersController_updateFolder']
+ '/platform/projects/{ref}/analytics/endpoints/functions.req-stats': {
+ /** Gets a project's function request statistics */
+ get: operations['FunctionRequestLogsController_getStatus']
}
- '/platform/projects/{ref}/daily-stats': {
- /** Gets daily project stats */
- get: operations['DailyStatsController_getDailyStats']
+ '/platform/projects/{ref}/analytics/endpoints/functions.resource-usage': {
+ /** Gets a project's function resource usage */
+ get: operations['FunctionResourceLogsController_getStatus']
}
- '/platform/projects/{ref}/databases': {
- /** Gets non-removed databases of a specified project */
- get: operations['DatabasesController_getDatabases']
+ '/platform/projects/{ref}/analytics/endpoints/logs.all': {
+ /** Gets project's logs */
+ get: operations['LogsController_getApiPaths']
}
- '/platform/projects/{ref}/databases-statuses': {
- /** Gets statuses of databases within a project */
- get: operations['DatabasesStatusesController_getStatus']
+ '/platform/projects/{ref}/analytics/endpoints/usage.api-counts': {
+ /** Gets project's usage api counts */
+ get: operations['UsageApiController_getApiCounts']
}
- '/platform/projects/{ref}/db-password': {
- /** Updates the database password */
- patch: operations['DbPasswordController_updatePassword']
+ '/platform/projects/{ref}/analytics/endpoints/usage.api-requests-count': {
+ /** Gets project's usage api requests count */
+ get: operations['UsageApiController_getApiRequestsCount']
}
- '/platform/projects/{ref}/live': {
- /** Gets project health check */
- get: operations['HealthCheckController_projectHealthCheck']
+ '/platform/projects/{ref}/analytics/warehouse/access-tokens': {
+ /** Lists project's warehouse access tokens from logflare */
+ get: operations['AccessTokenController_listAccessTokens']
+ /** Create a warehouse access token */
+ post: operations['AccessTokenController_createAccessToken']
}
- '/platform/projects/{ref}/load-balancers': {
- /** Gets non-removed databases of a specified project */
- get: operations['LoadBalancersController_getLoadBalancers']
- }
- '/platform/projects/{ref}/api/rest': {
- /** Gets project OpenApi */
- get: operations['ProjectsApiController_projectOpenApi']
- }
- '/platform/projects/{ref}/api/graphql': {
- /** Queries project Graphql */
- post: operations['ProjectsApiController_projectGraphql']
- }
- '/platform/projects/{ref}/infra-monitoring': {
- /** Gets project's usage metrics */
- get: operations['InfraMonitoringController_getUsageMetrics']
- }
- '/platform/projects/{ref}/pause': {
- /** Pauses the project */
- post: operations['PauseController_pauseProject']
- }
- '/platform/projects/{ref}/pause/status': {
- /** Gets the latest pause event for a project if a project is paused */
- get: operations['PauseController_getProject']
- }
- '/platform/projects/{ref}/resize': {
- /** Resize database disk */
- post: operations['ResizeController_resizeDatabase']
- }
- '/platform/projects/{ref}/restart': {
- /** Restarts project */
- post: operations['RestartController_restartProject']
- }
- '/platform/projects/{ref}/run-lints': {
- /** Run project lints */
- get: operations['ProjectRunLintsController_runProjectLints']
- }
- '/platform/projects/{ref}': {
- /** Gets a specific project that belongs to the authenticated user */
- get: operations['ProjectsRefController_getProject']
- /** Deletes the given project */
- delete: operations['ProjectsRefController_deleteProject']
- /** Updates the given project */
- patch: operations['ProjectsRefController_updateProject']
- }
- '/platform/projects/{ref}/restore': {
- /** Restores project */
- post: operations['RestoreController_restoreProject']
- }
- '/platform/projects/{ref}/restart-services': {
- /** Restarts given services */
- post: operations['RestartServicesController_restartServices']
- }
- '/platform/projects/{ref}/settings': {
- /** Gets project's settings */
- get: operations['SettingsController_getProjectApi']
- }
- '/platform/projects/{ref}/status': {
- /** Gets project's status */
- get: operations['ProjectStatusController_getStatus']
- }
- '/platform/projects/{ref}/update': {
- /**
- * Updates the project
- * @deprecated
- * @description Replaced by PATCH /platform/projects/:ref
- */
- post: operations['UpdateController_updateProject']
- }
- '/platform/projects/{ref}/transfer/preview': {
- /** Previews transfering a project to a different organizations, shows eligibility and impact. */
- post: operations['ProjectTransferController_previewTransfer']
- }
- '/platform/projects/{ref}/transfer': {
- /** Transfers a project to a different organization. */
- post: operations['ProjectTransferController_transferProject']
- }
- '/platform/projects/{ref}/analytics/endpoints/functions.inv-stats': {
- /** Gets a project's function invocation statistics */
- get: operations['FunctionInvocationLogsController_getStatus']
- }
- '/platform/projects/{ref}/analytics/endpoints/functions.req-stats': {
- /** Gets a project's function request statistics */
- get: operations['FunctionRequestLogsController_getStatus']
- }
- '/platform/projects/{ref}/analytics/endpoints/functions.resource-usage': {
- /** Gets a project's function resource usage */
- get: operations['FunctionResourceLogsController_getStatus']
- }
- '/platform/projects/{ref}/analytics/endpoints/logs.all': {
- /** Gets project's logs */
- get: operations['LogsController_getApiPaths']
- }
- '/platform/projects/{ref}/analytics/endpoints/usage.api-counts': {
- /** Gets project's usage api counts */
- get: operations['UsageApiController_getApiCounts']
- }
- '/platform/projects/{ref}/analytics/endpoints/usage.api-requests-count': {
- /** Gets project's usage api requests count */
- get: operations['UsageApiController_getApiRequestsCount']
- }
- '/platform/projects/{ref}/analytics/warehouse/tenant': {
- /** Gets project's warehouse tenant from logflare */
- get: operations['TenantController_getTenant']
+ '/platform/projects/{ref}/analytics/warehouse/access-tokens/{token}': {
+ /** Delete a warehouse access token */
+ delete: operations['AccessTokenController_deleteAccessToken']
}
'/platform/projects/{ref}/analytics/warehouse/collections': {
/** Lists project's warehouse collections from logflare */
@@ -678,16 +657,6 @@ export interface paths {
/** Update a warehouse collection */
patch: operations['CollectionController_updateCollection']
}
- '/platform/projects/{ref}/analytics/warehouse/access-tokens': {
- /** Lists project's warehouse access tokens from logflare */
- get: operations['AccessTokenController_listAccessTokens']
- /** Create a warehouse access token */
- post: operations['AccessTokenController_createAccessToken']
- }
- '/platform/projects/{ref}/analytics/warehouse/access-tokens/{token}': {
- /** Delete a warehouse access token */
- delete: operations['AccessTokenController_deleteAccessToken']
- }
'/platform/projects/{ref}/analytics/warehouse/endpoints': {
/** Lists project's warehouse endpoints from logflare */
get: operations['EndpointController_listEndpoints']
@@ -704,6 +673,18 @@ export interface paths {
/** Lists project's warehouse queries from logflare */
get: operations['WarehouseQueryController_runQuery']
}
+ '/platform/projects/{ref}/analytics/warehouse/tenant': {
+ /** Gets project's warehouse tenant from logflare */
+ get: operations['TenantController_getTenant']
+ }
+ '/platform/projects/{ref}/api/graphql': {
+ /** Queries project Graphql */
+ post: operations['ProjectsApiController_projectGraphql']
+ }
+ '/platform/projects/{ref}/api/rest': {
+ /** Gets project OpenApi */
+ get: operations['ProjectsApiController_projectOpenApi']
+ }
'/platform/projects/{ref}/billing/addons': {
/** Gets project addons */
get: operations['ProjectAddonController_getProjectAddons']
@@ -724,18 +705,18 @@ export interface paths {
/** Gets project's pgbouncer status */
get: operations['PgbouncerConfigController_getPgbouncerStatus']
}
- '/platform/projects/{ref}/config/postgrest': {
- /** Gets project's postgrest config */
- get: operations['PostgrestConfigController_getPostgRESTConfig']
- /** Updates project's postgrest config */
- patch: operations['PostgrestConfigController_updatePostgRESTConfig']
- }
'/platform/projects/{ref}/config/postgres': {
/** Gets project's Postgres config */
get: operations['v1-get-postgres-config']
/** Updates project's Postgres config */
put: operations['v1-update-postgres-config']
}
+ '/platform/projects/{ref}/config/postgrest': {
+ /** Gets project's postgrest config */
+ get: operations['PostgrestConfigController_getPostgRESTConfig']
+ /** Updates project's postgrest config */
+ patch: operations['PostgrestConfigController_updatePostgRESTConfig']
+ }
'/platform/projects/{ref}/config/secrets': {
/** Updates project's secrets config */
patch: operations['SecretsConfigController_updateConfig']
@@ -752,92 +733,228 @@ export interface paths {
/** Updates project's supavisor config */
patch: operations['v1-update-supavisor-config']
}
- '/platform/props/project/{ref}/api': {
+ '/platform/projects/{ref}/content': {
/**
- * Gets project's api info
+ * Gets project's content
* @deprecated
*/
- get: operations['ApiController_getProjectApi']
- }
- '/platform/props/project/{ref}/jwt-secret-update-status': {
- /** Gets the last JWT secret update status */
- get: operations['JwtSecretUpdateStatusController_getJwtSecretUpdateStatus']
- }
- '/platform/props/project/{ref}/settings': {
+ get: operations['ContentController_getContent']
+ /** Updates project's content */
+ put: operations['ContentController_updateWholeContentV2']
+ /** Creates project's content */
+ post: operations['ContentController_createContentV2']
+ /** Deletes project's contents */
+ delete: operations['ContentController_deleteContents']
/**
- * Gets project's settings
+ * Updates project's content
* @deprecated
*/
- get: operations['PropsSettingsController_getProjectApi']
+ patch: operations['ContentController_updateContent']
}
- '/platform/storage/{ref}/buckets/{id}': {
- /** Gets bucket */
- get: operations['StorageBucketIdController_getBucket']
- /** Deletes bucket */
- delete: operations['StorageBucketIdController_deleteBucket']
- /** Updates bucket */
- patch: operations['StorageBucketIdController_updateBucket']
+ '/platform/projects/{ref}/content/folders': {
+ /** Gets project's content root folder */
+ get: operations['ContentFoldersController_getRootFolder']
+ /** Creates project's content folder */
+ post: operations['ContentFoldersController_createFolder']
+ /** Deletes project's content folders */
+ delete: operations['ContentFoldersController_DeleteFolder']
}
- '/platform/storage/{ref}/buckets/{id}/empty': {
- /** Removes all objects inside a single bucket. */
- post: operations['StorageBucketIdController_emptyBucket']
+ '/platform/projects/{ref}/content/folders/{id}': {
+ /** Gets project's content folder */
+ get: operations['ContentFoldersController_getFolder']
+ /** Updates project's content folder */
+ patch: operations['ContentFoldersController_updateFolder']
}
- '/platform/storage/{ref}/buckets': {
- /** Gets list of buckets */
- get: operations['StorageBucketsController_getBuckets']
- /** Create bucket */
- post: operations['StorageBucketsController_createBucket']
+ '/platform/projects/{ref}/content/item/{id}': {
+ /** Gets project's content by the given id */
+ get: operations['ContentController_getContentById']
}
- '/platform/storage/{ref}/buckets/{id}/objects/list': {
- /** Gets list of objects with the given bucket */
- post: operations['StorageObjectsController_getObjects']
+ '/platform/projects/{ref}/daily-stats': {
+ /** Gets daily project stats */
+ get: operations['DailyStatsController_getDailyStats']
}
- '/platform/storage/{ref}/buckets/{id}/objects/public-url': {
- /** Creates URL for an asset in a public bucket */
- post: operations['StorageObjectsController_createPublicUrl']
+ '/platform/projects/{ref}/databases': {
+ /** Gets non-removed databases of a specified project */
+ get: operations['DatabasesController_getDatabases']
}
- '/platform/storage/{ref}/buckets/{id}/objects/download': {
- /** Downloads a file from a private bucket */
- post: operations['StorageObjectsController_download']
+ '/platform/projects/{ref}/databases-statuses': {
+ /** Gets statuses of databases within a project */
+ get: operations['DatabasesStatusesController_getStatus']
}
- '/platform/storage/{ref}/buckets/{id}/objects/sign': {
- /** Creates a signed URL */
- post: operations['StorageObjectsController_createSignedUrl']
+ '/platform/projects/{ref}/db-password': {
+ /** Updates the database password */
+ patch: operations['DbPasswordController_updatePassword']
}
- '/platform/storage/{ref}/buckets/{id}/objects/sign-multi': {
- /** Gets multiple signed URLs */
- post: operations['StorageObjectsController_createSignedUrls']
+ '/platform/projects/{ref}/infra-monitoring': {
+ /** Gets project's usage metrics */
+ get: operations['InfraMonitoringController_getUsageMetrics']
}
- '/platform/storage/{ref}/buckets/{id}/objects/copy': {
- /** Copys object */
- post: operations['StorageObjectsController_copyObject']
+ '/platform/projects/{ref}/live': {
+ /** Gets project health check */
+ get: operations['HealthCheckController_projectHealthCheck']
}
- '/platform/storage/{ref}/buckets/{id}/objects/move': {
- /** Move object */
- post: operations['StorageObjectsController_moveObject']
+ '/platform/projects/{ref}/load-balancers': {
+ /** Gets non-removed databases of a specified project */
+ get: operations['LoadBalancersController_getLoadBalancers']
}
- '/platform/storage/{ref}/buckets/{id}/objects': {
- /** Deletes objects */
- delete: operations['StorageObjectsController_deleteObjects']
+ '/platform/projects/{ref}/pause': {
+ /** Pauses the project */
+ post: operations['PauseController_pauseProject']
}
- '/platform/storage/{ref}/credentials': {
- /** Gets project storage credentials */
- get: operations['StorageS3CredentialsController_getAllCredentials']
- /** Creates project storage credential */
- post: operations['StorageS3CredentialsController_createCredential']
+ '/platform/projects/{ref}/pause/status': {
+ /** Gets the latest pause event for a project if a project is paused */
+ get: operations['PauseController_getProject']
}
- '/platform/storage/{ref}/credentials/{id}': {
- /** Deletes project storage credential */
- delete: operations['StorageS3CredentialsController_deleteCredential']
+ '/platform/projects/{ref}/resize': {
+ /** Resize database disk */
+ post: operations['ResizeController_resizeDatabase']
}
- '/platform/stripe/invoices/overdue': {
- /** Gets information about overdue invoices that relate to the authenticated user */
- get: operations['InvoicesController_getOverdueInvoices']
+ '/platform/projects/{ref}/restart': {
+ /** Restarts project */
+ post: operations['RestartController_restartProject']
+ }
+ '/platform/projects/{ref}/restart-services': {
+ /** Restarts given services */
+ post: operations['RestartServicesController_restartServices']
+ }
+ '/platform/projects/{ref}/restore': {
+ /** Restores project */
+ post: operations['RestoreController_restoreProject']
+ }
+ '/platform/projects/{ref}/run-lints': {
+ /** Run project lints */
+ get: operations['ProjectRunLintsController_runProjectLints']
+ }
+ '/platform/projects/{ref}/settings': {
+ /** Gets project's settings */
+ get: operations['SettingsController_getProjectApi']
+ }
+ '/platform/projects/{ref}/status': {
+ /** Gets project's status */
+ get: operations['ProjectStatusController_getStatus']
+ }
+ '/platform/projects/{ref}/transfer': {
+ /** Transfers a project to a different organization. */
+ post: operations['ProjectTransferController_transferProject']
+ }
+ '/platform/projects/{ref}/transfer/preview': {
+ /** Previews transfering a project to a different organizations, shows eligibility and impact. */
+ post: operations['ProjectTransferController_previewTransfer']
+ }
+ '/platform/projects/{ref}/update': {
+ /**
+ * Updates the project
+ * @deprecated
+ * @description Replaced by PATCH /platform/projects/:ref
+ */
+ post: operations['UpdateController_updateProject']
+ }
+ '/platform/projects/fly/{fly_extension_id}': {
+ /** Gets project linked to fly extension id */
+ get: operations['ProjectsController_getProjectByFlyExtensionId']
+ }
+ '/platform/props/project/{ref}/api': {
+ /**
+ * Gets project's api info
+ * @deprecated
+ */
+ get: operations['ApiController_getProjectApi']
+ }
+ '/platform/props/project/{ref}/jwt-secret-update-status': {
+ /** Gets the last JWT secret update status */
+ get: operations['JwtSecretUpdateStatusController_getJwtSecretUpdateStatus']
+ }
+ '/platform/props/project/{ref}/settings': {
+ /**
+ * Gets project's settings
+ * @deprecated
+ */
+ get: operations['PropsSettingsController_getProjectApi']
+ }
+ '/platform/reset-password': {
+ /** Reset password for email */
+ post: operations['ResetPasswordController_resetPassword']
+ }
+ '/platform/signup': {
+ /** Sign up with email and password */
+ post: operations['SignUpController_signUp']
+ }
+ '/platform/status': {
+ /** Get infrastructure status */
+ get: operations['StatusController_getStatus']
+ }
+ '/platform/storage/{ref}/buckets': {
+ /** Gets list of buckets */
+ get: operations['StorageBucketsController_getBuckets']
+ /** Create bucket */
+ post: operations['StorageBucketsController_createBucket']
+ }
+ '/platform/storage/{ref}/buckets/{id}': {
+ /** Gets bucket */
+ get: operations['StorageBucketIdController_getBucket']
+ /** Deletes bucket */
+ delete: operations['StorageBucketIdController_deleteBucket']
+ /** Updates bucket */
+ patch: operations['StorageBucketIdController_updateBucket']
+ }
+ '/platform/storage/{ref}/buckets/{id}/empty': {
+ /** Removes all objects inside a single bucket. */
+ post: operations['StorageBucketIdController_emptyBucket']
+ }
+ '/platform/storage/{ref}/buckets/{id}/objects': {
+ /** Deletes objects */
+ delete: operations['StorageObjectsController_deleteObjects']
+ }
+ '/platform/storage/{ref}/buckets/{id}/objects/copy': {
+ /** Copys object */
+ post: operations['StorageObjectsController_copyObject']
+ }
+ '/platform/storage/{ref}/buckets/{id}/objects/download': {
+ /** Downloads a file from a private bucket */
+ post: operations['StorageObjectsController_download']
+ }
+ '/platform/storage/{ref}/buckets/{id}/objects/list': {
+ /** Gets list of objects with the given bucket */
+ post: operations['StorageObjectsController_getObjects']
+ }
+ '/platform/storage/{ref}/buckets/{id}/objects/move': {
+ /** Move object */
+ post: operations['StorageObjectsController_moveObject']
+ }
+ '/platform/storage/{ref}/buckets/{id}/objects/public-url': {
+ /** Creates URL for an asset in a public bucket */
+ post: operations['StorageObjectsController_createPublicUrl']
+ }
+ '/platform/storage/{ref}/buckets/{id}/objects/sign': {
+ /** Creates a signed URL */
+ post: operations['StorageObjectsController_createSignedUrl']
+ }
+ '/platform/storage/{ref}/buckets/{id}/objects/sign-multi': {
+ /** Gets multiple signed URLs */
+ post: operations['StorageObjectsController_createSignedUrls']
+ }
+ '/platform/storage/{ref}/credentials': {
+ /** Gets project storage credentials */
+ get: operations['StorageS3CredentialsController_getAllCredentials']
+ /** Creates project storage credential */
+ post: operations['StorageS3CredentialsController_createCredential']
+ }
+ '/platform/storage/{ref}/credentials/{id}': {
+ /** Deletes project storage credential */
+ delete: operations['StorageS3CredentialsController_deleteCredential']
+ }
+ '/platform/stripe/invoices/overdue': {
+ /** Gets information about overdue invoices that relate to the authenticated user */
+ get: operations['InvoicesController_getOverdueInvoices']
}
'/platform/stripe/setup-intent': {
/** Sets up a payment method */
post: operations['SetupIntentController_setUpPaymentMethod']
}
+ '/platform/telemetry/activity': {
+ /** Sends server activity */
+ post: operations['TelemetryActivityController_sendServerActivity']
+ }
'/platform/telemetry/event': {
/** Sends analytics server event */
post: operations['TelemetryEventController_sendServerEvent']
@@ -850,17 +967,13 @@ export interface paths {
/** Send server page event */
post: operations['TelemetryPageController_sendServerPage']
}
- '/platform/telemetry/activity': {
- /** Sends server activity */
- post: operations['TelemetryActivityController_sendServerActivity']
- }
'/platform/telemetry/pageview': {
/** Send pageview event */
post: operations['TelemetryPageviewController_sendServerPageViewed']
}
- '/platform/vercel/token': {
- /** Gets the Vercel access token for the given code */
- get: operations['VercelAccessTokenController_getAccessToken']
+ '/platform/tos/fly': {
+ /** Redirects to Fly sso flow */
+ get: operations['TermsOfServiceController_flyTosAccepted']
}
'/platform/vercel/projects': {
/** Gets the list of Vercel projects */
@@ -876,108 +989,75 @@ export interface paths {
/** Creates the environment variable for the given project ID on behalf of the given team ID */
post: operations['VercelEnvironmentVariablesController_createEnvironmentVariable']
}
- '/platform/integrations': {
- /** Gets user's integrations */
- get: operations['IntegrationsController_getUserInstallations']
+ '/platform/vercel/token': {
+ /** Gets the Vercel access token for the given code */
+ get: operations['VercelAccessTokenController_getAccessToken']
}
- '/platform/integrations/{slug}': {
- /** Gets integration with the given organization slug */
- get: operations['IntegrationsController_getUserInstallationForOrg']
+ '/system/auth/{ref}/templates/{template}': {
+ /** Gets GoTrue template */
+ get: operations['SystemAuthTemplateController_getTemplate']
}
- '/platform/integrations/vercel': {
- /**
- * Create vercel integration
- * @description Exchanges a vercel code for an access token and saves the access token to the new integration record
- */
- post: operations['VercelIntegrationController_createVercelIntegration']
+ '/system/database/{ref}/password': {
+ /** Updates the database password */
+ patch: operations['DatabasePasswordController_updatePassword']
}
- '/platform/integrations/vercel/{organization_integration_id}': {
- /** Removes Vercel organization integration with the given id */
- delete: operations['VercelIntegrationController_removeVercelIntegration']
+ '/system/github-secret-alert': {
+ /** Reset JWT if leaked keys found by GitHub secret scanning */
+ post: operations['GithubSecretAlertController_resetJwt']
}
- '/platform/integrations/vercel/projects/{organization_integration_id}': {
- /** Gets vercel projects with the given organization integration id */
- get: operations['VercelProjectController_getVercelProjects']
+ '/system/health': {
+ /** Get API health status */
+ get: operations['HealthController_getStatus']
}
- '/platform/integrations/vercel/connections/{organization_integration_id}': {
- /** Gets installed vercel project connections for the given organization integration */
- get: operations['VercelConnectionsController_getVercelConnections']
+ '/system/integrations/github/webhooks': {
+ /** Processes GitHub event */
+ post: operations['GitHubWebhooksController_processEvent']
}
- '/platform/integrations/vercel/connections': {
- /** Connects a Vercel project to a supabase project */
- post: operations['VercelConnectionsController_createVercelConnection']
+ '/system/integrations/vercel/webhooks': {
+ /** Processes Vercel event */
+ post: operations['VercelWebhooksController_processEvent']
}
- '/platform/integrations/vercel/connections/{connection_id}/sync-envs': {
- /** Syncs supabase project envs with given connection id */
- post: operations['VercelConnectionsController_syncVercelConnectionEnvironments']
+ '/system/organizations/{slug}/billing/partner/usage-and-costs': {
+ /** Gets the partner usage and costs */
+ get: operations['PartnerBillingSystemController_getPartnerUsageAndCosts']
}
- '/platform/integrations/vercel/connections/{connection_id}': {
- /** Deletes vercel project connection */
- delete: operations['VercelConnectionsController_deleteVercelConnection']
- /** Updates a Vercel connection for a supabase project */
- patch: operations['VercelConnectionsController_updateVercelConnection']
+ '/system/organizations/{slug}/billing/subscription': {
+ /** Gets the current subscription */
+ get: operations['OrgSubscriptionSystemController_getSubscription']
+ /** Updates subscription */
+ put: operations['OrgSubscriptionSystemController_updateSubscription']
}
- '/platform/integrations/github/authorization': {
- /** Get GitHub authorization */
- get: operations['GitHubAuthorizationsController_getGitHubAuthorization']
- /** Create GitHub authorization */
- post: operations['GitHubAuthorizationsController_createGitHubAuthorization']
+ '/system/organizations/{slug}/restrictions': {
+ /** Updates restriction status of an org */
+ put: operations['OrgRestrictionsSystemController_updateRestriction']
}
- '/platform/integrations/github/connections': {
- /** List organization GitHub connections */
- get: operations['GitHubConnectionsController_listOrganizationGitHubConnections']
- /** Connects a GitHub project to a supabase project */
- post: operations['GitHubConnectionsController_createGitHubConnection']
+ '/system/organizations/{slug}/usage': {
+ /** Gets usage stats */
+ get: operations['OrgUsageSystemController_getOrgUsage']
}
- '/platform/integrations/github/connections/{connection_id}': {
- /** Deletes github project connection */
- delete: operations['GitHubConnectionsController_deleteGitHubConnection']
- /** Updates a GitHub connection for a supabase project */
- patch: operations['GitHubConnectionsController_updateGitHubConnection']
+ '/system/partner-organizations': {
+ /** Creates a partner organization */
+ post: operations['AwsPartnerOrganizationsSystemController_createPartnerOrganization']
}
- '/platform/integrations/github/branches/{connectionId}': {
- /** List GitHub connection branches */
- get: operations['GitHubBranchesController_listConnectionBranches']
+ '/system/projects': {
+ /** Create a project */
+ post: operations['SystemProjectsController_createProject']
}
- '/platform/integrations/github/branches/{connectionId}/{branchName}': {
- /** Get GitHub connection branch */
- get: operations['GitHubBranchesController_getConnectionBranch']
+ '/system/projects/{ref}/billing/addons': {
+ /** Updates project addon */
+ post: operations['AddonsController_updateAddon']
}
- '/platform/integrations/github/repositories': {
- /** Gets GitHub repositories for user */
- get: operations['GitHubRepositoriesController_listRepositories']
+ '/system/projects/{ref}/billing/addons/{addon_variant}': {
+ /** Removes project addon */
+ delete: operations['AddonsController_removeAddon']
}
- '/platform/cli/login': {
- /** Create CLI login session */
- post: operations['CliLoginController_createCliLoginSession']
- }
- '/platform/cli/login/{session_id}': {
- /** Retrieve CLI login session */
- get: operations['CliLoginController_getCliLoginSession']
- }
- '/system/auth/{ref}/templates/{template}': {
- /** Gets GoTrue template */
- get: operations['SystemAuthTemplateController_getTemplate']
- }
- '/system/database/{ref}/password': {
- /** Updates the database password */
- patch: operations['DatabasePasswordController_updatePassword']
- }
- '/system/github-secret-alert': {
- /** Reset JWT if leaked keys found by GitHub secret scanning */
- post: operations['GithubSecretAlertController_resetJwt']
+ '/system/projects/{ref}/config/update-jwt/complete': {
+ /** Handle update project jwt on completion */
+ post: operations['ProjectUpdateJwtController_completeUpdateJwt']
}
- '/system/projects/{ref}/functions/{function_slug}': {
- /**
- * Delete a function
- * @description Deletes a function with the specified slug from the specified project.
- */
- delete: operations['v1-delete-a-function']
- /**
- * Update a function
- * @description Updates a function with the specified slug and project.
- */
- patch: operations['v1-update-a-function']
+ '/system/projects/{ref}/credentials/aws': {
+ /** Allows a project to obtain temporary credentials. */
+ post: operations['AwsCredentialsController_getTemporaryCredentials']
}
'/system/projects/{ref}/functions': {
/**
@@ -993,6 +1073,26 @@ export interface paths {
/** Deletes all Edge Functions from a project */
delete: operations['SystemFunctionsController_systemDeleteAllFunctions']
}
+ '/system/projects/{ref}/functions/{function_slug}': {
+ /**
+ * Delete a function
+ * @description Deletes a function with the specified slug from the specified project.
+ */
+ delete: operations['v1-delete-a-function']
+ /**
+ * Update a function
+ * @description Updates a function with the specified slug and project.
+ */
+ patch: operations['v1-update-a-function']
+ }
+ '/system/projects/{ref}/ha-events': {
+ /** Records an HA event */
+ put: operations['HaEventsController_updateStatus']
+ }
+ '/system/projects/{ref}/health-reporting': {
+ /** Updates a project's health status. */
+ put: operations['HealthReportingController_updateStatus']
+ }
'/system/projects/{ref}/run-lints': {
/** Run project lints */
get: operations['SystemProjectRunLintsController_runProjectLints']
@@ -1018,96 +1118,14 @@ export interface paths {
/** Refreshes secrets */
post: operations['SecretsRefreshController_refreshSecrets']
}
- '/system/health': {
- /** Get API health status */
- get: operations['HealthController_getStatus']
- }
- '/system/projects/{ref}/health-reporting': {
- /** Updates a project's health status. */
- put: operations['HealthReportingController_updateStatus']
- }
- '/system/projects/{ref}/ha-events': {
- /** Records an HA event */
- put: operations['HaEventsController_updateStatus']
- }
- '/system/projects/{ref}/credentials/aws': {
- /** Allows a project to obtain temporary credentials. */
- post: operations['AwsCredentialsController_getTemporaryCredentials']
- }
- '/system/projects/{ref}/billing/addons': {
- /** Updates project addon */
- post: operations['AddonsController_updateAddon']
- }
- '/system/projects/{ref}/billing/addons/{addon_variant}': {
- /** Removes project addon */
- delete: operations['AddonsController_removeAddon']
- }
- '/system/projects/{ref}/config/update-jwt/complete': {
- /** Handle update project jwt on completion */
- post: operations['ProjectUpdateJwtController_completeUpdateJwt']
- }
- '/system/projects': {
- /** Create a project */
- post: operations['SystemProjectsController_createProject']
- }
- '/system/organizations/{slug}/usage': {
- /** Gets usage stats */
- get: operations['OrgUsageSystemController_getOrgUsage']
- }
- '/system/organizations/{slug}/billing/partner/usage-and-costs': {
- /** Gets the partner usage and costs */
- get: operations['PartnerBillingSystemController_getPartnerUsageAndCosts']
- }
- '/system/organizations/{slug}/billing/subscription': {
- /** Gets the current subscription */
- get: operations['OrgSubscriptionSystemController_getSubscription']
- /** Updates subscription */
- put: operations['OrgSubscriptionSystemController_updateSubscription']
- }
- '/system/organizations/{slug}/restrictions': {
- /** Updates restriction status of an org */
- put: operations['OrgRestrictionsSystemController_updateRestriction']
- }
- '/system/partner-organizations': {
- /** Creates a partner organization */
- post: operations['AwsPartnerOrganizationsSystemController_createPartnerOrganization']
- }
- '/system/integrations/vercel/webhooks': {
- /** Processes Vercel event */
- post: operations['VercelWebhooksController_processEvent']
- }
- '/system/integrations/github/webhooks': {
- /** Processes GitHub event */
- post: operations['GitHubWebhooksController_processEvent']
- }
- '/system/stripe/webhooks-v2': {
+ '/system/stripe/webhooks': {
/** Processes Stripe event */
post: operations['StripeWebhooksController_processEvent']
}
- '/system/stripe/webhooks': {
+ '/system/stripe/webhooks-v2': {
/** Processes Stripe event */
post: operations['StripeWebhooksController_processEvent']
}
- '/v0/notifications': {
- /** Get notifications */
- get: operations['NotificationsController_getNotificationsV2']
- /** Delete notifications */
- delete: operations['NotificationsController_deleteNotifications']
- /** Update notifications */
- patch: operations['NotificationsController_updateNotificationsV2']
- }
- '/v0/notifications/summary': {
- /** Get an aggregated data of interest across all notifications for the user */
- get: operations['NotificationsController_getNotificationsSummary']
- }
- '/v0/notifications/archive-all': {
- /** Archives all notifications */
- patch: operations['NotificationsController_archiveAllNotifications']
- }
- '/v0/status': {
- /** Get infrastructure status */
- get: operations['StatusController_getStatus']
- }
'/v0/auth/{ref}/config': {
/** Gets GoTrue config */
get: operations['GoTrueConfigController_getGoTrueConfig']
@@ -1148,13 +1166,17 @@ export interface paths {
/** Gets project backups */
get: operations['BackupsController_getBackups']
}
+ '/v0/database/{ref}/backups/download': {
+ /** Download project backup */
+ post: operations['BackupsController_downloadBackup']
+ }
'/v0/database/{ref}/backups/enable-physical-backups': {
/** Enable usage of physical backups */
post: operations['BackupsController_enablePhysicalBackup']
}
- '/v0/database/{ref}/backups/download': {
- /** Download project backup */
- post: operations['BackupsController_downloadBackup']
+ '/v0/database/{ref}/backups/pitr': {
+ /** Restore project to a previous point in time */
+ post: operations['BackupsController_restorePointInTimeBackup']
}
'/v0/database/{ref}/backups/restore': {
/** Restore project backup */
@@ -1164,17 +1186,29 @@ export interface paths {
/** Restore project with a physical backup */
post: operations['BackupsController_restorePhysicalBackup']
}
- '/v0/database/{ref}/backups/pitr': {
- /** Restore project to a previous point in time */
- post: operations['BackupsController_restorePointInTimeBackup']
+ '/v0/database/{ref}/hook-enable': {
+ /** Enables Database Webhooks on the project */
+ post: operations['HooksController_enableHooks']
}
'/v0/database/{ref}/hook-logs': {
/** Gets hook logs with the given ID */
get: operations['HooksController_getHookLogs']
}
- '/v0/database/{ref}/hook-enable': {
- /** Enables Database Webhooks on the project */
- post: operations['HooksController_enableHooks']
+ '/v0/notifications': {
+ /** Get notifications */
+ get: operations['NotificationsController_getNotificationsV2']
+ /** Delete notifications */
+ delete: operations['NotificationsController_deleteNotifications']
+ /** Update notifications */
+ patch: operations['NotificationsController_updateNotificationsV2']
+ }
+ '/v0/notifications/archive-all': {
+ /** Archives all notifications */
+ patch: operations['NotificationsController_archiveAllNotifications']
+ }
+ '/v0/notifications/summary': {
+ /** Get an aggregated data of interest across all notifications for the user */
+ get: operations['NotificationsController_getNotificationsSummary']
}
'/v0/organizations': {
/** Gets user's organizations */
@@ -1182,19 +1216,25 @@ export interface paths {
/** Creates an organization */
post: operations['OrganizationsController_createOrganizationWithTier']
}
- '/v0/organizations/fly/{fly_organization_id}': {
- /** Gets organization linked to fly organization id */
- get: operations['OrganizationsController_getOrganizationByFlyOrganizationId']
- }
'/v0/organizations/{slug}': {
/** Deletes organization */
delete: operations['OrganizationSlugController_deleteOrganization']
/** Updates organization */
patch: operations['OrganizationSlugController_updateOrganization']
}
- '/v0/organizations/{slug}/roles': {
- /** Gets the given organization's roles */
- get: operations['OrganizationRolesController_getAllRolesV2']
+ '/v0/organizations/{slug}/members': {
+ /** Gets organization's members */
+ get: operations['MembersController_getMembers']
+ }
+ '/v0/organizations/{slug}/members/{gotrue_id}': {
+ /** Removes organization member */
+ delete: operations['MembersController_deleteMember']
+ /** Updates organization member role */
+ patch: operations['MembersController_updateMemberRoleV2']
+ }
+ '/v0/organizations/{slug}/members/{gotrue_id}/roles/{role_id}': {
+ /** Removes organization member */
+ delete: operations['MembersController_deleteMemberRole']
}
'/v0/organizations/{slug}/members/invite': {
/**
@@ -1225,19 +1265,13 @@ export interface paths {
*/
post: operations['JoinController_joinOrganization']
}
- '/v0/organizations/{slug}/members': {
- /** Gets organization's members */
- get: operations['MembersController_getMembers']
- }
- '/v0/organizations/{slug}/members/{gotrue_id}': {
- /** Removes organization member */
- delete: operations['MembersController_deleteMember']
- /** Updates organization member role */
- patch: operations['MembersController_updateMemberRoleV2']
+ '/v0/organizations/{slug}/roles': {
+ /** Gets the given organization's roles */
+ get: operations['OrganizationRolesController_getAllRolesV2']
}
- '/v0/organizations/{slug}/members/{gotrue_id}/roles/{role_id}': {
- /** Removes organization member */
- delete: operations['MembersController_deleteMemberRole']
+ '/v0/organizations/fly/{fly_organization_id}': {
+ /** Gets organization linked to fly organization id */
+ get: operations['OrganizationsController_getOrganizationByFlyOrganizationId']
}
'/v0/pg-meta/{ref}/column-privileges': {
/** Retrieve column privileges */
@@ -1335,14 +1369,14 @@ export interface paths {
/** Updates project pg.schema with the given ID */
patch: operations['SchemasController_updateSchema']
}
- '/v0/pg-meta/{ref}/search/tables': {
- /** Searches project pg.tables. Return maximum 50 results. */
- post: operations['SearchController_searchTables']
- }
'/v0/pg-meta/{ref}/search/columns': {
/** Searches project pg.columns. Return maximum 50 results. */
post: operations['SearchController_searchColumns']
}
+ '/v0/pg-meta/{ref}/search/tables': {
+ /** Searches project pg.tables. Return maximum 50 results. */
+ post: operations['SearchController_searchTables']
+ }
'/v0/pg-meta/{ref}/table-privileges': {
/** Retrieve table privileges */
get: operations['TablePrivilegesController_getTablePrivileges']
@@ -1388,115 +1422,17 @@ export interface paths {
/** Creates a project */
post: operations['ProjectsController_createProject']
}
- '/v0/projects/fly/{fly_extension_id}': {
- /** Gets project linked to fly extension id */
- get: operations['ProjectsController_getProjectByFlyExtensionId']
+ '/v0/projects/{ref}': {
+ /** Gets a specific project that belongs to the authenticated user */
+ get: operations['ProjectsRefController_getProject']
+ /** Deletes the given project */
+ delete: operations['ProjectsRefController_deleteProject']
+ /** Updates the given project */
+ patch: operations['ProjectsRefController_updateProject']
}
- '/v0/projects/metrics': {
- /**
- * Get metrics
- * @description At most 50 projects can be queried at a time.
- * Currently supports '1d', '3d', and '7d' intervals.
- */
- get: operations['V0ProjectsMetricsController_getProjectsMetrics']
- }
- '/v0/projects/{ref}/content': {
- /**
- * Gets project's content
- * @deprecated
- */
- get: operations['ContentController_getContent']
- /** Updates project's content */
- put: operations['ContentController_updateWholeContentV2']
- /** Creates project's content */
- post: operations['ContentController_createContentV2']
- /** Deletes project's contents */
- delete: operations['ContentController_deleteContents']
- /**
- * Updates project's content
- * @deprecated
- */
- patch: operations['ContentController_updateContent']
- }
- '/v0/projects/{ref}/content/item/{id}': {
- /** Gets project's content by the given id */
- get: operations['ContentController_getContentById']
- }
- '/v0/projects/{ref}/databases': {
- /** Gets non-removed databases of a specified project */
- get: operations['DatabasesController_getDatabases']
- }
- '/v0/projects/{ref}/databases-statuses': {
- /** Gets statuses of databases within a project */
- get: operations['DatabasesStatusesController_getStatus']
- }
- '/v0/projects/{ref}/db-password': {
- /** Updates the database password */
- patch: operations['DbPasswordController_updatePassword']
- }
- '/v0/projects/{ref}/live': {
- /** Gets project health check */
- get: operations['HealthCheckController_projectHealthCheck']
- }
- '/v0/projects/{ref}/load-balancers': {
- /** Gets non-removed databases of a specified project */
- get: operations['LoadBalancersController_getLoadBalancers']
- }
- '/v0/projects/{ref}/api/rest': {
- /** Gets project OpenApi */
- get: operations['ProjectsApiController_projectOpenApi']
- }
- '/v0/projects/{ref}/api/graphql': {
- /** Queries project Graphql */
- post: operations['ProjectsApiController_projectGraphql']
- }
- '/v0/projects/{ref}/infra-monitoring': {
- /** Gets project's usage metrics */
- get: operations['InfraMonitoringController_getUsageMetrics']
- }
- '/v0/projects/{ref}/pause': {
- /** Pauses the project */
- post: operations['PauseController_pauseProject']
- }
- '/v0/projects/{ref}/pause/status': {
- /** Gets the latest pause event for a project if a project is paused */
- get: operations['PauseController_getProject']
- }
- '/v0/projects/{ref}/resize': {
- /** Resize database disk */
- post: operations['ResizeController_resizeDatabase']
- }
- '/v0/projects/{ref}/restart': {
- /** Restarts project */
- post: operations['RestartController_restartProject']
- }
- '/v0/projects/{ref}': {
- /** Gets a specific project that belongs to the authenticated user */
- get: operations['ProjectsRefController_getProject']
- /** Deletes the given project */
- delete: operations['ProjectsRefController_deleteProject']
- /** Updates the given project */
- patch: operations['ProjectsRefController_updateProject']
- }
- '/v0/projects/{ref}/restore': {
- /** Restores project */
- post: operations['RestoreController_restoreProject']
- }
- '/v0/projects/{ref}/restart-services': {
- /** Restarts given services */
- post: operations['RestartServicesController_restartServices']
- }
- '/v0/projects/{ref}/settings': {
- /** Gets project's settings */
- get: operations['SettingsController_getProjectApi']
- }
- '/v0/projects/{ref}/status': {
- /** Gets project's status */
- get: operations['ProjectStatusController_getStatus']
- }
- '/v0/projects/{ref}/analytics/endpoints/functions.inv-stats': {
- /** Gets a project's function invocation statistics */
- get: operations['FunctionInvocationLogsController_getStatus']
+ '/v0/projects/{ref}/analytics/endpoints/functions.inv-stats': {
+ /** Gets a project's function invocation statistics */
+ get: operations['FunctionInvocationLogsController_getStatus']
}
'/v0/projects/{ref}/analytics/endpoints/functions.req-stats': {
/** Gets a project's function request statistics */
@@ -1518,9 +1454,15 @@ export interface paths {
/** Gets project's usage api requests count */
get: operations['UsageApiController_getApiRequestsCount']
}
- '/v0/projects/{ref}/analytics/warehouse/tenant': {
- /** Gets project's warehouse tenant from logflare */
- get: operations['TenantController_getTenant']
+ '/v0/projects/{ref}/analytics/warehouse/access-tokens': {
+ /** Lists project's warehouse access tokens from logflare */
+ get: operations['AccessTokenController_listAccessTokens']
+ /** Create a warehouse access token */
+ post: operations['AccessTokenController_createAccessToken']
+ }
+ '/v0/projects/{ref}/analytics/warehouse/access-tokens/{token}': {
+ /** Delete a warehouse access token */
+ delete: operations['AccessTokenController_deleteAccessToken']
}
'/v0/projects/{ref}/analytics/warehouse/collections': {
/** Lists project's warehouse collections from logflare */
@@ -1536,16 +1478,6 @@ export interface paths {
/** Update a warehouse collection */
patch: operations['CollectionController_updateCollection']
}
- '/v0/projects/{ref}/analytics/warehouse/access-tokens': {
- /** Lists project's warehouse access tokens from logflare */
- get: operations['AccessTokenController_listAccessTokens']
- /** Create a warehouse access token */
- post: operations['AccessTokenController_createAccessToken']
- }
- '/v0/projects/{ref}/analytics/warehouse/access-tokens/{token}': {
- /** Delete a warehouse access token */
- delete: operations['AccessTokenController_deleteAccessToken']
- }
'/v0/projects/{ref}/analytics/warehouse/endpoints': {
/** Lists project's warehouse endpoints from logflare */
get: operations['EndpointController_listEndpoints']
@@ -1562,6 +1494,28 @@ export interface paths {
/** Lists project's warehouse queries from logflare */
get: operations['WarehouseQueryController_runQuery']
}
+ '/v0/projects/{ref}/analytics/warehouse/tenant': {
+ /** Gets project's warehouse tenant from logflare */
+ get: operations['TenantController_getTenant']
+ }
+ '/v0/projects/{ref}/api/graphql': {
+ /** Queries project Graphql */
+ post: operations['ProjectsApiController_projectGraphql']
+ }
+ '/v0/projects/{ref}/api/rest': {
+ /** Gets project OpenApi */
+ get: operations['ProjectsApiController_projectOpenApi']
+ }
+ '/v0/projects/{ref}/billing/addons': {
+ /** Gets project addons */
+ get: operations['ProjectAddonController_getProjectAddons']
+ /** Updates project addon */
+ post: operations['ProjectAddonController_updateAddon']
+ }
+ '/v0/projects/{ref}/billing/addons/{addon_variant}': {
+ /** Removes project addon */
+ delete: operations['ProjectAddonController_removeAddon']
+ }
'/v0/projects/{ref}/config/pgbouncer': {
/** Gets project's pgbouncer config */
get: operations['PgbouncerConfigController_getPgbouncerConfig']
@@ -1572,18 +1526,18 @@ export interface paths {
/** Gets project's pgbouncer status */
get: operations['PgbouncerConfigController_getPgbouncerStatus']
}
- '/v0/projects/{ref}/config/postgrest': {
- /** Gets project's postgrest config */
- get: operations['PostgrestConfigController_getPostgRESTConfig']
- /** Updates project's postgrest config */
- patch: operations['PostgrestConfigController_updatePostgRESTConfig']
- }
'/v0/projects/{ref}/config/postgres': {
/** Gets project's Postgres config */
get: operations['v1-get-postgres-config']
/** Updates project's Postgres config */
put: operations['v1-update-postgres-config']
}
+ '/v0/projects/{ref}/config/postgrest': {
+ /** Gets project's postgrest config */
+ get: operations['PostgrestConfigController_getPostgRESTConfig']
+ /** Updates project's postgrest config */
+ patch: operations['PostgrestConfigController_updatePostgRESTConfig']
+ }
'/v0/projects/{ref}/config/secrets': {
/** Updates project's secrets config */
patch: operations['SecretsConfigController_updateConfig']
@@ -1600,80 +1554,164 @@ export interface paths {
/** Updates project's supavisor config */
patch: operations['v1-update-supavisor-config']
}
- '/v0/projects/{ref}/billing/addons': {
- /** Gets project addons */
- get: operations['ProjectAddonController_getProjectAddons']
- /** Updates project addon */
- post: operations['ProjectAddonController_updateAddon']
+ '/v0/projects/{ref}/content': {
+ /**
+ * Gets project's content
+ * @deprecated
+ */
+ get: operations['ContentController_getContent']
+ /** Updates project's content */
+ put: operations['ContentController_updateWholeContentV2']
+ /** Creates project's content */
+ post: operations['ContentController_createContentV2']
+ /** Deletes project's contents */
+ delete: operations['ContentController_deleteContents']
+ /**
+ * Updates project's content
+ * @deprecated
+ */
+ patch: operations['ContentController_updateContent']
}
- '/v0/projects/{ref}/billing/addons/{addon_variant}': {
- /** Removes project addon */
- delete: operations['ProjectAddonController_removeAddon']
+ '/v0/projects/{ref}/content/item/{id}': {
+ /** Gets project's content by the given id */
+ get: operations['ContentController_getContentById']
}
- '/v0/storage/{ref}/buckets/{id}': {
- /** Gets bucket */
- get: operations['StorageBucketIdController_getBucket']
- /** Deletes bucket */
- delete: operations['StorageBucketIdController_deleteBucket']
- /** Updates bucket */
- patch: operations['StorageBucketIdController_updateBucket']
+ '/v0/projects/{ref}/databases': {
+ /** Gets non-removed databases of a specified project */
+ get: operations['DatabasesController_getDatabases']
}
- '/v0/storage/{ref}/buckets/{id}/empty': {
- /** Removes all objects inside a single bucket. */
- post: operations['StorageBucketIdController_emptyBucket']
+ '/v0/projects/{ref}/databases-statuses': {
+ /** Gets statuses of databases within a project */
+ get: operations['DatabasesStatusesController_getStatus']
}
- '/v0/storage/{ref}/buckets': {
- /** Gets list of buckets */
- get: operations['StorageBucketsController_getBuckets']
- /** Create bucket */
- post: operations['StorageBucketsController_createBucket']
+ '/v0/projects/{ref}/db-password': {
+ /** Updates the database password */
+ patch: operations['DbPasswordController_updatePassword']
}
- '/v0/storage/{ref}/buckets/{id}/objects/list': {
- /** Gets list of objects with the given bucket */
- post: operations['StorageObjectsController_getObjects']
+ '/v0/projects/{ref}/infra-monitoring': {
+ /** Gets project's usage metrics */
+ get: operations['InfraMonitoringController_getUsageMetrics']
}
- '/v0/storage/{ref}/buckets/{id}/objects/public-url': {
- /** Creates URL for an asset in a public bucket */
- post: operations['StorageObjectsController_createPublicUrl']
+ '/v0/projects/{ref}/live': {
+ /** Gets project health check */
+ get: operations['HealthCheckController_projectHealthCheck']
}
- '/v0/storage/{ref}/buckets/{id}/objects/download': {
- /** Downloads a file from a private bucket */
- post: operations['StorageObjectsController_download']
+ '/v0/projects/{ref}/load-balancers': {
+ /** Gets non-removed databases of a specified project */
+ get: operations['LoadBalancersController_getLoadBalancers']
}
- '/v0/storage/{ref}/buckets/{id}/objects/sign': {
- /** Creates a signed URL */
- post: operations['StorageObjectsController_createSignedUrl']
+ '/v0/projects/{ref}/pause': {
+ /** Pauses the project */
+ post: operations['PauseController_pauseProject']
}
- '/v0/storage/{ref}/buckets/{id}/objects/sign-multi': {
- /** Gets multiple signed URLs */
- post: operations['StorageObjectsController_createSignedUrls']
+ '/v0/projects/{ref}/pause/status': {
+ /** Gets the latest pause event for a project if a project is paused */
+ get: operations['PauseController_getProject']
}
- '/v0/storage/{ref}/buckets/{id}/objects/copy': {
- /** Copys object */
- post: operations['StorageObjectsController_copyObject']
+ '/v0/projects/{ref}/resize': {
+ /** Resize database disk */
+ post: operations['ResizeController_resizeDatabase']
}
- '/v0/storage/{ref}/buckets/{id}/objects/move': {
- /** Move object */
- post: operations['StorageObjectsController_moveObject']
+ '/v0/projects/{ref}/restart': {
+ /** Restarts project */
+ post: operations['RestartController_restartProject']
}
- '/v0/storage/{ref}/buckets/{id}/objects': {
- /** Deletes objects */
- delete: operations['StorageObjectsController_deleteObjects']
+ '/v0/projects/{ref}/restart-services': {
+ /** Restarts given services */
+ post: operations['RestartServicesController_restartServices']
}
- '/v0/storage/{ref}/credentials': {
- /** Gets project storage credentials */
- get: operations['StorageS3CredentialsController_getAllCredentials']
- /** Creates project storage credential */
- post: operations['StorageS3CredentialsController_createCredential']
+ '/v0/projects/{ref}/restore': {
+ /** Restores project */
+ post: operations['RestoreController_restoreProject']
}
- '/v0/storage/{ref}/credentials/{id}': {
- /** Deletes project storage credential */
- delete: operations['StorageS3CredentialsController_deleteCredential']
+ '/v0/projects/{ref}/settings': {
+ /** Gets project's settings */
+ get: operations['SettingsController_getProjectApi']
}
- '/v1/branches/{branch_id}': {
- /**
- * Get database branch config
- * @description Fetches configurations of the specified database branch
+ '/v0/projects/{ref}/status': {
+ /** Gets project's status */
+ get: operations['ProjectStatusController_getStatus']
+ }
+ '/v0/projects/fly/{fly_extension_id}': {
+ /** Gets project linked to fly extension id */
+ get: operations['ProjectsController_getProjectByFlyExtensionId']
+ }
+ '/v0/projects/metrics': {
+ /**
+ * Get metrics
+ * @description At most 50 projects can be queried at a time.
+ * Currently supports '1d', '3d', and '7d' intervals.
+ */
+ get: operations['V0ProjectsMetricsController_getProjectsMetrics']
+ }
+ '/v0/status': {
+ /** Get infrastructure status */
+ get: operations['StatusController_getStatus']
+ }
+ '/v0/storage/{ref}/buckets': {
+ /** Gets list of buckets */
+ get: operations['StorageBucketsController_getBuckets']
+ /** Create bucket */
+ post: operations['StorageBucketsController_createBucket']
+ }
+ '/v0/storage/{ref}/buckets/{id}': {
+ /** Gets bucket */
+ get: operations['StorageBucketIdController_getBucket']
+ /** Deletes bucket */
+ delete: operations['StorageBucketIdController_deleteBucket']
+ /** Updates bucket */
+ patch: operations['StorageBucketIdController_updateBucket']
+ }
+ '/v0/storage/{ref}/buckets/{id}/empty': {
+ /** Removes all objects inside a single bucket. */
+ post: operations['StorageBucketIdController_emptyBucket']
+ }
+ '/v0/storage/{ref}/buckets/{id}/objects': {
+ /** Deletes objects */
+ delete: operations['StorageObjectsController_deleteObjects']
+ }
+ '/v0/storage/{ref}/buckets/{id}/objects/copy': {
+ /** Copys object */
+ post: operations['StorageObjectsController_copyObject']
+ }
+ '/v0/storage/{ref}/buckets/{id}/objects/download': {
+ /** Downloads a file from a private bucket */
+ post: operations['StorageObjectsController_download']
+ }
+ '/v0/storage/{ref}/buckets/{id}/objects/list': {
+ /** Gets list of objects with the given bucket */
+ post: operations['StorageObjectsController_getObjects']
+ }
+ '/v0/storage/{ref}/buckets/{id}/objects/move': {
+ /** Move object */
+ post: operations['StorageObjectsController_moveObject']
+ }
+ '/v0/storage/{ref}/buckets/{id}/objects/public-url': {
+ /** Creates URL for an asset in a public bucket */
+ post: operations['StorageObjectsController_createPublicUrl']
+ }
+ '/v0/storage/{ref}/buckets/{id}/objects/sign': {
+ /** Creates a signed URL */
+ post: operations['StorageObjectsController_createSignedUrl']
+ }
+ '/v0/storage/{ref}/buckets/{id}/objects/sign-multi': {
+ /** Gets multiple signed URLs */
+ post: operations['StorageObjectsController_createSignedUrls']
+ }
+ '/v0/storage/{ref}/credentials': {
+ /** Gets project storage credentials */
+ get: operations['StorageS3CredentialsController_getAllCredentials']
+ /** Creates project storage credential */
+ post: operations['StorageS3CredentialsController_createCredential']
+ }
+ '/v0/storage/{ref}/credentials/{id}': {
+ /** Deletes project storage credential */
+ delete: operations['StorageS3CredentialsController_deleteCredential']
+ }
+ '/v1/branches/{branch_id}': {
+ /**
+ * Get database branch config
+ * @description Fetches configurations of the specified database branch
*/
get: operations['v1-get-a-branch-config']
/**
@@ -1694,6 +1732,31 @@ export interface paths {
*/
post: operations['v1-reset-a-branch']
}
+ '/v1/oauth/authorize': {
+ /** [Beta] Authorize user through oauth */
+ get: operations['v1-authorize-user']
+ }
+ '/v1/oauth/token': {
+ /** [Beta] Exchange auth code for user's access and refresh token */
+ post: operations['v1-exchange-oauth-token']
+ }
+ '/v1/organizations': {
+ /**
+ * List all organizations
+ * @description Returns a list of organizations that you currently belong to.
+ */
+ get: operations['v1-list-all-organizations']
+ /** Create an organization */
+ post: operations['v1-create-an-organization']
+ }
+ '/v1/organizations/{slug}': {
+ /** Gets information about the organization */
+ get: operations['v1-get-an-organization']
+ }
+ '/v1/organizations/{slug}/members': {
+ /** List members of an organization */
+ get: operations['v1-list-organization-members']
+ }
'/v1/projects': {
/**
* List all projects
@@ -1703,6 +1766,10 @@ export interface paths {
/** Create a project */
post: operations['v1-create-a-project']
}
+ '/v1/projects/{ref}': {
+ /** Deletes the given project */
+ delete: operations['v1-Delete a project']
+ }
'/v1/projects/{ref}/api-keys': {
/** Get project api keys */
get: operations['v1-get-project-api-keys']
@@ -1724,12 +1791,52 @@ export interface paths {
*/
delete: operations['v1-disable-preview-branching']
}
+ '/v1/projects/{ref}/config/auth': {
+ /** Gets project's auth config */
+ get: operations['v1-get-auth-service-config']
+ /** Updates a project's auth config */
+ patch: operations['v1-update-auth-service-config']
+ }
+ '/v1/projects/{ref}/config/auth/sso/providers': {
+ /** Lists all SSO providers */
+ get: operations['v1-list-all-sso-provider']
+ /** Creates a new SSO provider */
+ post: operations['v1-create-a-sso-provider']
+ }
+ '/v1/projects/{ref}/config/auth/sso/providers/{provider_id}': {
+ /** Gets a SSO provider by its UUID */
+ get: operations['v1-get-a-sso-provider']
+ /** Updates a SSO provider by its UUID */
+ put: operations['v1-update-a-sso-provider']
+ /** Removes a SSO provider by its UUID */
+ delete: operations['v1-delete-a-sso-provider']
+ }
+ '/v1/projects/{ref}/config/database/pgbouncer': {
+ /** Get project's pgbouncer config */
+ get: operations['v1-get-project-pgbouncer-config']
+ }
+ '/v1/projects/{ref}/config/database/pooler': {
+ /** Gets project's supavisor config */
+ get: operations['v1-get-supavisor-config']
+ /** Updates project's supavisor config */
+ patch: operations['v1-update-supavisor-config']
+ }
+ '/v1/projects/{ref}/config/database/postgres': {
+ /** Gets project's Postgres config */
+ get: operations['v1-get-postgres-config']
+ /** Updates project's Postgres config */
+ put: operations['v1-update-postgres-config']
+ }
'/v1/projects/{ref}/custom-hostname': {
/** [Beta] Gets project's custom hostname config */
get: operations['v1-get-hostname-config']
/** [Beta] Deletes a project's custom hostname configuration */
delete: operations['v1-Delete hostname config']
}
+ '/v1/projects/{ref}/custom-hostname/activate': {
+ /** [Beta] Activates a custom hostname for a project. */
+ post: operations['v1-activate-custom-hostname']
+ }
'/v1/projects/{ref}/custom-hostname/initialize': {
/** [Beta] Updates project's custom hostname configuration */
post: operations['v1-update-hostname-config']
@@ -1738,18 +1845,70 @@ export interface paths {
/** [Beta] Attempts to verify the DNS configuration for project's custom hostname configuration */
post: operations['v1-verify-dns-config']
}
- '/v1/projects/{ref}/custom-hostname/activate': {
- /** [Beta] Activates a custom hostname for a project. */
- post: operations['v1-activate-custom-hostname']
+ '/v1/projects/{ref}/database/backups': {
+ /** Lists all backups */
+ get: operations['v1-list-all-backups']
}
- '/v1/projects/{ref}/network-bans/retrieve': {
- /** [Beta] Gets project's network bans */
- post: operations['v1-list-all-network-bans']
+ '/v1/projects/{ref}/database/backups/restore-pitr': {
+ /** Restores a PITR backup for a database */
+ post: operations['v1-restore-pitr-backup']
+ }
+ '/v1/projects/{ref}/database/query': {
+ /** [Beta] Run sql query */
+ post: operations['v1-run-a-query']
+ }
+ '/v1/projects/{ref}/database/webhooks/enable': {
+ /** [Beta] Enables Database Webhooks on the project */
+ post: operations['v1-enable-database-webhook']
+ }
+ '/v1/projects/{ref}/functions': {
+ /**
+ * List all functions
+ * @description Returns all functions you've previously added to the specified project.
+ */
+ get: operations['v1-list-all-functions']
+ /**
+ * Create a function
+ * @description Creates a function and adds it to the specified project.
+ */
+ post: operations['FunctionsController_createFunction']
+ }
+ '/v1/projects/{ref}/functions/{function_slug}': {
+ /**
+ * Retrieve a function
+ * @description Retrieves a function with the specified slug and project.
+ */
+ get: operations['v1-get-a-function']
+ /**
+ * Delete a function
+ * @description Deletes a function with the specified slug from the specified project.
+ */
+ delete: operations['v1-delete-a-function']
+ /**
+ * Update a function
+ * @description Updates a function with the specified slug and project.
+ */
+ patch: operations['v1-update-a-function']
+ }
+ '/v1/projects/{ref}/functions/{function_slug}/body': {
+ /**
+ * Retrieve a function body
+ * @description Retrieves a function body for the specified slug and project.
+ */
+ get: operations['v1-get-a-function-body']
+ }
+ '/v1/projects/{ref}/health': {
+ /** Gets project's service health status */
+ get: operations['v1-get-services-health']
}
'/v1/projects/{ref}/network-bans': {
/** [Beta] Remove network bans. */
delete: operations['v1-delete-network-bans']
}
+ '/v1/projects/{ref}/network-bans/retrieve': {
+ /** [Beta] Gets project's network bans */
+ post: operations['v1-list-all-network-bans']
+ }
'/v1/projects/{ref}/network-restrictions': {
/** [Beta] Gets project's network restrictions */
get: operations['v1-get-network-restrictions']
@@ -1770,9 +1929,21 @@ export interface paths {
/** Updates project's postgrest config */
patch: operations['v1-update-postgrest-service-config']
}
- '/v1/projects/{ref}': {
- /** Deletes the given project */
- delete: operations['v1-Delete a project']
+ '/v1/projects/{ref}/read-replicas/remove': {
+ /** [Beta] Remove a read replica */
+ post: operations['v1-remove-a-read-replica']
+ }
+ '/v1/projects/{ref}/read-replicas/setup': {
+ /** [Beta] Set up a read replica */
+ post: operations['v1-setup-a-read-replica']
+ }
+ '/v1/projects/{ref}/readonly': {
+ /** Returns project's readonly mode status */
+ get: operations['v1-get-readonly-mode-status']
+ }
+ '/v1/projects/{ref}/readonly/temporary-disable': {
+ /** Disables project's readonly mode for the next 15 minutes */
+ post: operations['v1-disable-readonly-mode-temporarily']
}
'/v1/projects/{ref}/secrets': {
/**
@@ -1797,6 +1968,10 @@ export interface paths {
/** [Beta] Update project's SSL enforcement configuration. */
put: operations['v1-update-ssl-enforcement-config']
}
+ '/v1/projects/{ref}/storage/buckets': {
+ /** Lists all buckets */
+ get: operations['v1-list-all-buckets']
+ }
'/v1/projects/{ref}/types/typescript': {
/**
* Generate TypeScript types
@@ -1804,20 +1979,6 @@ export interface paths {
*/
get: operations['v1-generate-typescript-types']
}
- '/v1/projects/{ref}/vanity-subdomain': {
- /** [Beta] Gets current vanity subdomain config */
- get: operations['v1-get-vanity-subdomain-config']
- /** [Beta] Deletes a project's vanity subdomain configuration */
- delete: operations['v1-deactivate-vanity-subdomain-config']
- }
- '/v1/projects/{ref}/vanity-subdomain/check-availability': {
- /** [Beta] Checks vanity subdomain availability */
- post: operations['v1-check-vanity-subdomain-availability']
- }
- '/v1/projects/{ref}/vanity-subdomain/activate': {
- /** [Beta] Activates a vanity subdomain for a project. */
- post: operations['v1-activate-vanity-subdomain-config']
- }
'/v1/projects/{ref}/upgrade': {
/** [Beta] Upgrades the project's Postgres version */
post: operations['v1-upgrade-postgres-version']
@@ -1830,142 +1991,19 @@ export interface paths {
/** [Beta] Gets the latest status of the project's upgrade */
get: operations['v1-get-postgrest-upgrade-status']
}
- '/v1/projects/{ref}/readonly': {
- /** Returns project's readonly mode status */
- get: operations['v1-get-readonly-mode-status']
- }
- '/v1/projects/{ref}/readonly/temporary-disable': {
- /** Disables project's readonly mode for the next 15 minutes */
- post: operations['v1-disable-readonly-mode-temporarily']
- }
- '/v1/projects/{ref}/read-replicas/setup': {
- /** [Beta] Set up a read replica */
- post: operations['v1-setup-a-read-replica']
- }
- '/v1/projects/{ref}/read-replicas/remove': {
- /** [Beta] Remove a read replica */
- post: operations['v1-remove-a-read-replica']
- }
- '/v1/projects/{ref}/health': {
- /** Gets project's service health status */
- get: operations['v1-get-services-health']
- }
- '/v1/projects/{ref}/config/database/postgres': {
- /** Gets project's Postgres config */
- get: operations['v1-get-postgres-config']
- /** Updates project's Postgres config */
- put: operations['v1-update-postgres-config']
- }
- '/v1/projects/{ref}/config/database/pgbouncer': {
- /** Get project's pgbouncer config */
- get: operations['v1-get-project-pgbouncer-config']
- }
- '/v1/projects/{ref}/config/database/pooler': {
- /** Gets project's supavisor config */
- get: operations['v1-get-supavisor-config']
- /** Updates project's supavisor config */
- patch: operations['v1-update-supavisor-config']
- }
- '/v1/projects/{ref}/config/auth': {
- /** Gets project's auth config */
- get: operations['v1-get-auth-service-config']
- /** Updates a project's auth config */
- patch: operations['v1-update-auth-service-config']
- }
- '/v1/projects/{ref}/config/auth/sso/providers': {
- /** Lists all SSO providers */
- get: operations['v1-list-all-sso-provider']
- /** Creates a new SSO provider */
- post: operations['v1-create-a-sso-provider']
- }
- '/v1/projects/{ref}/config/auth/sso/providers/{provider_id}': {
- /** Gets a SSO provider by its UUID */
- get: operations['v1-get-a-sso-provider']
- /** Updates a SSO provider by its UUID */
- put: operations['v1-update-a-sso-provider']
- /** Removes a SSO provider by its UUID */
- delete: operations['v1-delete-a-sso-provider']
- }
- '/v1/projects/{ref}/database/query': {
- /** [Beta] Run sql query */
- post: operations['v1-run-a-query']
- }
- '/v1/projects/{ref}/database/webhooks/enable': {
- /** [Beta] Enables Database Webhooks on the project */
- post: operations['v1-enable-database-webhook']
- }
- '/v1/projects/{ref}/database/backups': {
- /** Lists all backups */
- get: operations['v1-list-all-backups']
- }
- '/v1/projects/{ref}/database/backups/restore-pitr': {
- /** Restores a PITR backup for a database */
- post: operations['v1-restore-pitr-backup']
- }
- '/v1/projects/{ref}/functions': {
- /**
- * List all functions
- * @description Returns all functions you've previously added to the specified project.
- */
- get: operations['v1-list-all-functions']
- /**
- * Create a function
- * @description Creates a function and adds it to the specified project.
- */
- post: operations['FunctionsController_createFunction']
- }
- '/v1/projects/{ref}/functions/{function_slug}': {
- /**
- * Retrieve a function
- * @description Retrieves a function with the specified slug and project.
- */
- get: operations['v1-get-a-function']
- /**
- * Delete a function
- * @description Deletes a function with the specified slug from the specified project.
- */
- delete: operations['v1-delete-a-function']
- /**
- * Update a function
- * @description Updates a function with the specified slug and project.
- */
- patch: operations['v1-update-a-function']
- }
- '/v1/projects/{ref}/functions/{function_slug}/body': {
- /**
- * Retrieve a function body
- * @description Retrieves a function body for the specified slug and project.
- */
- get: operations['v1-get-a-function-body']
- }
- '/v1/projects/{ref}/storage/buckets': {
- /** Lists all buckets */
- get: operations['v1-list-all-buckets']
- }
- '/v1/organizations': {
- /**
- * List all organizations
- * @description Returns a list of organizations that you currently belong to.
- */
- get: operations['v1-list-all-organizations']
- /** Create an organization */
- post: operations['v1-create-an-organization']
- }
- '/v1/organizations/{slug}/members': {
- /** List members of an organization */
- get: operations['v1-list-organization-members']
- }
- '/v1/organizations/{slug}': {
- /** Gets information about the organization */
- get: operations['v1-get-an-organization']
+ '/v1/projects/{ref}/vanity-subdomain': {
+ /** [Beta] Gets current vanity subdomain config */
+ get: operations['v1-get-vanity-subdomain-config']
+ /** [Beta] Deletes a project's vanity subdomain configuration */
+ delete: operations['v1-deactivate-vanity-subdomain-config']
}
- '/v1/oauth/authorize': {
- /** [Beta] Authorize user through oauth */
- get: operations['v1-authorize-user']
+ '/v1/projects/{ref}/vanity-subdomain/activate': {
+ /** [Beta] Activates a vanity subdomain for a project. */
+ post: operations['v1-activate-vanity-subdomain-config']
}
- '/v1/oauth/token': {
- /** [Beta] Exchange auth code for user's access and refresh token */
- post: operations['v1-exchange-oauth-token']
+ '/v1/projects/{ref}/vanity-subdomain/check-availability': {
+ /** [Beta] Checks vanity subdomain availability */
+ post: operations['v1-check-vanity-subdomain-availability']
}
'/v1/snippets': {
/** Lists SQL snippets for the logged in user */
@@ -1975,988 +2013,436 @@ export interface paths {
/** Gets a specific SQL snippet */
get: operations['v1-get-a-snippet']
}
- '/partners/flyio/callback': {
- /** Redirects to Supabase dashboard after completing Fly sso */
- get: operations['CallbackController_redirectToDashboardFlyioExtensionScreen']
- }
- '/partners/flyio/extensions/{extension_id}': {
- /** Gets database status */
- get: operations['ExtensionController_getResourceStatus']
- /** Deletes a database */
- delete: operations['ExtensionController_deleteResource']
- }
- '/partners/flyio/extensions/{extension_id}/sso': {
- /** Starts Fly single sign on */
- get: operations['ExtensionController_startFlyioSSO']
- }
- '/partners/flyio/extensions': {
- /** Creates a database */
- post: operations['FlyExtensionsController_provisionResource']
- }
- '/partners/flyio/organizations/{organization_id}': {
- /** Gets details of the organization linked to the provided Fly organization id */
- get: operations['FlyOrganizationsController_getOrganization']
- }
- '/partners/flyio/organizations/{organization_id}/extensions': {
- /** Gets all databases that belong to the given Fly organization id */
- get: operations['FlyOrganizationsController_getOrgExtensions']
- }
- '/partners/flyio/organizations/{organization_id}/sso': {
- /** Starts Fly single sign on */
- get: operations['FlyOrganizationsController_startFlyioSSO']
- }
- '/partners/flyio/organizations/{organization_id}/subscription': {
- /** Updates organization subscription linked to the provided Fly organization id */
- put: operations['FlyOrganizationsController_updateOrganization']
- }
- '/partners/flyio/organizations/{organization_id}/billing': {
- /** Gets the organizations current unbilled charges */
- get: operations['FlyBillingController_getResourceBilling']
- }
}
export type webhooks = Record<string, never>
export interface components {
schemas: {
- NotificationResponseV1: {
- id: string
- inserted_at: string
- project_id: number
- notification_name: string
- notification_status: string
- data: Record<string, never>
- meta: Record<string, never>
- }
- UpdateNotificationsBodyV1: {
- ids: string[]
- }
- NotificationAction: {
- label: string
- url?: string
- action_type?: string
- }
- NotificationData: {
- org_slug?: string
- project_ref?: string
- title: string
- message?: string
- actions?: components['schemas']['NotificationAction'][]
- }
- NotificationResponseV2: {
- /** @enum {string} */
- status: 'new' | 'seen' | 'archived'
- /** @enum {string} */
- priority: 'Critical' | 'Warning' | 'Info'
- data: components['schemas']['NotificationData']
- id: string
- inserted_at: string
+ AccessToken: {
+ created_at: string
+ id: number
name: string
- meta: Record<string, never>
- }
- NotificationsSummary: {
- unread_count: number
- has_warning: boolean
- has_critical: boolean
- }
- UpdateNotificationBodyV2: {
- id: string
/** @enum {string} */
- status: 'new' | 'seen' | 'archived'
- }
- ResetPasswordBody: {
- email: string
- redirectTo?: string
- }
- SendFeedbackBody: {
- message: string
- affectedServices?: string
- library?: string
- category: string
- subject?: string
- tags: string[]
- additionalRedirectUrls?: string
- pathname?: string
- projectRef?: string
- organizationSlug?: string
- severity?: string
- siteUrl?: string
- urlToAirTable?: string
- allowSupportAccess?: boolean
- verified?: boolean
- browserInformation?: string
+ scope?: 'V0'
+ token_alias: string
}
- SendFeedbackResponse: {
- result: string
+ ActivateVanitySubdomainResponse: {
+ custom_domain: string
}
- SendExitSurveyBody: {
- projectRef?: string
- orgSlug?: string
- reasons: string
- additionalFeedback?: string
- exitAction?: string
+ /** @enum {string} */
+ AddonVariantId:
+ | 'ci_micro'
+ | 'ci_small'
+ | 'ci_medium'
+ | 'ci_large'
+ | 'ci_xlarge'
+ | 'ci_2xlarge'
+ | 'ci_4xlarge'
+ | 'ci_8xlarge'
+ | 'ci_12xlarge'
+ | 'ci_16xlarge'
+ | 'cd_default'
+ | 'pitr_7'
+ | 'pitr_14'
+ | 'pitr_28'
+ | 'ipv4_default'
+ AmiSearchOptions: {
+ search_tags?: Record<string, never>
}
- SendUpgradeSurveyBody: {
- orgSlug?: string
- prevPlan?: string
- currentPlan?: string
- reasons: string[]
- additionalFeedback?: string
+ AnalyticsResponse: {
+ error?: OneOf<
+ [
+ {
+ code?: number
+ errors?: {
+ domain?: string
+ location?: string
+ locationType?: string
+ message?: string
+ reason?: string
+ }[]
+ message?: string
+ status?: string
+ },
+ string,
+ ]
+ >
+ result?: Record<string, never>[]
}
- SendDocsFeedbackBody: {
- page: string
- isHelpful: boolean
- title: string
- feedback?: string
- team?: string
+ ApiKeyResponse: {
+ api_key: string
+ name: string
}
- SignUpBody: {
- email: string
- password: string
- redirectTo?: string
+ ApiResponse: {
+ autoApiService: components['schemas']['AutoApiService']
}
- ProjectResourceWarningsResponse: {
- /** @enum {string|null} */
- need_pitr: 'critical' | 'warning' | null
- /** @enum {string|null} */
- disk_io_exhaustion: 'critical' | 'warning' | null
- /** @enum {string|null} */
- disk_space_exhaustion: 'critical' | 'warning' | null
- /** @enum {string|null} */
- cpu_exhaustion: 'critical' | 'warning' | null
- /** @enum {string|null} */
- memory_and_swap_exhaustion: 'critical' | 'warning' | null
- /** @enum {string|null} */
- auth_rate_limit_exhaustion: 'critical' | 'warning' | null
- project: string
- is_readonly_mode_enabled: boolean
+ AttributeMapping: {
+ keys: {
+ [key: string]: components['schemas']['AttributeValue']
+ }
}
- GoTrueConfigResponse: {
- SITE_URL: string
- DISABLE_SIGNUP: boolean
- JWT_EXP: number
- SMTP_ADMIN_EMAIL: string
- SMTP_HOST: string
- SMTP_PORT: string
- SMTP_USER: string
- SMTP_PASS: string
- SMTP_MAX_FREQUENCY: number
- SMTP_SENDER_NAME: string
- MAILER_AUTOCONFIRM: boolean
- MAILER_ALLOW_UNVERIFIED_EMAIL_SIGN_INS: boolean
- MAILER_SUBJECTS_INVITE: string
- MAILER_SUBJECTS_CONFIRMATION: string
- MAILER_SUBJECTS_RECOVERY: string
- MAILER_SUBJECTS_EMAIL_CHANGE: string
- MAILER_SUBJECTS_MAGIC_LINK: string
- MAILER_SUBJECTS_REAUTHENTICATION: string
- MAILER_TEMPLATES_INVITE_CONTENT: string
- MAILER_TEMPLATES_CONFIRMATION_CONTENT: string
- MAILER_TEMPLATES_RECOVERY_CONTENT: string
- MAILER_TEMPLATES_EMAIL_CHANGE_CONTENT: string
- MAILER_TEMPLATES_MAGIC_LINK_CONTENT: string
- MAILER_TEMPLATES_REAUTHENTICATION_CONTENT: string
- MFA_MAX_ENROLLED_FACTORS: number
- URI_ALLOW_LIST: string
- EXTERNAL_ANONYMOUS_USERS_ENABLED: boolean
- EXTERNAL_EMAIL_ENABLED: boolean
- EXTERNAL_PHONE_ENABLED: boolean
- SAML_ENABLED: boolean
- SECURITY_CAPTCHA_ENABLED: boolean
- SECURITY_CAPTCHA_PROVIDER: string
- SECURITY_CAPTCHA_SECRET: string
- SESSIONS_TIMEBOX: number
- SESSIONS_INACTIVITY_TIMEOUT: number
- SESSIONS_SINGLE_PER_USER: boolean
- SESSIONS_TAGS: string
- RATE_LIMIT_ANONYMOUS_USERS: number
- RATE_LIMIT_EMAIL_SENT: number
- RATE_LIMIT_SMS_SENT: number
- RATE_LIMIT_VERIFY: number
- RATE_LIMIT_TOKEN_REFRESH: number
- MAILER_SECURE_EMAIL_CHANGE_ENABLED: boolean
- REFRESH_TOKEN_ROTATION_ENABLED: boolean
- PASSWORD_HIBP_ENABLED: boolean
- PASSWORD_MIN_LENGTH: number
- PASSWORD_REQUIRED_CHARACTERS: string
- SECURITY_MANUAL_LINKING_ENABLED: boolean
- SECURITY_UPDATE_PASSWORD_REQUIRE_REAUTHENTICATION: boolean
- SECURITY_REFRESH_TOKEN_REUSE_INTERVAL: number
- MAILER_OTP_EXP: number
- MAILER_OTP_LENGTH: number
- SMS_AUTOCONFIRM: boolean
- SMS_MAX_FREQUENCY: number
- SMS_OTP_EXP: number
- SMS_OTP_LENGTH: number
- SMS_PROVIDER: string
- SMS_MESSAGEBIRD_ACCESS_KEY: string
- SMS_MESSAGEBIRD_ORIGINATOR: string
- SMS_TEXTLOCAL_API_KEY: string
- SMS_TEXTLOCAL_SENDER: string
- SMS_TWILIO_ACCOUNT_SID: string
- SMS_TWILIO_AUTH_TOKEN: string
- SMS_TWILIO_CONTENT_SID: string
- SMS_TWILIO_MESSAGE_SERVICE_SID: string
- SMS_TWILIO_VERIFY_ACCOUNT_SID: string
- SMS_TWILIO_VERIFY_AUTH_TOKEN: string
- SMS_TWILIO_VERIFY_MESSAGE_SERVICE_SID: string
- SMS_VONAGE_API_KEY: string
- SMS_VONAGE_API_SECRET: string
- SMS_VONAGE_FROM: string
- SMS_TEMPLATE: string
- SMS_TEST_OTP: string
- SMS_TEST_OTP_VALID_UNTIL: string
- HOOK_MFA_VERIFICATION_ATTEMPT_ENABLED: boolean
- HOOK_MFA_VERIFICATION_ATTEMPT_URI: string
- HOOK_MFA_VERIFICATION_ATTEMPT_SECRETS: string
- HOOK_PASSWORD_VERIFICATION_ATTEMPT_ENABLED: boolean
- HOOK_PASSWORD_VERIFICATION_ATTEMPT_URI: string
- HOOK_PASSWORD_VERIFICATION_ATTEMPT_SECRETS: string
- HOOK_CUSTOM_ACCESS_TOKEN_ENABLED: boolean
- HOOK_CUSTOM_ACCESS_TOKEN_URI: string
- HOOK_CUSTOM_ACCESS_TOKEN_SECRETS: string
- HOOK_SEND_SMS_ENABLED: boolean
- HOOK_SEND_SMS_URI: string
- HOOK_SEND_SMS_SECRETS: string
- HOOK_SEND_EMAIL_ENABLED: boolean
- HOOK_SEND_EMAIL_URI: string
- HOOK_SEND_EMAIL_SECRETS: string
- EXTERNAL_APPLE_ENABLED: boolean
- EXTERNAL_APPLE_CLIENT_ID: string
- EXTERNAL_APPLE_SECRET: string
- EXTERNAL_APPLE_ADDITIONAL_CLIENT_IDS: string
- EXTERNAL_AZURE_ENABLED: boolean
- EXTERNAL_AZURE_CLIENT_ID: string
- EXTERNAL_AZURE_SECRET: string
- EXTERNAL_AZURE_URL: string
- EXTERNAL_BITBUCKET_ENABLED: boolean
- EXTERNAL_BITBUCKET_CLIENT_ID: string
- EXTERNAL_BITBUCKET_SECRET: string
- EXTERNAL_DISCORD_ENABLED: boolean
- EXTERNAL_DISCORD_CLIENT_ID: string
- EXTERNAL_DISCORD_SECRET: string
- EXTERNAL_FACEBOOK_ENABLED: boolean
- EXTERNAL_FACEBOOK_CLIENT_ID: string
- EXTERNAL_FACEBOOK_SECRET: string
- EXTERNAL_FIGMA_ENABLED: boolean
- EXTERNAL_FIGMA_CLIENT_ID: string
- EXTERNAL_FIGMA_SECRET: string
- EXTERNAL_GITHUB_ENABLED: boolean
- EXTERNAL_GITHUB_CLIENT_ID: string
- EXTERNAL_GITHUB_SECRET: string
- EXTERNAL_GITLAB_ENABLED: boolean
- EXTERNAL_GITLAB_CLIENT_ID: string
- EXTERNAL_GITLAB_SECRET: string
- EXTERNAL_GITLAB_URL: string
- EXTERNAL_GOOGLE_ENABLED: boolean
- EXTERNAL_GOOGLE_CLIENT_ID: string
- EXTERNAL_GOOGLE_SECRET: string
- EXTERNAL_GOOGLE_ADDITIONAL_CLIENT_IDS: string
- EXTERNAL_GOOGLE_SKIP_NONCE_CHECK: boolean
- EXTERNAL_KAKAO_ENABLED: boolean
- EXTERNAL_KAKAO_CLIENT_ID: string
- EXTERNAL_KAKAO_SECRET: string
- EXTERNAL_KEYCLOAK_ENABLED: boolean
- EXTERNAL_KEYCLOAK_CLIENT_ID: string
- EXTERNAL_KEYCLOAK_SECRET: string
- EXTERNAL_KEYCLOAK_URL: string
- EXTERNAL_LINKEDIN_OIDC_ENABLED: boolean
- EXTERNAL_LINKEDIN_OIDC_CLIENT_ID: string
- EXTERNAL_LINKEDIN_OIDC_SECRET: string
- EXTERNAL_NOTION_ENABLED: boolean
- EXTERNAL_NOTION_CLIENT_ID: string
- EXTERNAL_NOTION_SECRET: string
- EXTERNAL_SLACK_ENABLED: boolean
- EXTERNAL_SLACK_CLIENT_ID: string
- EXTERNAL_SLACK_SECRET: string
- EXTERNAL_SPOTIFY_ENABLED: boolean
- EXTERNAL_SPOTIFY_CLIENT_ID: string
- EXTERNAL_SPOTIFY_SECRET: string
- EXTERNAL_TWITCH_ENABLED: boolean
- EXTERNAL_TWITCH_CLIENT_ID: string
- EXTERNAL_TWITCH_SECRET: string
- EXTERNAL_TWITTER_ENABLED: boolean
- EXTERNAL_TWITTER_CLIENT_ID: string
- EXTERNAL_TWITTER_SECRET: string
- EXTERNAL_WORKOS_ENABLED: boolean
- EXTERNAL_WORKOS_CLIENT_ID: string
- EXTERNAL_WORKOS_SECRET: string
- EXTERNAL_WORKOS_URL: string
- EXTERNAL_ZOOM_ENABLED: boolean
- EXTERNAL_ZOOM_CLIENT_ID: string
- EXTERNAL_ZOOM_SECRET: string
- DB_MAX_POOL_SIZE: number | null
- API_MAX_REQUEST_DURATION: number | null
- }
- UpdateGoTrueConfigBody: {
- SITE_URL?: string
- DISABLE_SIGNUP?: boolean
- JWT_EXP?: number
- SMTP_ADMIN_EMAIL?: string
- SMTP_HOST?: string
- SMTP_PORT?: string
- SMTP_USER?: string
- SMTP_PASS?: string
- SMTP_MAX_FREQUENCY?: number
- SMTP_SENDER_NAME?: string
- MAILER_ALLOW_UNVERIFIED_EMAIL_SIGN_INS?: boolean
- MAILER_AUTOCONFIRM?: boolean
- MAILER_SUBJECTS_INVITE?: string
- MAILER_SUBJECTS_CONFIRMATION?: string
- MAILER_SUBJECTS_RECOVERY?: string
- MAILER_SUBJECTS_EMAIL_CHANGE?: string
- MAILER_SUBJECTS_MAGIC_LINK?: string
- MAILER_SUBJECTS_REAUTHENTICATION?: string
- MAILER_TEMPLATES_INVITE_CONTENT?: string
- MAILER_TEMPLATES_REAUTHENTICATION_CONTENT?: string
- MAILER_TEMPLATES_CONFIRMATION_CONTENT?: string
- MAILER_TEMPLATES_RECOVERY_CONTENT?: string
- MAILER_TEMPLATES_EMAIL_CHANGE_CONTENT?: string
- MAILER_TEMPLATES_MAGIC_LINK_CONTENT?: string
- MFA_MAX_ENROLLED_FACTORS?: number
- URI_ALLOW_LIST?: string
- EXTERNAL_ANONYMOUS_USERS_ENABLED?: boolean
- EXTERNAL_EMAIL_ENABLED?: boolean
- EXTERNAL_PHONE_ENABLED?: boolean
- SAML_ENABLED?: boolean
- SECURITY_CAPTCHA_ENABLED?: boolean
- SECURITY_CAPTCHA_PROVIDER?: string
- SECURITY_CAPTCHA_SECRET?: string
- SESSIONS_TIMEBOX?: number
- SESSIONS_INACTIVITY_TIMEOUT?: number
- SESSIONS_SINGLE_PER_USER?: boolean
- SESSIONS_TAGS?: string
- RATE_LIMIT_ANONYMOUS_USERS?: number
- RATE_LIMIT_EMAIL_SENT?: number
- RATE_LIMIT_SMS_SENT?: number
- RATE_LIMIT_VERIFY?: number
- RATE_LIMIT_TOKEN_REFRESH?: number
- MAILER_SECURE_EMAIL_CHANGE_ENABLED?: boolean
- REFRESH_TOKEN_ROTATION_ENABLED?: boolean
- PASSWORD_HIBP_ENABLED?: boolean
- PASSWORD_MIN_LENGTH?: number
- /** @enum {string} */
- PASSWORD_REQUIRED_CHARACTERS?:
- | 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789'
- | 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789'
- | 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};\'\\:"|<>?,./`~'
- | ''
- SECURITY_MANUAL_LINKING_ENABLED?: boolean
- SECURITY_UPDATE_PASSWORD_REQUIRE_REAUTHENTICATION?: boolean
- SECURITY_REFRESH_TOKEN_REUSE_INTERVAL?: number
- MAILER_OTP_EXP?: number
- MAILER_OTP_LENGTH?: number
- SMS_AUTOCONFIRM?: boolean
- SMS_MAX_FREQUENCY?: number
- SMS_OTP_EXP?: number
- SMS_OTP_LENGTH?: number
- SMS_PROVIDER?: string
- SMS_MESSAGEBIRD_ACCESS_KEY?: string
- SMS_MESSAGEBIRD_ORIGINATOR?: string
- SMS_TEST_OTP?: string
- SMS_TEST_OTP_VALID_UNTIL?: string
- SMS_TEXTLOCAL_API_KEY?: string
- SMS_TEXTLOCAL_SENDER?: string
- SMS_TWILIO_ACCOUNT_SID?: string
- SMS_TWILIO_AUTH_TOKEN?: string
- SMS_TWILIO_CONTENT_SID?: string
- SMS_TWILIO_MESSAGE_SERVICE_SID?: string
- SMS_TWILIO_VERIFY_ACCOUNT_SID?: string
- SMS_TWILIO_VERIFY_AUTH_TOKEN?: string
- SMS_TWILIO_VERIFY_MESSAGE_SERVICE_SID?: string
- SMS_VONAGE_API_KEY?: string
- SMS_VONAGE_API_SECRET?: string
- SMS_VONAGE_FROM?: string
- SMS_TEMPLATE?: string
- HOOK_MFA_VERIFICATION_ATTEMPT_ENABLED?: boolean
- HOOK_MFA_VERIFICATION_ATTEMPT_URI?: string
- HOOK_MFA_VERIFICATION_ATTEMPT_SECRETS?: string
- HOOK_PASSWORD_VERIFICATION_ATTEMPT_ENABLED?: boolean
- HOOK_PASSWORD_VERIFICATION_ATTEMPT_URI?: string
- HOOK_PASSWORD_VERIFICATION_ATTEMPT_SECRETS?: string
- HOOK_CUSTOM_ACCESS_TOKEN_ENABLED?: boolean
- HOOK_CUSTOM_ACCESS_TOKEN_URI?: string
- HOOK_CUSTOM_ACCESS_TOKEN_SECRETS?: string
- HOOK_SEND_SMS_ENABLED?: boolean
- HOOK_SEND_SMS_URI?: string
- HOOK_SEND_SMS_SECRETS?: string
- HOOK_SEND_EMAIL_ENABLED?: boolean
- HOOK_SEND_EMAIL_URI?: string
- HOOK_SEND_EMAIL_SECRETS?: string
- EXTERNAL_APPLE_ENABLED?: boolean
- EXTERNAL_APPLE_CLIENT_ID?: string
- EXTERNAL_APPLE_SECRET?: string
- EXTERNAL_APPLE_ADDITIONAL_CLIENT_IDS?: string
- EXTERNAL_AZURE_ENABLED?: boolean
- EXTERNAL_AZURE_CLIENT_ID?: string
- EXTERNAL_AZURE_SECRET?: string
- EXTERNAL_AZURE_URL?: string
- EXTERNAL_BITBUCKET_ENABLED?: boolean
- EXTERNAL_BITBUCKET_CLIENT_ID?: string
- EXTERNAL_BITBUCKET_SECRET?: string
- EXTERNAL_DISCORD_ENABLED?: boolean
- EXTERNAL_DISCORD_CLIENT_ID?: string
- EXTERNAL_DISCORD_SECRET?: string
- EXTERNAL_FACEBOOK_ENABLED?: boolean
- EXTERNAL_FACEBOOK_CLIENT_ID?: string
- EXTERNAL_FACEBOOK_SECRET?: string
- EXTERNAL_FIGMA_ENABLED?: boolean
- EXTERNAL_FIGMA_CLIENT_ID?: string
- EXTERNAL_FIGMA_SECRET?: string
- EXTERNAL_GITHUB_ENABLED?: boolean
- EXTERNAL_GITHUB_CLIENT_ID?: string
- EXTERNAL_GITHUB_SECRET?: string
- EXTERNAL_GITLAB_ENABLED?: boolean
- EXTERNAL_GITLAB_CLIENT_ID?: string
- EXTERNAL_GITLAB_SECRET?: string
- EXTERNAL_GITLAB_URL?: string
- EXTERNAL_GOOGLE_ENABLED?: boolean
- EXTERNAL_GOOGLE_CLIENT_ID?: string
- EXTERNAL_GOOGLE_SECRET?: string
- EXTERNAL_GOOGLE_ADDITIONAL_CLIENT_IDS?: string
- EXTERNAL_GOOGLE_SKIP_NONCE_CHECK?: boolean
- EXTERNAL_KAKAO_ENABLED?: boolean
- EXTERNAL_KAKAO_CLIENT_ID?: string
- EXTERNAL_KAKAO_SECRET?: string
- EXTERNAL_KEYCLOAK_ENABLED?: boolean
- EXTERNAL_KEYCLOAK_CLIENT_ID?: string
- EXTERNAL_KEYCLOAK_SECRET?: string
- EXTERNAL_KEYCLOAK_URL?: string
- EXTERNAL_LINKEDIN_OIDC_ENABLED?: boolean
- EXTERNAL_LINKEDIN_OIDC_CLIENT_ID?: string
- EXTERNAL_LINKEDIN_OIDC_SECRET?: string
- EXTERNAL_NOTION_ENABLED?: boolean
- EXTERNAL_NOTION_CLIENT_ID?: string
- EXTERNAL_NOTION_SECRET?: string
- EXTERNAL_SLACK_ENABLED?: boolean
- EXTERNAL_SLACK_CLIENT_ID?: string
- EXTERNAL_SLACK_SECRET?: string
- EXTERNAL_SPOTIFY_ENABLED?: boolean
- EXTERNAL_SPOTIFY_CLIENT_ID?: string
- EXTERNAL_SPOTIFY_SECRET?: string
- EXTERNAL_TWITCH_ENABLED?: boolean
- EXTERNAL_TWITCH_CLIENT_ID?: string
- EXTERNAL_TWITCH_SECRET?: string
- EXTERNAL_TWITTER_ENABLED?: boolean
- EXTERNAL_TWITTER_CLIENT_ID?: string
- EXTERNAL_TWITTER_SECRET?: string
- EXTERNAL_WORKOS_ENABLED?: boolean
- EXTERNAL_WORKOS_CLIENT_ID?: string
- EXTERNAL_WORKOS_SECRET?: string
- EXTERNAL_WORKOS_URL?: string
- EXTERNAL_ZOOM_ENABLED?: boolean
- EXTERNAL_ZOOM_CLIENT_ID?: string
- EXTERNAL_ZOOM_SECRET?: string
- DB_MAX_POOL_SIZE?: number
- API_MAX_REQUEST_DURATION?: number
- }
- UserBody: {
- id?: string
- aud?: string
- banned_until?: string
- confirmation_sent_at?: string
- confirmation_token?: string
- confirmed_at?: string
- created_at?: string
- email?: string
- email_change?: string
- email_change_confirm_status?: number
- email_change_sent_at?: string
- email_change_token_current?: string
- email_change_token_new?: string
- email_confirmed_at?: string
- encrypted_password?: string
- instance_id?: string
- invited_at?: string
- is_super_admin?: boolean
- last_sign_in_at?: string
- phone?: string
- phone_change?: string
- phone_change_sent_at?: string
- phone_change_token?: string
- phone_confirmed_at?: string
- raw_app_meta_data?: Record<string, never>
- raw_user_meta_data?: Record<string, never>
- reauthentication_sent_at?: string
- reauthentication_token?: string
- recovery_sent_at?: string
- recovery_token?: string
- role?: string
- updated_at?: string
- is_sso_user?: boolean
- deleted_at?: string
- is_anonymous?: boolean
- }
- UsersResponse: {
- total: number
- users: components['schemas']['UserBody'][]
- }
- Backup: {
- id: number
- isPhysicalBackup: boolean
- project_id: number
- status: Record<string, never>
- inserted_at: string
- }
- BackupsResponse: {
- tierKey: string
- region: string
- walg_enabled: boolean
- pitr_enabled: boolean
- backups: components['schemas']['Backup'][]
- physicalBackupData: {
- earliestPhysicalBackupDateUnix?: number
- latestPhysicalBackupDateUnix?: number
- }
- }
- DownloadBackupBody: {
- id: number
- data: Record<string, never>
- inserted_at: string
- project_id: number
- s3_bucket: string
- s3_path: string
- status: string
- }
- DownloadBackupResponse: {
- fileUrl: string
- }
- RestoreLogicalBackupBody: {
- id: number
- }
- RestorePhysicalBackupBody: {
- id: number
- recovery_time_target: string
- }
- PointInTimeRestoreBody: {
- recovery_time_target_unix: number
- }
- OrganizationResponse: {
- /** @enum {string|null} */
- restriction_status: 'grace_period' | 'grace_period_over' | 'restricted' | null
- id: number
- slug: string
- name: string
- billing_email: string | null
- is_owner: boolean
- stripe_customer_id: string | null
- subscription_id: string | null
- opt_in_tags: string[]
- restriction_data: Record<string, never>
- }
- GetOrganizationByFlyOrganizationIdResponse: {
- slug: string
- }
- CreateOrganizationBody: {
- name: string
- kind?: string
- size?: string
- /** @enum {string} */
- tier: 'tier_payg' | 'tier_pro' | 'tier_free' | 'tier_team' | 'tier_enterprise'
- payment_method?: string
- }
- UpdateOrganizationBody: {
- name: string
- billing_email: string
- opt_in_tags: string[]
- }
- OrganizationSlugResponse: {
- id: number
- slug: string
- name: string
- billing_email?: string
- stripe_customer_id?: string
- opt_in_tags: string[]
- }
- CustomerBillingAddress: {
- city?: string
- country: string
- line1: string
- line2?: string
- postal_code?: string
- state?: string
- }
- CustomerResponse: {
- email: string
- address: components['schemas']['CustomerBillingAddress'] | null
- balance: number
- billing_via_partner: boolean
- }
- BillingCustomerUpdateBody: {
- address?: components['schemas']['CustomerBillingAddress']
- }
- OrganizationRole: {
- id: number
- name: string
- description: string
- }
- OrganizationRoleV2: {
- id: number
- name: string
- description: string
- project_ids: number[]
- base_role_id: number
- }
- OrganizationRoleResponseV2: {
- org_scoped_roles: components['schemas']['OrganizationRoleV2'][]
- project_scoped_roles: components['schemas']['OrganizationRoleV2'][]
- }
- TaxIdV2: {
- country: string
- type: string
- value: string
- }
- TaxIdV2Response: {
- tax_id: components['schemas']['TaxIdV2'] | null
- }
- TaxId: {
- id: string
- country: string
- type: string
- value: string
- }
- TaxIdResponse: {
- data: components['schemas']['TaxId'][]
- }
- CreateTaxIdBody: {
- type: string
- value: string
- }
- CreateTaxIdResponse: {
- id: string
- country: string
- created: number
- type: string
- value: string
- }
- DeleteTaxIdBody: {
- id: string
- }
- TransferOrganizationBody: {
- member_gotrue_id: string
- member_id: number
- org_id: number
- }
- ProjectAllocation: {
- ref: string
- usage: number
- name: string
- }
- OrgMetricUsage: {
- usage: number
- usage_original: number
- cost: number
- unit_price_desc: string
- available_in_plan: boolean
- unlimited: boolean
- capped: boolean
- /** @enum {string} */
- metric:
- | 'EGRESS'
- | 'DATABASE_SIZE'
- | 'STORAGE_SIZE'
- | 'MONTHLY_ACTIVE_USERS'
- | 'MONTHLY_ACTIVE_SSO_USERS'
- | 'FUNCTION_INVOCATIONS'
- | 'FUNCTION_COUNT'
- | 'STORAGE_IMAGES_TRANSFORMED'
- | 'REALTIME_MESSAGE_COUNT'
- | 'REALTIME_PEAK_CONNECTIONS'
- | 'COMPUTE_HOURS_BRANCH'
- | 'COMPUTE_HOURS_XS'
- | 'COMPUTE_HOURS_SM'
- | 'COMPUTE_HOURS_MD'
- | 'COMPUTE_HOURS_L'
- | 'COMPUTE_HOURS_XL'
- | 'COMPUTE_HOURS_2XL'
- | 'COMPUTE_HOURS_4XL'
- | 'COMPUTE_HOURS_8XL'
- | 'COMPUTE_HOURS_12XL'
- | 'COMPUTE_HOURS_16XL'
- | 'CUSTOM_DOMAIN'
- | 'PITR_7'
- | 'PITR_14'
- | 'PITR_28'
- | 'IPV4'
- /** @enum {string} */
- pricing_strategy: 'UNIT' | 'PACKAGE' | 'NONE'
- pricing_free_units?: number
- pricing_package_price?: number
- pricing_package_size?: number
- pricing_per_unit_price?: number
- project_allocations: components['schemas']['ProjectAllocation'][]
- }
- OrgUsageResponse: {
- usage_billing_enabled: boolean
- slugs: string[]
- usages: components['schemas']['OrgMetricUsage'][]
- }
- OrgDocumentUrlResponse: {
- fileUrl: string
+ AttributeValue: {
+ array?: boolean
+ default?: Record<string, never> | number | string | boolean
+ name?: string
+ names?: string[]
}
AuditLogsResponse: {
result: Record<string, never>[]
retention_period: number
}
- Invite: {
- invited_id: number
- invited_at: string
- invited_email: string
- role_id: number
- }
- InviteUserBody: {
- invited_email: string
- owner_id: number
- role_id: number
- }
- SendInviteResponse: {
- invited_at: string
- invited_email: string
- role_id: number
- }
- InviteResponse: {
- organization_name: string
- invite_id: string
- token_does_not_exist: boolean
- sso_mismatch: boolean
- email_match: boolean
- authorized_user: boolean
- expired_token: boolean
+ AuthConfigResponse: {
+ api_max_request_duration: number | null
+ db_max_pool_size: number | null
+ disable_signup: boolean | null
+ external_anonymous_users_enabled: boolean | null
+ external_apple_additional_client_ids: string | null
+ external_apple_client_id: string | null
+ external_apple_enabled: boolean | null
+ external_apple_secret: string | null
+ external_azure_client_id: string | null
+ external_azure_enabled: boolean | null
+ external_azure_secret: string | null
+ external_azure_url: string | null
+ external_bitbucket_client_id: string | null
+ external_bitbucket_enabled: boolean | null
+ external_bitbucket_secret: string | null
+ external_discord_client_id: string | null
+ external_discord_enabled: boolean | null
+ external_discord_secret: string | null
+ external_email_enabled: boolean | null
+ external_facebook_client_id: string | null
+ external_facebook_enabled: boolean | null
+ external_facebook_secret: string | null
+ external_figma_client_id: string | null
+ external_figma_enabled: boolean | null
+ external_figma_secret: string | null
+ external_github_client_id: string | null
+ external_github_enabled: boolean | null
+ external_github_secret: string | null
+ external_gitlab_client_id: string | null
+ external_gitlab_enabled: boolean | null
+ external_gitlab_secret: string | null
+ external_gitlab_url: string | null
+ external_google_additional_client_ids: string | null
+ external_google_client_id: string | null
+ external_google_enabled: boolean | null
+ external_google_secret: string | null
+ external_google_skip_nonce_check: boolean | null
+ external_kakao_client_id: string | null
+ external_kakao_enabled: boolean | null
+ external_kakao_secret: string | null
+ external_keycloak_client_id: string | null
+ external_keycloak_enabled: boolean | null
+ external_keycloak_secret: string | null
+ external_keycloak_url: string | null
+ external_linkedin_oidc_client_id: string | null
+ external_linkedin_oidc_enabled: boolean | null
+ external_linkedin_oidc_secret: string | null
+ external_notion_client_id: string | null
+ external_notion_enabled: boolean | null
+ external_notion_secret: string | null
+ external_phone_enabled: boolean | null
+ external_slack_client_id: string | null
+ external_slack_enabled: boolean | null
+ external_slack_secret: string | null
+ external_spotify_client_id: string | null
+ external_spotify_enabled: boolean | null
+ external_spotify_secret: string | null
+ external_twitch_client_id: string | null
+ external_twitch_enabled: boolean | null
+ external_twitch_secret: string | null
+ external_twitter_client_id: string | null
+ external_twitter_enabled: boolean | null
+ external_twitter_secret: string | null
+ external_workos_client_id: string | null
+ external_workos_enabled: boolean | null
+ external_workos_secret: string | null
+ external_workos_url: string | null
+ external_zoom_client_id: string | null
+ external_zoom_enabled: boolean | null
+ external_zoom_secret: string | null
+ hook_custom_access_token_enabled: boolean | null
+ hook_custom_access_token_secrets: string | null
+ hook_custom_access_token_uri: string | null
+ hook_mfa_verification_attempt_enabled: boolean | null
+ hook_mfa_verification_attempt_secrets: string | null
+ hook_mfa_verification_attempt_uri: string | null
+ hook_password_verification_attempt_enabled: boolean | null
+ hook_password_verification_attempt_secrets: string | null
+ hook_password_verification_attempt_uri: string | null
+ hook_send_email_enabled: boolean | null
+ hook_send_email_secrets: string | null
+ hook_send_email_uri: string | null
+ hook_send_sms_enabled: boolean | null
+ hook_send_sms_secrets: string | null
+ hook_send_sms_uri: string | null
+ jwt_exp: number | null
+ mailer_allow_unverified_email_sign_ins: boolean | null
+ mailer_autoconfirm: boolean | null
+ mailer_otp_exp: number
+ mailer_otp_length: number | null
+ mailer_secure_email_change_enabled: boolean | null
+ mailer_subjects_confirmation: string | null
+ mailer_subjects_email_change: string | null
+ mailer_subjects_invite: string | null
+ mailer_subjects_magic_link: string | null
+ mailer_subjects_reauthentication: string | null
+ mailer_subjects_recovery: string | null
+ mailer_templates_confirmation_content: string | null
+ mailer_templates_email_change_content: string | null
+ mailer_templates_invite_content: string | null
+ mailer_templates_magic_link_content: string | null
+ mailer_templates_reauthentication_content: string | null
+ mailer_templates_recovery_content: string | null
+ mfa_max_enrolled_factors: number | null
+ password_hibp_enabled: boolean | null
+ password_min_length: number | null
+ password_required_characters: string | null
+ rate_limit_anonymous_users: number | null
+ rate_limit_email_sent: number | null
+ rate_limit_otp: number | null
+ rate_limit_sms_sent: number | null
+ rate_limit_token_refresh: number | null
+ rate_limit_verify: number | null
+ refresh_token_rotation_enabled: boolean | null
+ saml_enabled: boolean | null
+ security_captcha_enabled: boolean | null
+ security_captcha_provider: string | null
+ security_captcha_secret: string | null
+ security_manual_linking_enabled: boolean | null
+ security_refresh_token_reuse_interval: number | null
+ security_update_password_require_reauthentication: boolean | null
+ sessions_inactivity_timeout: number | null
+ sessions_single_per_user: boolean | null
+ sessions_tags: string | null
+ sessions_timebox: number | null
+ site_url: string | null
+ sms_autoconfirm: boolean | null
+ sms_max_frequency: number | null
+ sms_messagebird_access_key: string | null
+ sms_messagebird_originator: string | null
+ sms_otp_exp: number | null
+ sms_otp_length: number
+ sms_provider: string | null
+ sms_template: string | null
+ sms_test_otp: string | null
+ sms_test_otp_valid_until: string | null
+ sms_textlocal_api_key: string | null
+ sms_textlocal_sender: string | null
+ sms_twilio_account_sid: string | null
+ sms_twilio_auth_token: string | null
+ sms_twilio_content_sid: string | null
+ sms_twilio_message_service_sid: string | null
+ sms_twilio_verify_account_sid: string | null
+ sms_twilio_verify_auth_token: string | null
+ sms_twilio_verify_message_service_sid: string | null
+ sms_vonage_api_key: string | null
+ sms_vonage_api_secret: string | null
+ sms_vonage_from: string | null
+ smtp_admin_email: string | null
+ smtp_host: string | null
+ smtp_max_frequency: number | null
+ smtp_pass: string | null
+ smtp_port: string | null
+ smtp_sender_name: string | null
+ smtp_user: string | null
+ uri_allow_list: string | null
}
- JoinResponse: {
- billing_email: string
- id: number
+ AuthHealthResponse: {
+ description: string
name: string
- slug: string
- stripe_customer_id: string
- }
- Member: {
- gotrue_id: string
- primary_email: string | null
- role_ids: number[]
- username: string
- mfa_enabled: boolean
- }
- UpdateMemberBody: {
- role_id: number
- }
- UpdateMemberRoleBodyV2: {
- role_id: number
- role_scoped_projects?: string[]
- }
- MemberWithFreeProjectLimit: {
- free_project_limit: number
- primary_email: string
- username: string
- }
- Invitation: {
- id: number
- invited_at: string
- invited_email: string
- role_id: number
- }
- InvitationResponse: {
- invitations: components['schemas']['Invitation'][]
- }
- InvitationByTokenResponse: {
- organization_name: string
- invite_id?: number
- token_does_not_exist: boolean
- email_match: boolean
- authorized_user: boolean
- expired_token: boolean
+ version: string
}
- CreateInvitationBody: {
- email: string
- role_id: number
- role_scoped_projects?: string[]
+ AutoApiService: {
+ app: {
+ id?: number
+ name?: string
+ }
+ app_config: Record<string, never>
+ defaultApiKey: string
+ endpoint: string
+ id: number
+ name: string
+ project: {
+ ref?: string
+ }
+ protocol: string
+ restUrl: string
+ service_api_keys: components['schemas']['ServiceApiKey'][]
+ serviceApiKey: string
}
- PaymentMethodCard: {
- brand: string
- exp_month: number
- exp_year: number
- last4: string
+ AvailableAddonResponse: {
+ name: string
+ type: components['schemas']['ProjectAddonType']
+ variants: components['schemas']['ProjectAddonVariantResponse'][]
}
- Payment: {
- id: string
- card?: components['schemas']['PaymentMethodCard']
- created: number
- type: string
- is_default: boolean
+ AwsPartnerBillingBody: {
+ aws_customer_account_id: string
+ aws_customer_id: string
+ aws_private_offer_id: string
+ aws_product_code: string
+ aws_subscription_end: string
+ aws_subscription_start: string
}
- PaymentsResponse: {
- defaultPaymentMethodId: string | null
- data: components['schemas']['Payment'][]
+ AwsPartnerOrganizationResponse: {
+ id: number
+ name: string
+ slug: string
}
- DetachPaymentMethodBody: {
- card_id: string
+ Backup: {
+ id: number
+ inserted_at: string
+ isPhysicalBackup: boolean
+ project_id: number
+ status: Record<string, never>
}
- MarkDefaultPaymentMethodBody: {
- payment_method_id: string
+ BackupId: {
+ id: number
}
- HCaptchaBody: {
- hcaptchaToken: string
+ BackupsResponse: {
+ backups: components['schemas']['Backup'][]
+ physicalBackupData: {
+ earliestPhysicalBackupDateUnix?: number
+ latestPhysicalBackupDateUnix?: number
+ }
+ pitr_enabled: boolean
+ region: string
+ tierKey: string
+ walg_enabled: boolean
}
- SetupIntentResponse: {
- client_secret: string
- payment_method: Record<string, never>
+ BillingCustomerUpdateBody: {
+ address?: components['schemas']['CustomerBillingAddress']
}
/** @enum {string} */
+ BillingPlanChangeType: 'upgrade' | 'downgrade' | 'none'
+ /** @enum {string} */
+ BillingPlanEffectiveAt: 'now' | 'end_of_billing_period' | 'none'
+ /** @enum {string} */
BillingPlanId: 'free' | 'pro' | 'team' | 'enterprise'
- BillingSubscriptionPlan: {
- id: components['schemas']['BillingPlanId']
+ BillingProjectAddonResponse: {
+ addons: components['schemas']['SelectedAddonResponse'][]
name: string
+ ref: string
}
BillingSubscriptionAddon: {
name: string
- supabase_prod_id: string
price: number
+ supabase_prod_id: string
}
- /** @enum {string} */
- ProjectAddonType: 'custom_domain' | 'compute_instance' | 'pitr' | 'ipv4'
- /** @enum {string} */
- AddonVariantId:
- | 'ci_micro'
- | 'ci_small'
- | 'ci_medium'
- | 'ci_large'
- | 'ci_xlarge'
- | 'ci_2xlarge'
- | 'ci_4xlarge'
- | 'ci_8xlarge'
- | 'ci_12xlarge'
- | 'ci_16xlarge'
- | 'cd_default'
- | 'pitr_7'
- | 'pitr_14'
- | 'pitr_28'
- | 'ipv4_default'
- /** @enum {string} */
- ProjectAddonVariantPricingType: 'fixed' | 'usage'
- /** @enum {string} */
- ProjectAddonPricingInterval: 'monthly' | 'hourly'
- ProjectAddonVariantResponse: {
- identifier: components['schemas']['AddonVariantId']
- price_type: components['schemas']['ProjectAddonVariantPricingType']
- price_interval: components['schemas']['ProjectAddonPricingInterval']
+ BillingSubscriptionPlan: {
+ id: components['schemas']['BillingPlanId']
name: string
- price_description: string
- price: number
- meta?: Record<string, never>
}
- SelectedAddonResponse: {
- type: components['schemas']['ProjectAddonType']
- variant: components['schemas']['ProjectAddonVariantResponse']
+ BranchDeleteResponse: {
+ message: string
}
- BillingProjectAddonResponse: {
- addons: components['schemas']['SelectedAddonResponse'][]
- name: string
+ BranchDetailResponse: {
+ db_host: string
+ db_pass?: string
+ db_port: number
+ db_user?: string
+ jwt_secret?: string
+ postgres_version: string
ref: string
- }
- ScheduledPlanChange: {
- target_plan: components['schemas']['BillingPlanId']
- /** Format: date-time */
- at: string
- usage_billing_enabled: boolean
- }
- GetSubscriptionResponse: {
- billing_cycle_anchor: number
- current_period_end: number
- current_period_start: number
- next_invoice_at: number
- usage_billing_enabled: boolean
- plan: components['schemas']['BillingSubscriptionPlan']
- addons: components['schemas']['BillingSubscriptionAddon'][]
- project_addons: components['schemas']['BillingProjectAddonResponse'][]
- payment_method_type: string
- billing_via_partner: boolean
/** @enum {string} */
- billing_partner: 'fly' | 'aws'
- scheduled_plan_change: components['schemas']['ScheduledPlanChange'] | null
- customer_balance: number
- nano_enabled: boolean
+ status:
+ | 'ACTIVE_HEALTHY'
+ | 'ACTIVE_UNHEALTHY'
+ | 'COMING_UP'
+ | 'GOING_DOWN'
+ | 'INACTIVE'
+ | 'INIT_FAILED'
+ | 'REMOVED'
+ | 'RESTARTING'
+ | 'UNKNOWN'
+ | 'UPGRADING'
+ | 'PAUSING'
+ | 'RESTORING'
+ | 'RESTORE_FAILED'
+ | 'PAUSE_FAILED'
}
- UpdateSubscriptionBody: {
- payment_method?: string
- /** @enum {string} */
- tier: 'tier_payg' | 'tier_pro' | 'tier_free' | 'tier_team' | 'tier_enterprise'
+ BranchResetResponse: {
+ message: string
}
- /** @enum {string} */
- BillingPlanChangeType: 'upgrade' | 'downgrade' | 'none'
- /** @enum {string} */
- BillingPlanEffectiveAt: 'now' | 'end_of_billing_period' | 'none'
- PlanResponse: {
- id: components['schemas']['BillingPlanId']
- change_type: components['schemas']['BillingPlanChangeType']
- effective_at: components['schemas']['BillingPlanEffectiveAt']
+ BranchResponse: {
+ created_at: string
+ git_branch?: string
+ id: string
+ is_default: boolean
+ latest_check_run_id?: number
name: string
- price: number
- is_current: boolean
- }
- PlansResponse: {
- plans: components['schemas']['PlanResponse'][]
+ parent_project_ref: string
+ persistent: boolean
+ pr_number?: number
+ project_ref: string
+ reset_on_push: boolean
+ /** @enum {string} */
+ status:
+ | 'CREATING_PROJECT'
+ | 'RUNNING_MIGRATIONS'
+ | 'MIGRATIONS_PASSED'
+ | 'MIGRATIONS_FAILED'
+ | 'FUNCTIONS_DEPLOYED'
+ | 'FUNCTIONS_FAILED'
+ updated_at: string
}
- UpcomingInvoice: Record<string, never>
- Invoice: {
+ Buffer: Record<string, never>
+ BulkDeleteUserContentResponse: {
id: string
- invoice_pdf: string
- subscription: string | null
- subtotal: number
- number: string
- period_end: number
- status: string
+ }
+ Column: {
+ id: number
+ name: string
+ schema: string
+ table: string
+ table_id: number
}
ColumnPrivilege: {
- grantor: string
grantee: string
+ grantor: string
+ is_grantable: boolean
/** @enum {string} */
privilege_type: 'ALL' | 'SELECT' | 'INSERT' | 'UPDATE' | 'REFERENCES'
- is_grantable: boolean
}
- PostgresColumnPrivileges: {
- column_id: string
- relation_schema: string
- relation_name: string
- column_name: string
- privileges: components['schemas']['ColumnPrivilege'][]
+ CopyObjectBody: {
+ from: string
+ to: string
}
- GrantColumnPrivilegesBody: {
- is_grantable?: boolean
- column_id: string
- grantee: string
- /** @enum {string} */
- privilege_type: 'ALL' | 'SELECT' | 'INSERT' | 'UPDATE' | 'REFERENCES'
+ CopyObjectResponse: {
+ path: string
}
- RevokeColumnPrivilegesBody: {
- column_id: string
- grantee: string
+ CreateAccessTokenBody: {
+ name: string
/** @enum {string} */
- privilege_type: 'ALL' | 'SELECT' | 'INSERT' | 'UPDATE' | 'REFERENCES'
+ scope?: 'V0'
}
- PostgresColumn: {
- table_id: number
- schema: string
- table: string
- id: string
- ordinal_position: number
+ CreateAccessTokenResponse: {
+ created_at: string
+ id: number
+ name: string
+ /** @enum {string} */
+ scope?: 'V0'
+ token: string
+ token_alias: string
+ }
+ CreateAwsPartnerOrganizationBody: {
name: string
- default_value: Record<string, never>
- data_type: string
- format: string
- is_identity: boolean
- identity_generation: Record<string, never>
- is_generated: boolean
- is_nullable: boolean
- is_updatable: boolean
- is_unique: boolean
- enums: string[]
- check: string | null
- comment: string | null
+ partner_billing: components['schemas']['AwsPartnerBillingBody']
+ primary_email: string
+ }
+ CreateBranchBody: {
+ branch_name: string
+ git_branch?: string
+ region?: string
+ }
+ CreateCliLoginSessionBody: {
+ public_key: string
+ session_id: string
+ token_name?: string
}
CreateColumnBody: {
- tableId: number
- name: string
- type: string
check?: string
comment?: string
defaultValue?: Record<string, never>
@@ -2968,29 +2454,36 @@ export interface components {
isNullable?: boolean
isPrimaryKey?: boolean
isUnique?: boolean
+ name: string
+ tableId: number
+ type: string
}
- UpdateColumnBody: {
- dropDefault?: boolean
- name?: string
- type?: string
- id?: number
- check?: string
- comment?: string
- defaultValue?: Record<string, never>
+ CreateContentBody: {
+ content?: Record<string, never>
+ description?: string
+ id?: string
+ name: string
+ owner_id?: number
/** @enum {string} */
- defaultValueFormat?: 'expression' | 'literal'
+ type: 'sql' | 'report' | 'log_sql'
/** @enum {string} */
- identityGeneration?: 'BY DEFAULT' | 'ALWAYS'
- isIdentity?: boolean
- isNullable?: boolean
- isUnique?: boolean
+ visibility: 'user' | 'project' | 'org' | 'public'
}
- PostgresExtension: {
+ CreateContentBodyV2: {
+ content?: Record<string, never>
+ description?: string
+ folder_id?: string
+ id?: string
name: string
- schema: string | null
- default_version: string
- installed_version: string | null
- comment: string | null
+ owner_id?: number
+ /** @enum {string} */
+ type: 'sql' | 'report' | 'log_sql'
+ /** @enum {string} */
+ visibility: 'user' | 'project' | 'org' | 'public'
+ }
+ CreateContentFolderBody: {
+ name: string
+ parent_id?: string
}
CreateExtensionBody: {
cascade: boolean
@@ -2998,28 +2491,6 @@ export interface components {
schema: string
version: string
}
- PostgresForeignTable: {
- id: number
- schema: string
- name: string
- comment: string | null
- columns?: components['schemas']['PostgresColumn'][]
- }
- PostgresFunction: {
- id: number
- schema: string
- name: string
- language: string
- definition: string
- complete_statement: string
- argument_types: string
- identity_argument_types: string
- return_type: string
- /** @enum {string} */
- behavior: 'VOLATILE' | 'STABLE' | 'IMMUTABLE'
- security_definer: boolean
- config_params: unknown
- }
CreateFunctionBody: {
args: string[]
/** @enum {string} */
@@ -3032,465 +2503,309 @@ export interface components {
schema: string
security_definer: boolean
}
- UpdateFunctionBody: {
- id?: number
- args?: string[]
- /** @enum {string} */
- behavior?: 'VOLATILE' | 'STABLE' | 'IMMUTABLE'
- config_params?: Record<string, never>
- definition?: string
- language?: string
- name?: string
- return_type?: string
- schema?: string
- security_definer?: boolean
+ CreateGitHubAuthorizationBody: {
+ code: string
}
- PostgresMaterializedView: {
- id: number
- schema: string
- name: string
- is_populated: boolean
- comment: string | null
- columns?: components['schemas']['PostgresColumn'][]
+ CreateGitHubConnectionsBody: {
+ installation_id: number
+ project_ref: string
+ repository_id: number
}
- PostgresPolicy: {
- id: number
- schema: string
- table: string
- table_id: number
+ CreateInvitationBody: {
+ email: string
+ role_id: number
+ role_scoped_projects?: string[]
+ }
+ CreateOrganizationBody: {
+ kind?: string
name: string
+ payment_method?: string
+ size?: string
/** @enum {string} */
- action: 'PERMISSIVE' | 'RESTRICTIVE'
- roles: string[]
- /** @enum {string} */
- command: 'SELECT' | 'INSERT' | 'UPDATE' | 'DELETE' | 'ALL'
- definition: string | null
- check: string | null
+ tier: 'tier_payg' | 'tier_pro' | 'tier_free' | 'tier_team' | 'tier_enterprise'
}
- CreatePolicyBody: {
+ CreateOrganizationBodyV1: {
name: string
- table: string
- schema?: string
- definition?: string
- check?: string
+ }
+ CreatePolicyBody: {
/** @enum {string} */
action?: 'PERMISSIVE' | 'RESTRICTIVE'
+ check?: string
/** @enum {string} */
command?: 'SELECT' | 'INSERT' | 'UPDATE' | 'DELETE' | 'ALL'
- roles?: string[]
- }
- UpdatePolicyBody: {
- id?: number
- name?: string
definition?: string
- check?: string
+ name: string
roles?: string[]
+ schema?: string
+ table: string
}
- Table: {
- id: number
+ CreateProjectBody: {
+ auth_site_url?: string
+ cloud_provider: string
+ custom_supabase_internal_requests?: components['schemas']['CustomSupabaseInternalRequests']
+ data_api_exposed_schemas?: string[]
+ db_pass: string
+ db_pricing_tier_id?: string
+ db_region: string
+ db_sql?: string
+ desired_instance_size?: components['schemas']['DesiredInstanceSize']
name: string
- schema: string
+ org_id: number
+ vercel_configuration_id?: string
}
- PostgresPublication: {
+ CreateProjectResponse: {
+ anon_key: string
+ cloud_provider: string
+ disk_volume_size_gb?: number
+ endpoint: string
id: number
+ infra_compute_size?: components['schemas']['DbInstanceSize']
+ inserted_at: string
+ is_branch_enabled: boolean
+ is_physical_backups_enabled: boolean
name: string
- owner: string
- publish_insert: boolean
- publish_update: boolean
- publish_delete: boolean
- publish_truncate: boolean
- tables: components['schemas']['Table'][] | null
- }
- CreatePublicationBody: {
- name: string
- owner?: string
- tables?: string[] | null
- publish_insert?: boolean
- publish_update?: boolean
- publish_delete?: boolean
- publish_truncate?: boolean
- }
- UpdatePublicationBody: {
- id?: number
- name?: string
- owner?: string
- tables?: string[] | null
- publish_insert?: boolean
- publish_update?: boolean
- publish_delete?: boolean
- publish_truncate?: boolean
- }
- RunQueryBody: {
- query: string
- }
- FormatQueryBody: {
- query: string
- }
- ValidateQueryBody: {
- query: string
+ organization_id: number
+ preview_branch_refs: string[]
+ ref: string
+ region: string
+ service_key: string
+ status: string
+ subscription_id: string
}
- ValidateQueryResponse: {
- valid: boolean
+ CreateProviderBody: {
+ attribute_mapping?: components['schemas']['AttributeMapping']
+ domains?: string[]
+ metadata_url?: string
+ metadata_xml?: string
+ /**
+ * @description What type of provider will be created
+ * @enum {string}
+ */
+ type: 'saml'
}
- PostgresRole: {
- id: number
- name: string
- is_superuser: boolean
- can_create_db: boolean
- can_create_role: boolean
- inherit_role: boolean
- can_login: boolean
- is_replication_role: boolean
- can_bypass_rls: boolean
- active_connections: number
- connection_limit: number
- password: string
- valid_until: string | null
- config: string[] | null
+ CreateProviderResponse: {
+ created_at?: string
+ domains?: components['schemas']['Domain'][]
+ id: string
+ saml?: components['schemas']['SamlDescriptor']
+ updated_at?: string
}
- CreateRoleBody: {
+ CreatePublicationBody: {
name: string
- password?: string
- inherit_role?: boolean
- can_login?: boolean
- is_superuser?: boolean
+ owner?: string
+ publish_delete?: boolean
+ publish_insert?: boolean
+ publish_truncate?: boolean
+ publish_update?: boolean
+ tables?: string[] | null
+ }
+ CreateRoleBody: {
+ admins?: string[]
+ can_bypass_rls?: boolean
can_create_db?: boolean
can_create_role?: boolean
- is_replication_role?: boolean
- can_bypass_rls?: boolean
+ can_login?: boolean
+ config?: Record<string, never>
connection_limit?: number
+ inherit_role?: boolean
+ is_replication_role?: boolean
+ is_superuser?: boolean
member_of?: string[]
members?: string[]
- admins?: string[]
- valid_until?: string
- config?: Record<string, never>
- }
- UpdateRoleBody: {
- name?: string
+ name: string
password?: string
- inherit_role?: boolean
- can_login?: boolean
- is_superuser?: boolean
- can_create_db?: boolean
- can_create_role?: boolean
- is_replication_role?: boolean
- can_bypass_rls?: boolean
- connection_limit?: number
valid_until?: string
- config?: Record<string, never>
- }
- PostgresSchema: {
- id: number
- name: string
- owner: string
}
CreateSchemaBody: {
name: string
owner: string
}
- UpdateSchemaBody: {
- name?: string
- owner?: string
- }
- SearchTableBody: {
- name: string
- schema: string
- }
- SearchColumnBody: {
- name: string
- schema: string
- }
- Column: {
- id: number
- name: string
- schema: string
- table_id: number
- table: string
- }
- TablePrivilege: {
- grantor: string
- grantee: string
- /** @enum {string} */
- privilege_type:
- | 'ALL'
- | 'SELECT'
- | 'INSERT'
- | 'UPDATE'
- | 'DELETE'
- | 'TRUNCATE'
- | 'REFERENCES'
- | 'TRIGGER'
- is_grantable: boolean
- }
- PostgresTablePrivileges: {
- schema: string
+ CreateSecretBody: {
+ /**
+ * @description Secret name must not start with the SUPABASE_ prefix.
+ * @example string
+ */
name: string
- kind: string
- privileges: components['schemas']['TablePrivilege'][]
- }
- GrantTablePrivilegesBody: {
- is_grantable?: boolean
- relation_id: number
- grantee: string
- /** @enum {string} */
- privilege_type:
- | 'ALL'
- | 'SELECT'
- | 'INSERT'
- | 'UPDATE'
- | 'DELETE'
- | 'TRUNCATE'
- | 'REFERENCES'
- | 'TRIGGER'
- }
- RevokeTablePrivilegesBody: {
- relation_id: number
- grantee: string
- /** @enum {string} */
- privilege_type:
- | 'ALL'
- | 'SELECT'
- | 'INSERT'
- | 'UPDATE'
- | 'DELETE'
- | 'TRUNCATE'
- | 'REFERENCES'
- | 'TRIGGER'
+ value: string
}
- PrimaryKey: {
- schema: string
- table_name: string
- name: string
- table_id: number
+ CreateStorageBucketBody: {
+ allowed_mime_types: string[]
+ file_size_limit: number
+ id: string
+ public: boolean
}
- Relationship: {
- id: number
- constraint_name: string
- source_schema: string
- source_table_name: string
- source_column_name: string
- target_table_schema: string
- target_table_name: string
- target_column_name: string
+ CreateStorageCredentialBody: {
+ description: string
}
- PostgresTable: {
- id: number
- schema: string
- name: string
- rls_enabled: boolean
- rls_forced: boolean
- /** @enum {string} */
- replica_identity: 'DEFAULT' | 'INDEX' | 'FULL' | 'NOTHING'
- bytes: number
- size: string
- live_rows_estimate: number
- dead_rows_estimate: number
- comment: string | null
- columns?: components['schemas']['PostgresColumn'][]
- primary_keys: components['schemas']['PrimaryKey'][]
- relationships: components['schemas']['Relationship'][]
+ CreateStorageCredentialResponse: {
+ access_key: string
+ description: string
+ id: string
+ secret_key: string
}
CreateTableBody: {
- name: string
- schema?: string
- comment?: string
- }
- UpdateTableBody: {
- id?: number
- rls_enabled?: boolean
- rls_forced?: boolean
- /** @enum {string} */
- replica_identity?: 'DEFAULT' | 'INDEX' | 'FULL' | 'NOTHING'
- replica_identity_index?: string
- name?: string
- schema?: string
comment?: string
- }
- PostgresTrigger: {
- id: number
- table_id: number
- /** @enum {string} */
- enabled_mode: 'ORIGIN' | 'REPLICA' | 'ALWAYS' | 'DISABLED'
- name: string
- table: string
- schema: string
- condition: string | null
- /** @enum {string} */
- orientation: 'ROW' | 'STATEMENT'
- /** @enum {string} */
- activation: 'AFTER' | 'BEFORE'
- events: string[]
- function_schema: string
- function_name: string
- function_args: string[]
- }
- CreateTriggerBody: {
- /** @enum {string} */
- activation: 'AFTER' | 'BEFORE'
- /** @enum {string} */
- enabled_mode: 'ORIGIN' | 'REPLICA' | 'ALWAYS' | 'DISABLED'
- events: ('INSERT' | 'UPDATE' | 'DELETE')[]
- function_args: string[]
- function_name: string
- function_schema: string
name: string
- /** @enum {string} */
- orientation: 'ROW' | 'STATEMENT'
- schema: string
- table: string
- table_id?: number
- }
- UpdateTriggerBody: {
- id?: number
- /** @enum {string} */
- activation?: 'AFTER' | 'BEFORE'
- /** @enum {string} */
- enabled_mode?: 'ORIGIN' | 'REPLICA' | 'ALWAYS' | 'DISABLED'
- events?: ('INSERT' | 'UPDATE' | 'DELETE')[]
- function_args?: string[]
- function_name?: string
- function_schema?: string
- name?: string
- /** @enum {string} */
- orientation?: 'ROW' | 'STATEMENT'
schema?: string
- table?: string
- table_id?: number
- }
- PostgresType: {
- id: number
- name: string
- schema: string
- format: string
- enums: string[]
- comment: string | null
}
- PostgresView: {
- id: number
- schema: string
- name: string
- is_updatable: boolean
- comment: string | null
- columns?: components['schemas']['PostgresColumn'][]
+ CreateTaxIdBody: {
+ country?: string
+ type: string
+ value: string
}
- AccessToken: {
- created_at: string
- id: number
- token_alias: string
- name: string
- /** @enum {string} */
- scope?: 'V0'
+ CreateTaxIdResponse: {
+ country: string
+ created: number
+ id: string
+ type: string
+ value: string
}
- CreateAccessTokenBody: {
+ CreateTriggerBody: {
+ /** @enum {string} */
+ activation: 'AFTER' | 'BEFORE'
+ /** @enum {string} */
+ enabled_mode: 'ORIGIN' | 'REPLICA' | 'ALWAYS' | 'DISABLED'
+ events: ('INSERT' | 'UPDATE' | 'DELETE')[]
+ function_args: string[]
+ function_name: string
+ function_schema: string
name: string
/** @enum {string} */
- scope?: 'V0'
+ orientation: 'ROW' | 'STATEMENT'
+ schema: string
+ table: string
+ table_id?: number
}
- CreateAccessTokenResponse: {
- created_at: string
- id: number
- token_alias: string
+ CreateUserContentFolderResponse: {
+ id: string
name: string
- /** @enum {string} */
- scope?: 'V0'
- token: string
+ owner_id: number
+ parent_id?: string | null
+ project_id: number
}
- SearchProfileBody: {
- keywords: string
+ CreateVercelConnectionResponse: {
+ env_sync_error?: components['schemas']['SyncVercelEnvError']
+ id: string
}
- Profile: {
- first_name: string
- gotrue_id: string
- id: number
- last_name: string
- username: string
+ CreateVercelConnectionsBody: {
+ connection: components['schemas']['IntegrationConnectionVercel']
+ organization_integration_id: string
}
- SubscriptionStatisticsResponse: {
- total_paid_projects: number
- total_free_projects: number
- total_active_free_projects: number
- total_paused_free_projects: number
- total_pro_projects: number
- total_payg_projects: number
- total_team_projects: number
- total_enterprise_projects: number
+ CreateVercelEnvironmentVariableBody: {
+ key: string
+ target: string[]
+ type: string
+ value: string
}
- PasswordCheckBody: {
- password: string
+ CreateVercelIntegrationBody: {
+ code: string
+ configuration_id: string
+ metadata: Record<string, never>
+ organization_slug: string
+ source: string
+ teamId?: string
}
- PasswordCheckResponse: {
- result: {
- feedback?: {
- warning?: string
- suggestions?: string[]
- }
- score?: number
- }
+ CredentialsRequestBody: {
+ projectToken: string
}
- Permission: {
- actions: (
- | 'analytics:Read'
- | 'auth:Execute'
- | 'billing:Read'
- | 'billing:Write'
- | 'write:Create'
- | 'write:Delete'
- | 'functions:Read'
- | 'functions:Write'
- | 'infra:Execute'
- | 'read:Read'
- | 'sql:Read:Select'
- | 'sql:Write:Delete'
- | 'sql:Write:Insert'
- | 'sql:Write:Update'
- | 'storage:Admin:Read'
- | 'storage:Admin:Write'
- | 'tenant:Sql:Admin:Read'
- | 'tenant:Sql:Admin:Write'
- | 'tenant:Sql:CreateTable'
- | 'tenant:Sql:Write:Delete'
- | 'tenant:Sql:Write:Insert'
- | 'tenant:Sql:Query'
- | 'tenant:Sql:Read:Select'
- | 'tenant:Sql:Write:Update'
- | 'write:Update'
- )[]
- condition: unknown
- organization_id: number
- resources: string[]
+ CredentialsResponseBody: {
+ access_key_id: string
+ /** Format: date-time */
+ expiry_time: string
+ secret_access_key: string
+ session_token: string
}
- ProfileResponse: {
- id: number
- auth0_id: string
- primary_email: string
- username: string
- first_name: string
- last_name: string
- mobile: string
- is_alpha_user: boolean
- gotrue_id: string
- free_project_limit: number
- disabled_features: (
- | 'organizations:create'
- | 'organizations:delete'
- | 'organization_members:create'
- | 'organization_members:delete'
- | 'projects:create'
- | 'projects:transfer'
- | 'project_auth:all'
- | 'project_storage:all'
- | 'project_edge_function:all'
- | 'profile:update'
- | 'billing:account_data'
- | 'billing:credits'
- | 'billing:invoices'
- | 'billing:payment_methods'
- | 'realtime:all'
- )[]
+ CustomerBillingAddress: {
+ city?: string
+ country: string
+ line1: string
+ line2?: string
+ postal_code?: string
+ state?: string
}
- UpdateProfileBody: {
- first_name: string
- last_name: string
+ CustomerResponse: {
+ address: components['schemas']['CustomerBillingAddress'] | null
+ balance: number
+ billing_via_partner: boolean
+ email: string
+ }
+ CustomSupabaseInternalRequests: {
+ ami: components['schemas']['AmiSearchOptions']
+ }
+ DatabaseDetailResponse: {
+ /** @enum {string} */
+ cloud_provider: 'AWS' | 'FLY'
+ connectionString: string
+ db_host: string
+ db_name: string
+ db_port: number
+ db_user: string
+ identifier: string
+ inserted_at: string
+ region: string
+ restUrl: string
+ size: string
+ /** @enum {string} */
+ status:
+ | 'ACTIVE_HEALTHY'
+ | 'ACTIVE_UNHEALTHY'
+ | 'COMING_UP'
+ | 'GOING_DOWN'
+ | 'INIT_FAILED'
+ | 'REMOVED'
+ | 'RESTORING'
+ | 'UNKNOWN'
+ | 'UPGRADING'
+ | 'INIT_READ_REPLICA'
+ | 'INIT_READ_REPLICA_FAILED'
+ }
+ DatabaseStatusResponse: {
+ identifier: string
+ replicaInitializationStatus?: Record<string, never>
+ /** @enum {string} */
+ status:
+ | 'ACTIVE_HEALTHY'
+ | 'ACTIVE_UNHEALTHY'
+ | 'COMING_UP'
+ | 'GOING_DOWN'
+ | 'INIT_FAILED'
+ | 'REMOVED'
+ | 'RESTORING'
+ | 'UNKNOWN'
+ | 'UPGRADING'
+ | 'INIT_READ_REPLICA'
+ | 'INIT_READ_REPLICA_FAILED'
+ }
+ DatabaseUpgradeStatus: {
+ /** @enum {string} */
+ error?:
+ | '1_upgraded_instance_launch_failed'
+ | '2_volume_detachchment_from_upgraded_instance_failed'
+ | '3_volume_attachment_to_original_instance_failed'
+ | '4_data_upgrade_initiation_failed'
+ | '5_data_upgrade_completion_failed'
+ | '6_volume_detachchment_from_original_instance_failed'
+ | '7_volume_attachment_to_upgraded_instance_failed'
+ | '8_upgrade_completion_failed'
+ initiated_at: string
+ /** @enum {string} */
+ progress?:
+ | '0_requested'
+ | '1_started'
+ | '2_launched_upgraded_instance'
+ | '3_detached_volume_from_upgraded_instance'
+ | '4_attached_volume_to_original_instance'
+ | '5_initiated_data_upgrade'
+ | '6_completed_data_upgrade'
+ | '7_detached_volume_from_original_instance'
+ | '8_attached_volume_to_upgraded_instance'
+ | '9_completed_upgrade'
+ /** @enum {number} */
+ status: 0 | 1 | 2
+ target_version: number
+ }
+ DatabaseUpgradeStatusResponse: {
+ databaseUpgradeStatus: components['schemas']['DatabaseUpgradeStatus'] | null
}
/** @enum {string} */
DbInstanceSize:
@@ -3505,24 +2820,21 @@ export interface components {
| '8xlarge'
| '12xlarge'
| '16xlarge'
- ProjectInfo: {
- infra_compute_size?: components['schemas']['DbInstanceSize']
- cloud_provider: string
- id: number
- inserted_at: string
- name: string
- organization_id: number
- ref: string
- region: string
- status: string
- subscription_id: string
- is_branch_enabled: boolean
- is_physical_backups_enabled: boolean
- preview_branch_refs: string[]
- disk_volume_size_gb?: number
+ DeleteObjectsBody: {
+ paths: string[]
+ }
+ DeleteProviderResponse: {
+ created_at?: string
+ domains?: components['schemas']['Domain'][]
+ id: string
+ saml?: components['schemas']['SamlDescriptor']
+ updated_at?: string
}
- GetProjectByFlyExtensionIdResponse: {
- ref: string
+ DeleteTaxIdBody: {
+ id: string
+ }
+ DeleteVercelConnectionResponse: {
+ id: string
}
/**
* @description Desired instance size, will use default size if not defined. Paid plans only.
@@ -3539,349 +2851,761 @@ export interface components {
| '8xlarge'
| '12xlarge'
| '16xlarge'
- AmiSearchOptions: {
- search_tags?: Record<string, never>
+ DetachPaymentMethodBody: {
+ card_id: string
}
- CustomSupabaseInternalRequests: {
- ami: components['schemas']['AmiSearchOptions']
+ Domain: {
+ created_at?: string
+ domain?: string
+ id: string
+ updated_at?: string
}
- CreateProjectBody: {
+ DownloadBackupBody: {
+ data: Record<string, never>
+ id: number
+ inserted_at: string
+ project_id: number
+ s3_bucket: string
+ s3_path: string
+ status: string
+ }
+ DownloadBackupResponse: {
+ fileUrl: string
+ }
+ DownloadObjectBody: {
+ options?: components['schemas']['DownloadObjectOptions']
+ path: string
+ }
+ DownloadObjectOptions: {
+ download?: boolean
+ downloadName?: string
+ transform?: components['schemas']['StorageObjectTransformOptions']
+ }
+ EventBody: {
+ eventType: string
+ message: string
+ reportingToken: string
+ }
+ FlyOrganization: {
+ free_db_eligible: boolean
+ id: string
+ name: string
+ plan: components['schemas']['BillingPlanId']
+ supabase_org_id: string
+ }
+ FlyResourceProvisioningBody: {
+ /** @description Database password (Optional, don't send to generate one) */
+ db_pass?: string
+ /** @example large */
desired_instance_size?: components['schemas']['DesiredInstanceSize']
- cloud_provider: string
- org_id: number
+ /** @description Unique ID representing the extension */
+ id: string
+ /** @description An IPv6 address on the customer network assigned to this extension */
+ ip_address: string
+ /** @description Name of the extension */
name: string
- db_pass: string
- db_region: string
- db_pricing_tier_id?: string
- db_sql?: string
- auth_site_url?: string
- vercel_configuration_id?: string
- custom_supabase_internal_requests?: components['schemas']['CustomSupabaseInternalRequests']
- data_api_exposed_schemas?: string[]
+ /** @description A random unique string identifying the individual request */
+ nonce: string
+ /** @description Unique ID representing an organization */
+ organization_id: string
+ /** @description Display name for an organization */
+ organization_name: string
+ /** @example pro */
+ organization_plan?: components['schemas']['SelfServePlanId']
+ /** @description The three-letter, primary Fly.io region where the target app intends to write from */
+ primary_region: string
+ /**
+ * @description An array of Fly.io region codes where read replicas should be provisioned
+ * @default []
+ */
+ read_regions: string[]
+ /** @description A UNIX epoch timestamp value */
+ timestamp: number
+ /** @description The full request target URL */
+ url: string
+ /** @description Obfuscated email that routes to the provisioning user */
+ user_email: string
+ /** @description Unique ID representing an user */
+ user_id: string
+ user_name: string
}
- CreateProjectResponse: {
- infra_compute_size?: components['schemas']['DbInstanceSize']
- cloud_provider: string
- id: number
- inserted_at: string
+ FlyUpdateOrganizationSubscriptionBody: {
+ /** @description A random unique string identifying the individual request */
+ nonce: string
+ /** @example pro */
+ plan: components['schemas']['SelfServePlanId']
+ /** @description A UNIX epoch timestamp value */
+ timestamp: number
+ /** @description The full request target URL */
+ url: string
+ }
+ FormatQueryBody: {
+ query: string
+ }
+ FunctionResponse: {
+ created_at: number
+ entrypoint_path?: string
+ id: string
+ import_map?: boolean
+ import_map_path?: string
name: string
- organization_id: number
- ref: string
+ slug: string
+ /** @enum {string} */
+ status: 'ACTIVE' | 'REMOVED' | 'THROTTLED'
+ updated_at: number
+ verify_jwt?: boolean
+ version: number
+ }
+ FunctionSlugResponse: {
+ created_at: number
+ entrypoint_path?: string
+ id: string
+ import_map?: boolean
+ import_map_path?: string
+ name: string
+ slug: string
+ /** @enum {string} */
+ status: 'ACTIVE' | 'REMOVED' | 'THROTTLED'
+ updated_at: number
+ verify_jwt?: boolean
+ version: number
+ }
+ GetMetricsBody: {
+ /** @enum {string} */
+ interval: '1d' | '3d' | '7d'
+ /** @enum {string} */
+ metric: 'user_queries'
+ project_refs: string[]
region: string
- status: string
- subscription_id: string
- is_branch_enabled: boolean
- is_physical_backups_enabled: boolean
- preview_branch_refs: string[]
- disk_volume_size_gb?: number
- endpoint: string
- anon_key: string
- service_key: string
}
- GetUserContentObject: {
- owner: {
- id?: number
- username?: string
- }
- updated_by: {
- id?: number
+ GetMetricsResponse: {
+ metrics: components['schemas']['ProjectMetric'][]
+ }
+ GetObjectsBody: {
+ options: components['schemas']['StorageObjectSearchOptions']
+ path: string
+ }
+ GetOrganizationByFlyOrganizationIdResponse: {
+ slug: string
+ }
+ GetOrganizationIntegrationResponse: {
+ added_by: {
+ primary_email?: string
username?: string
}
+ connections: components['schemas']['ProjectIntegrationConnection'][]
id: string
inserted_at: string
+ integration: {
+ name?: string
+ }
+ metadata: Record<string, never>
+ organization: {
+ slug?: string
+ }
updated_at: string
- /** @enum {string} */
- type: 'sql' | 'report' | 'log_sql'
- /** @enum {string} */
- visibility: 'user' | 'project' | 'org' | 'public'
- name: string
- description?: string
- content: Record<string, never>
- project_id: number
- owner_id: number
- last_updated_by?: number
}
- GetUserContentResponse: {
- data: components['schemas']['GetUserContentObject'][]
+ GetProjectByFlyExtensionIdResponse: {
+ ref: string
}
- GetUserContentByIdResponse: {
- folder_id?: string
+ GetProviderResponse: {
+ created_at?: string
+ domains?: components['schemas']['Domain'][]
id: string
- inserted_at: string
- updated_at: string
- /** @enum {string} */
- type: 'sql' | 'report' | 'log_sql'
+ saml?: components['schemas']['SamlDescriptor']
+ updated_at?: string
+ }
+ GetPublicUrlBody: {
+ options?: components['schemas']['PublicUrlOptions']
+ path: string
+ }
+ GetSignedUrlBody: {
+ expiresIn: number
+ options?: components['schemas']['SignedUrlOptions']
+ path: string
+ }
+ GetSignedUrlsBody: {
+ expiresIn: number
+ options?: components['schemas']['SignedUrlsOptions']
+ path: string[]
+ }
+ GetStorageCredential: {
+ created_at: string
+ description: string
+ id: string
+ }
+ GetStorageCredentialsResponse: {
+ data: components['schemas']['GetStorageCredential'][]
+ }
+ GetSubscriptionResponse: {
+ addons: components['schemas']['BillingSubscriptionAddon'][]
+ billing_cycle_anchor: number
/** @enum {string} */
- visibility: 'user' | 'project' | 'org' | 'public'
- name: string
- description?: string
+ billing_partner: 'fly' | 'aws'
+ billing_via_partner: boolean
+ current_period_end: number
+ current_period_start: number
+ customer_balance: number
+ nano_enabled: boolean
+ next_invoice_at: number
+ payment_method_type: string
+ plan: components['schemas']['BillingSubscriptionPlan']
+ project_addons: components['schemas']['BillingProjectAddonResponse'][]
+ scheduled_plan_change: components['schemas']['ScheduledPlanChange'] | null
+ usage_billing_enabled: boolean
+ }
+ GetUserContentByIdResponse: {
content: Record<string, never>
- project_id: number
- owner_id: number
+ description?: string
+ folder_id?: string
+ id: string
+ inserted_at: string
last_updated_by?: number
- }
- CreateContentBody: {
- id?: string
name: string
- description?: string
+ owner_id: number
+ project_id: number
/** @enum {string} */
type: 'sql' | 'report' | 'log_sql'
+ updated_at: string
/** @enum {string} */
visibility: 'user' | 'project' | 'org' | 'public'
- content?: Record<string, never>
- owner_id?: number
}
- UserContentObject: {
+ GetUserContentFolderResponse: {
+ data: {
+ contents?: components['schemas']['UserContentObjectMeta'][]
+ folders?: components['schemas']['UserContentFolder'][]
+ }
+ }
+ GetUserContentObject: {
+ content: Record<string, never>
+ description?: string
id: string
inserted_at: string
- updated_at: string
- /** @enum {string} */
- type: 'sql' | 'report' | 'log_sql'
- /** @enum {string} */
- visibility: 'user' | 'project' | 'org' | 'public'
- name: string
- description?: string
- content: Record<string, never>
- project_id: number
- owner_id: number
last_updated_by?: number
- }
- CreateContentBodyV2: {
- id?: string
name: string
- description?: string
+ owner: {
+ id?: number
+ username?: string
+ }
+ owner_id: number
+ project_id: number
/** @enum {string} */
type: 'sql' | 'report' | 'log_sql'
+ updated_at: string
+ updated_by: {
+ id?: number
+ username?: string
+ }
/** @enum {string} */
visibility: 'user' | 'project' | 'org' | 'public'
- content?: Record<string, never>
- owner_id?: number
- folder_id?: string
}
- UserContentObjectV2: {
+ GetUserContentResponse: {
+ data: components['schemas']['GetUserContentObject'][]
+ }
+ GetUserOrganizationIntegrationResponse: {
+ added_by: {
+ primary_email?: string
+ username?: string
+ }
+ id: string
+ inserted_at: string
+ integration: {
+ name?: string
+ }
+ metadata: Record<string, never>
+ organization: {
+ slug?: string
+ }
+ updated_at: string
+ }
+ GetVercelConnections: {
+ foreign_project_id: string
id: string
inserted_at: string
+ metadata: Record<string, never>
+ organization_integration_id: string
+ supabase_project_ref: string
updated_at: string
- /** @enum {string} */
- type: 'sql' | 'report' | 'log_sql'
- /** @enum {string} */
- visibility: 'user' | 'project' | 'org' | 'public'
- name: string
- description?: string
- content: Record<string, never>
- project_id: number
- owner_id: number
- last_updated_by?: number
- folder_id?: string
}
- UpdateContentBody: {
- id?: string
- name?: string
- description?: string
- /** @enum {string} */
- type?: 'sql' | 'report' | 'log_sql'
+ GetVercelProjectsResponse: {
+ pagination: {
+ count?: number
+ next?: number | null
+ prev?: number | null
+ }
+ projects: components['schemas']['IntegrationVercelProject'][]
+ }
+ GitHubAuthorization: {
+ id: number
+ sender_id: number
+ user_id: number
+ }
+ GoogleAnalyticBody: {
+ language?: string
+ screen_resolution?: string
+ session_id: string
+ }
+ GoTrueConfigResponse: {
+ API_MAX_REQUEST_DURATION: number | null
+ DB_MAX_POOL_SIZE: number | null
+ DISABLE_SIGNUP: boolean
+ EXTERNAL_ANONYMOUS_USERS_ENABLED: boolean
+ EXTERNAL_APPLE_ADDITIONAL_CLIENT_IDS: string
+ EXTERNAL_APPLE_CLIENT_ID: string
+ EXTERNAL_APPLE_ENABLED: boolean
+ EXTERNAL_APPLE_SECRET: string
+ EXTERNAL_AZURE_CLIENT_ID: string
+ EXTERNAL_AZURE_ENABLED: boolean
+ EXTERNAL_AZURE_SECRET: string
+ EXTERNAL_AZURE_URL: string
+ EXTERNAL_BITBUCKET_CLIENT_ID: string
+ EXTERNAL_BITBUCKET_ENABLED: boolean
+ EXTERNAL_BITBUCKET_SECRET: string
+ EXTERNAL_DISCORD_CLIENT_ID: string
+ EXTERNAL_DISCORD_ENABLED: boolean
+ EXTERNAL_DISCORD_SECRET: string
+ EXTERNAL_EMAIL_ENABLED: boolean
+ EXTERNAL_FACEBOOK_CLIENT_ID: string
+ EXTERNAL_FACEBOOK_ENABLED: boolean
+ EXTERNAL_FACEBOOK_SECRET: string
+ EXTERNAL_FIGMA_CLIENT_ID: string
+ EXTERNAL_FIGMA_ENABLED: boolean
+ EXTERNAL_FIGMA_SECRET: string
+ EXTERNAL_GITHUB_CLIENT_ID: string
+ EXTERNAL_GITHUB_ENABLED: boolean
+ EXTERNAL_GITHUB_SECRET: string
+ EXTERNAL_GITLAB_CLIENT_ID: string
+ EXTERNAL_GITLAB_ENABLED: boolean
+ EXTERNAL_GITLAB_SECRET: string
+ EXTERNAL_GITLAB_URL: string
+ EXTERNAL_GOOGLE_ADDITIONAL_CLIENT_IDS: string
+ EXTERNAL_GOOGLE_CLIENT_ID: string
+ EXTERNAL_GOOGLE_ENABLED: boolean
+ EXTERNAL_GOOGLE_SECRET: string
+ EXTERNAL_GOOGLE_SKIP_NONCE_CHECK: boolean
+ EXTERNAL_KAKAO_CLIENT_ID: string
+ EXTERNAL_KAKAO_ENABLED: boolean
+ EXTERNAL_KAKAO_SECRET: string
+ EXTERNAL_KEYCLOAK_CLIENT_ID: string
+ EXTERNAL_KEYCLOAK_ENABLED: boolean
+ EXTERNAL_KEYCLOAK_SECRET: string
+ EXTERNAL_KEYCLOAK_URL: string
+ EXTERNAL_LINKEDIN_OIDC_CLIENT_ID: string
+ EXTERNAL_LINKEDIN_OIDC_ENABLED: boolean
+ EXTERNAL_LINKEDIN_OIDC_SECRET: string
+ EXTERNAL_NOTION_CLIENT_ID: string
+ EXTERNAL_NOTION_ENABLED: boolean
+ EXTERNAL_NOTION_SECRET: string
+ EXTERNAL_PHONE_ENABLED: boolean
+ EXTERNAL_SLACK_CLIENT_ID: string
+ EXTERNAL_SLACK_ENABLED: boolean
+ EXTERNAL_SLACK_SECRET: string
+ EXTERNAL_SPOTIFY_CLIENT_ID: string
+ EXTERNAL_SPOTIFY_ENABLED: boolean
+ EXTERNAL_SPOTIFY_SECRET: string
+ EXTERNAL_TWITCH_CLIENT_ID: string
+ EXTERNAL_TWITCH_ENABLED: boolean
+ EXTERNAL_TWITCH_SECRET: string
+ EXTERNAL_TWITTER_CLIENT_ID: string
+ EXTERNAL_TWITTER_ENABLED: boolean
+ EXTERNAL_TWITTER_SECRET: string
+ EXTERNAL_WORKOS_CLIENT_ID: string
+ EXTERNAL_WORKOS_ENABLED: boolean
+ EXTERNAL_WORKOS_SECRET: string
+ EXTERNAL_WORKOS_URL: string
+ EXTERNAL_ZOOM_CLIENT_ID: string
+ EXTERNAL_ZOOM_ENABLED: boolean
+ EXTERNAL_ZOOM_SECRET: string
+ HOOK_CUSTOM_ACCESS_TOKEN_ENABLED: boolean
+ HOOK_CUSTOM_ACCESS_TOKEN_SECRETS: string
+ HOOK_CUSTOM_ACCESS_TOKEN_URI: string
+ HOOK_MFA_VERIFICATION_ATTEMPT_ENABLED: boolean
+ HOOK_MFA_VERIFICATION_ATTEMPT_SECRETS: string
+ HOOK_MFA_VERIFICATION_ATTEMPT_URI: string
+ HOOK_PASSWORD_VERIFICATION_ATTEMPT_ENABLED: boolean
+ HOOK_PASSWORD_VERIFICATION_ATTEMPT_SECRETS: string
+ HOOK_PASSWORD_VERIFICATION_ATTEMPT_URI: string
+ HOOK_SEND_EMAIL_ENABLED: boolean
+ HOOK_SEND_EMAIL_SECRETS: string
+ HOOK_SEND_EMAIL_URI: string
+ HOOK_SEND_SMS_ENABLED: boolean
+ HOOK_SEND_SMS_SECRETS: string
+ HOOK_SEND_SMS_URI: string
+ JWT_EXP: number
+ MAILER_ALLOW_UNVERIFIED_EMAIL_SIGN_INS: boolean
+ MAILER_AUTOCONFIRM: boolean
+ MAILER_OTP_EXP: number
+ MAILER_OTP_LENGTH: number
+ MAILER_SECURE_EMAIL_CHANGE_ENABLED: boolean
+ MAILER_SUBJECTS_CONFIRMATION: string
+ MAILER_SUBJECTS_EMAIL_CHANGE: string
+ MAILER_SUBJECTS_INVITE: string
+ MAILER_SUBJECTS_MAGIC_LINK: string
+ MAILER_SUBJECTS_REAUTHENTICATION: string
+ MAILER_SUBJECTS_RECOVERY: string
+ MAILER_TEMPLATES_CONFIRMATION_CONTENT: string
+ MAILER_TEMPLATES_EMAIL_CHANGE_CONTENT: string
+ MAILER_TEMPLATES_INVITE_CONTENT: string
+ MAILER_TEMPLATES_MAGIC_LINK_CONTENT: string
+ MAILER_TEMPLATES_REAUTHENTICATION_CONTENT: string
+ MAILER_TEMPLATES_RECOVERY_CONTENT: string
+ MFA_MAX_ENROLLED_FACTORS: number
+ PASSWORD_HIBP_ENABLED: boolean
+ PASSWORD_MIN_LENGTH: number
+ PASSWORD_REQUIRED_CHARACTERS: string
+ RATE_LIMIT_ANONYMOUS_USERS: number
+ RATE_LIMIT_EMAIL_SENT: number
+ RATE_LIMIT_OTP: number
+ RATE_LIMIT_SMS_SENT: number
+ RATE_LIMIT_TOKEN_REFRESH: number
+ RATE_LIMIT_VERIFY: number
+ REFRESH_TOKEN_ROTATION_ENABLED: boolean
+ SAML_ENABLED: boolean
+ SECURITY_CAPTCHA_ENABLED: boolean
+ SECURITY_CAPTCHA_PROVIDER: string
+ SECURITY_CAPTCHA_SECRET: string
+ SECURITY_MANUAL_LINKING_ENABLED: boolean
+ SECURITY_REFRESH_TOKEN_REUSE_INTERVAL: number
+ SECURITY_UPDATE_PASSWORD_REQUIRE_REAUTHENTICATION: boolean
+ SESSIONS_INACTIVITY_TIMEOUT: number
+ SESSIONS_SINGLE_PER_USER: boolean
+ SESSIONS_TAGS: string
+ SESSIONS_TIMEBOX: number
+ SITE_URL: string
+ SMS_AUTOCONFIRM: boolean
+ SMS_MAX_FREQUENCY: number
+ SMS_MESSAGEBIRD_ACCESS_KEY: string
+ SMS_MESSAGEBIRD_ORIGINATOR: string
+ SMS_OTP_EXP: number
+ SMS_OTP_LENGTH: number
+ SMS_PROVIDER: string
+ SMS_TEMPLATE: string
+ SMS_TEST_OTP: string
+ SMS_TEST_OTP_VALID_UNTIL: string
+ SMS_TEXTLOCAL_API_KEY: string
+ SMS_TEXTLOCAL_SENDER: string
+ SMS_TWILIO_ACCOUNT_SID: string
+ SMS_TWILIO_AUTH_TOKEN: string
+ SMS_TWILIO_CONTENT_SID: string
+ SMS_TWILIO_MESSAGE_SERVICE_SID: string
+ SMS_TWILIO_VERIFY_ACCOUNT_SID: string
+ SMS_TWILIO_VERIFY_AUTH_TOKEN: string
+ SMS_TWILIO_VERIFY_MESSAGE_SERVICE_SID: string
+ SMS_VONAGE_API_KEY: string
+ SMS_VONAGE_API_SECRET: string
+ SMS_VONAGE_FROM: string
+ SMTP_ADMIN_EMAIL: string
+ SMTP_HOST: string
+ SMTP_MAX_FREQUENCY: number
+ SMTP_PASS: string
+ SMTP_PORT: string
+ SMTP_SENDER_NAME: string
+ SMTP_USER: string
+ URI_ALLOW_LIST: string
+ }
+ GrantColumnPrivilegesBody: {
+ column_id: string
+ grantee: string
+ is_grantable?: boolean
/** @enum {string} */
- visibility?: 'user' | 'project' | 'org' | 'public'
- content?: Record<string, never>
- owner_id?: number
+ privilege_type: 'ALL' | 'SELECT' | 'INSERT' | 'UPDATE' | 'REFERENCES'
}
- UpsertContentBody: {
- id?: string
- name: string
- description?: string
- /** @enum {string} */
- type: 'sql' | 'report' | 'log_sql'
+ GrantTablePrivilegesBody: {
+ grantee: string
+ is_grantable?: boolean
/** @enum {string} */
- visibility: 'user' | 'project' | 'org' | 'public'
- content?: Record<string, never>
- owner_id?: number
- project_id: number
+ privilege_type:
+ | 'ALL'
+ | 'SELECT'
+ | 'INSERT'
+ | 'UPDATE'
+ | 'DELETE'
+ | 'TRUNCATE'
+ | 'REFERENCES'
+ | 'TRIGGER'
+ relation_id: number
}
- UpsertContentBodyV2: {
- id?: string
- name: string
- description?: string
- /** @enum {string} */
- type: 'sql' | 'report' | 'log_sql'
- /** @enum {string} */
- visibility: 'user' | 'project' | 'org' | 'public'
- content?: Record<string, never>
- owner_id?: number
- project_id: number
- folder_id?: string
+ HCaptchaBody: {
+ hcaptchaToken: string
}
- BulkDeleteUserContentResponse: {
- id: string
+ HealthResponse: {
+ healthy: boolean
}
- UserContentFolder: {
+ IdentifyUserBody: {
+ auth0_id?: string
+ first_name?: string
+ free_project_limit?: number
+ gotrue_id: string
+ id: number
+ is_alpha_user?: boolean
+ last_name?: string
+ mobile?: string
+ primary_email: string
+ username?: string
+ }
+ IntegrationConnectionVercel: {
+ foreign_project_id: string
+ metadata: Record<string, never>
+ supabase_project_ref: string
+ }
+ IntegrationVercelProject: {
+ framework?: string | null
id: string
+ link?: components['schemas']['VercelProjectLink']
name: string
- project_id: number
+ }
+ Invitation: {
+ id: number
+ invited_at: string
+ invited_email: string
+ role_id: number
+ }
+ InvitationByTokenResponse: {
+ authorized_user: boolean
+ email_match: boolean
+ expired_token: boolean
+ invite_id?: number
+ organization_name: string
+ token_does_not_exist: boolean
+ }
+ InvitationResponse: {
+ invitations: components['schemas']['Invitation'][]
+ }
+ Invite: {
+ invited_at: string
+ invited_email: string
+ invited_id: number
+ role_id: number
+ }
+ InviteResponse: {
+ authorized_user: boolean
+ email_match: boolean
+ expired_token: boolean
+ invite_id: string
+ organization_name: string
+ sso_mismatch: boolean
+ token_does_not_exist: boolean
+ }
+ InviteUserBody: {
+ invited_email: string
owner_id: number
- parent_id?: string | null
+ role_id: number
}
- UserContentObjectMeta: {
+ Invoice: {
id: string
- inserted_at: string
- updated_at: string
- /** @enum {string} */
- type: 'sql' | 'report' | 'log_sql'
- /** @enum {string} */
- visibility: 'user' | 'project' | 'org' | 'public'
+ invoice_pdf: string
+ number: string
+ period_end: number
+ status: string
+ subscription: string | null
+ subtotal: number
+ }
+ JoinResponse: {
+ billing_email: string
+ id: number
name: string
- description?: string
- project_id: number
- owner_id: number
- last_updated_by?: number
- folder_id?: string
+ slug: string
+ stripe_customer_id: string
}
- GetUserContentFolderResponse: {
- data: {
- folders?: components['schemas']['UserContentFolder'][]
- contents?: components['schemas']['UserContentObjectMeta'][]
+ JwtSecretUpdateStatus: {
+ jwtSecretUpdateStatus: {
+ change_tracking_id?: string
+ /** @enum {number} */
+ error?: 0 | 1 | 2 | 3 | 4 | 5
+ /** @enum {number} */
+ progress?: 0 | 1 | 2 | 3 | 4 | 5
+ /** @enum {number} */
+ status?: 0 | 1 | 2
}
}
- CreateContentFolderBody: {
- name: string
- parent_id?: string
+ LFAccessToken: {
+ description: string | null
+ id: number
+ inserted_at: string
+ scopes: string
+ token: string
}
- CreateUserContentFolderResponse: {
- id: string
+ LFEndpoint: {
+ cache_duration_seconds: number
+ description: string
+ enable_auth: number
+ id: number
+ language: Record<string, never>
+ max_limit: number
name: string
- project_id: number
- owner_id: number
- parent_id?: string | null
+ proactive_requerying_seconds: number
+ query: string
+ sandboxable: boolean | null
+ token: string
}
- UpdateContentFolderBody: {
+ LFSource: {
+ bigquery_table_ttl: number
+ custom_event_message_keys: string | null
+ favourite: boolean
+ id: number
name: string
+ public_token: string | null
+ slack_hook_url: string | null
+ token: string
+ webhook_notification_url: string | null
}
- DatabaseDetailResponse: {
- /** @enum {string} */
- status:
- | 'ACTIVE_HEALTHY'
- | 'ACTIVE_UNHEALTHY'
- | 'COMING_UP'
- | 'GOING_DOWN'
- | 'INIT_FAILED'
- | 'REMOVED'
- | 'RESTORING'
- | 'UNKNOWN'
- | 'UPGRADING'
- | 'INIT_READ_REPLICA'
- | 'INIT_READ_REPLICA_FAILED'
- /** @enum {string} */
- cloud_provider: 'AWS' | 'FLY'
- db_port: number
- db_name: string
- db_user: string
- restUrl: string
- db_host: string
- connectionString: string
- identifier: string
- inserted_at: string
- size: string
- region: string
+ LFUser: {
+ bigquery_dataset_id: string | null
+ bigquery_dataset_location: string | null
+ bigquery_project_id: string | null
+ company: string | null
+ email: string | null
+ email_me_product: string | null
+ metadata: {
+ project_ref?: string
+ }
+ phone: string | null
+ token: string
}
- DatabaseStatusResponse: {
- /** @enum {string} */
- status:
- | 'ACTIVE_HEALTHY'
- | 'ACTIVE_UNHEALTHY'
- | 'COMING_UP'
- | 'GOING_DOWN'
- | 'INIT_FAILED'
- | 'REMOVED'
- | 'RESTORING'
- | 'UNKNOWN'
- | 'UPGRADING'
- | 'INIT_READ_REPLICA'
- | 'INIT_READ_REPLICA_FAILED'
- identifier: string
- replicaInitializationStatus?: Record<string, never>
+ ListGitHubConnectionsConnection: {
+ branch_limit: number
+ id: number
+ inserted_at: string
+ installation_id: number
+ project: components['schemas']['ListGitHubConnectionsProject']
+ repository: components['schemas']['ListGitHubConnectionsRepository']
+ supabase_changes_only: boolean
+ updated_at: string
+ user: components['schemas']['ListGitHubConnectionsUser'] | null
+ workdir: string
}
- UpdatePasswordBody: {
- password: string
+ ListGitHubConnectionsProject: {
+ id: number
+ name: string
+ ref: string
+ }
+ ListGitHubConnectionsRepository: {
+ id: number
+ name: string
+ }
+ ListGitHubConnectionsResponse: {
+ connections: components['schemas']['ListGitHubConnectionsConnection'][]
+ }
+ ListGitHubConnectionsUser: {
+ id: number
+ primary_email: string | null
+ username: string
+ }
+ ListProvidersResponse: {
+ items: components['schemas']['Provider'][]
}
LoadBalancerDatabase: {
identifier: string
+ status: string
/** @enum {string} */
type: 'PRIMARY' | 'READ_REPLICA'
- status: string
}
LoadBalancerDetailResponse: {
- endpoint: string
databases: components['schemas']['LoadBalancerDatabase'][]
+ endpoint: string
}
- Buffer: Record<string, never>
- PauseStatusResponse: {
- max_days_till_restore_disabled: number
- remaining_days_till_restore_disabled: number | null
- can_restore: boolean
- latest_downloadable_backup_id: number | null
+ MarkDefaultPaymentMethodBody: {
+ payment_method_id: string
}
- ResizeBody: {
- volume_size_gb: number
+ Member: {
+ gotrue_id: string
+ mfa_enabled: boolean
+ primary_email: string | null
+ role_ids: number[]
+ username: string
}
- RestartProjectInfo: {
- database_identifier?: string
+ MemberExceedingFreeProjectLimit: {
+ limit: number
+ name: string
}
- ProjectLintMetadata: {
- /** @enum {string} */
- type?: 'table' | 'view' | 'auth' | 'function' | 'extension'
- schema?: string
- name?: string
- entity?: string
- fkey_name?: string
- fkey_columns?: number[]
+ MemberWithFreeProjectLimit: {
+ free_project_limit: number
+ primary_email: string
+ username: string
}
- ProjectLintResponse: {
+ MoveObjectBody: {
+ from: string
+ to: string
+ }
+ NetworkBanResponse: {
+ banned_ipv4_addresses: string[]
+ }
+ NetworkRestrictionsRequest: {
+ dbAllowedCidrs?: string[]
+ dbAllowedCidrsV6?: string[]
+ }
+ NetworkRestrictionsResponse: {
+ config: components['schemas']['NetworkRestrictionsRequest']
/** @enum {string} */
- name:
- | 'unindexed_foreign_keys'
- | 'auth_users_exposed'
- | 'auth_rls_initplan'
- | 'no_primary_key'
- | 'unused_index'
- | 'multiple_permissive_policies'
- | 'policy_exists_rls_disabled'
- | 'rls_enabled_no_policy'
- | 'duplicate_index'
- | 'security_definer_view'
- | 'function_search_path_mutable'
- | 'rls_disabled_in_public'
- | 'extension_in_public'
- | 'rls_references_user_metadata'
- | 'materialized_view_in_api'
- | 'foreign_table_in_api'
- | 'auth_otp_long_expiry'
- | 'auth_otp_short_length'
+ entitlement: 'disallowed' | 'allowed'
+ old_config?: components['schemas']['NetworkRestrictionsRequest']
/** @enum {string} */
- level: 'ERROR' | 'WARN' | 'INFO'
- categories: ('PERFORMANCE' | 'SECURITY')[]
+ status: 'stored' | 'applied'
+ }
+ NotificationAction: {
+ action_type?: string
+ label: string
+ url?: string
+ }
+ NotificationData: {
+ actions?: components['schemas']['NotificationAction'][]
+ message?: string
+ org_slug?: string
+ project_ref?: string
title: string
- facing: string
- description: string
- detail: string
- remediation: Record<string, never>
- metadata: components['schemas']['ProjectLintMetadata'] | null
- cache_key: string
}
- ServiceVersions: {
- gotrue: string
- postgrest: string
- 'supabase-postgres': string
+ NotificationResponseV1: {
+ data: Record<string, never>
+ id: string
+ inserted_at: string
+ meta: Record<string, never>
+ notification_name: string
+ notification_status: string
+ project_id: number
}
- ProjectDetailResponse: {
- infra_compute_size?: components['schemas']['DbInstanceSize']
- cloud_provider: string
- db_host: string
- id: number
+ NotificationResponseV2: {
+ data: components['schemas']['NotificationData']
+ id: string
inserted_at: string
+ meta: Record<string, never>
name: string
- organization_id: number
- ref: string
- region: string
/** @enum {string} */
+ priority: 'Critical' | 'Warning' | 'Info'
+ /** @enum {string} */
+ status: 'new' | 'seen' | 'archived'
+ }
+ NotificationsSummary: {
+ has_critical: boolean
+ has_warning: boolean
+ unread_count: number
+ }
+ OAuthTokenBody: {
+ client_id: string
+ client_secret: string
+ code?: string
+ code_verifier?: string
+ /** @enum {string} */
+ grant_type: 'authorization_code' | 'refresh_token'
+ redirect_uri?: string
+ refresh_token?: string
+ }
+ OAuthTokenResponse: {
+ access_token: string
+ expires_in: number
+ refresh_token: string
+ /** @enum {string} */
+ token_type: 'Bearer'
+ }
+ OrganizationExtensionStatus: {
+ /** @description Supabase project instance compute size */
+ compute: string
+ /** @description Unique ID representing the fly extension */
+ id: string
+ /**
+ * @description Supabase project status
+ * @example ACTIVE_HEALTHY
+ * @enum {string}
+ */
status:
| 'ACTIVE_HEALTHY'
| 'ACTIVE_UNHEALTHY'
@@ -3897,260 +3621,249 @@ export interface components {
| 'RESTORING'
| 'RESTORE_FAILED'
| 'PAUSE_FAILED'
- subscription_id: string
- connectionString: string
- kpsVersion?: string
- dbVersion?: string
- restUrl: string
- serviceVersions?: components['schemas']['ServiceVersions']
- volumeSizeGb?: number
- maxDatabasePreprovisionGb?: number
- lastDatabaseResizeAt?: string
- is_branch_enabled: boolean
- parent_project_ref?: string
- is_physical_backups_enabled: boolean
- v2MaintenanceWindow: {
- start?: string
- end?: string
- }
+ /**
+ * @description Supabase organization id
+ * @example fly_123456789
+ */
+ supabase_org_id: string
}
- ProjectRefResponse: {
+ OrganizationResponse: {
+ billing_email: string | null
id: number
- ref: string
+ is_owner: boolean
name: string
+ opt_in_tags: string[]
+ restriction_data: Record<string, never>
+ /** @enum {string|null} */
+ restriction_status: 'grace_period' | 'grace_period_over' | 'restricted' | null
+ slug: string
+ stripe_customer_id: string | null
+ subscription_id: string | null
}
- UpdateProjectBody: {
+ OrganizationResponseV1: {
+ id: string
name: string
}
- BackupId: {
- id: number
- }
- RestoreProjectInfo: {
+ OrganizationRole: {
+ description: string
id: number
- status: string
- organization_id: number
- subscription_id: string
- region: string
- cloud_provider: string
- back_ups: components['schemas']['BackupId'][]
- }
- RestartServiceRequest: {
- services: (
- | 'adminapi'
- | 'api-gateway'
- | 'envoy'
- | 'functions'
- | 'gotrue'
- | 'kong'
- | 'pgbouncer'
- | 'pgsodium'
- | 'postgresql'
- | 'postgrest'
- | 'realtime'
- | 'storage'
- | 'walg'
- | 'autoshutdown'
- )[]
- source_notification_id?: string
- region: string
- database_identifier?: string
- }
- RestartServicesBody: {
- restartRequest: components['schemas']['RestartServiceRequest']
+ name: string
}
- ProjectAppConfigResponse: {
- db_schema: string
- endpoint: string
+ OrganizationRoleResponseV2: {
+ org_scoped_roles: components['schemas']['OrganizationRoleV2'][]
+ project_scoped_roles: components['schemas']['OrganizationRoleV2'][]
}
- ProjectServiceApiKeyResponse: {
- api_key: string
+ OrganizationRoleV2: {
+ base_role_id: number
+ description: string
+ id: number
name: string
- tags: string
+ project_ids: number[]
}
- ProjectSettingsResponse: {
+ OrganizationSlugResponse: {
+ billing_email?: string
+ id: number
name: string
- ref: string
- status: string
- inserted_at: string
- db_dns_name: string
- db_host: string
- db_name: string
- db_user: string
- db_port: string
- ssl_enforced: boolean
- cloud_provider: string
- region: string
- app_config?: components['schemas']['ProjectAppConfigResponse']
- jwt_secret?: string
- service_api_keys?: components['schemas']['ProjectServiceApiKeyResponse'][]
- /** @enum {string|null} */
- db_ip_addr_config: 'legacy' | 'static-ipv4' | 'concurrent-ipv6' | 'ipv6' | null
+ opt_in_tags: string[]
+ slug: string
+ stripe_customer_id?: string
}
- TransferProjectBody: {
- target_organization_slug: string
+ OrgDocumentUrlResponse: {
+ fileUrl: string
}
- PreviewTransferInfo: {
- key: string
- message: string
+ OrgMetricUsage: {
+ available_in_plan: boolean
+ capped: boolean
+ cost: number
+ /** @enum {string} */
+ metric:
+ | 'EGRESS'
+ | 'DATABASE_SIZE'
+ | 'STORAGE_SIZE'
+ | 'MONTHLY_ACTIVE_USERS'
+ | 'MONTHLY_ACTIVE_SSO_USERS'
+ | 'FUNCTION_INVOCATIONS'
+ | 'FUNCTION_COUNT'
+ | 'STORAGE_IMAGES_TRANSFORMED'
+ | 'REALTIME_MESSAGE_COUNT'
+ | 'REALTIME_PEAK_CONNECTIONS'
+ | 'COMPUTE_HOURS_BRANCH'
+ | 'COMPUTE_HOURS_XS'
+ | 'COMPUTE_HOURS_SM'
+ | 'COMPUTE_HOURS_MD'
+ | 'COMPUTE_HOURS_L'
+ | 'COMPUTE_HOURS_XL'
+ | 'COMPUTE_HOURS_2XL'
+ | 'COMPUTE_HOURS_4XL'
+ | 'COMPUTE_HOURS_8XL'
+ | 'COMPUTE_HOURS_12XL'
+ | 'COMPUTE_HOURS_16XL'
+ | 'CUSTOM_DOMAIN'
+ | 'PITR_7'
+ | 'PITR_14'
+ | 'PITR_28'
+ | 'IPV4'
+ pricing_free_units?: number
+ pricing_package_price?: number
+ pricing_package_size?: number
+ pricing_per_unit_price?: number
+ /** @enum {string} */
+ pricing_strategy: 'UNIT' | 'PACKAGE' | 'NONE'
+ project_allocations: components['schemas']['ProjectAllocation'][]
+ unit_price_desc: string
+ unlimited: boolean
+ usage: number
+ usage_original: number
}
- MemberExceedingFreeProjectLimit: {
- name: string
- limit: number
+ OrgUsageResponse: {
+ slugs: string[]
+ usage_billing_enabled: boolean
+ usages: components['schemas']['OrgMetricUsage'][]
}
- PreviewProjectTransferResponse: {
- source_subscription_plan: components['schemas']['BillingPlanId']
- target_subscription_plan: components['schemas']['BillingPlanId']
- valid: boolean
- warnings: components['schemas']['PreviewTransferInfo'][]
- errors: components['schemas']['PreviewTransferInfo'][]
- members_exceeding_free_project_limit: components['schemas']['MemberExceedingFreeProjectLimit'][]
- has_permissions_on_source_organization: boolean
- has_access_to_target_organization: boolean
- source_project_eligible: boolean
- target_organization_eligible: boolean | null
- target_organization_has_free_project_slots: boolean | null
+ OverdueInvoiceCount: {
+ organization_id: number
+ overdue_invoice_count: number
}
- AnalyticsResponse: {
- error?: OneOf<
- [
- {
- code?: number
- errors?: {
- domain?: string
- location?: string
- locationType?: string
- message?: string
- reason?: string
- }[]
- message?: string
- status?: string
- },
- string,
- ]
- >
- result?: Record<string, never>[]
+ PageBody: {
+ location: string
+ path: string
+ referrer?: string
+ title?: string
}
- LFUser: {
- token: string
- email: string | null
- bigquery_project_id: string | null
- bigquery_dataset_location: string | null
- bigquery_dataset_id: string | null
- email_me_product: string | null
- phone: string | null
- company: string | null
- metadata: {
- project_ref?: string
- }
+ PasswordCheckBody: {
+ password: string
}
- LFSource: {
- token: string
- id: number
- name: string
- favourite: boolean
- webhook_notification_url: string | null
- slack_hook_url: string | null
- bigquery_table_ttl: number
- public_token: string | null
- custom_event_message_keys: string | null
+ PasswordCheckResponse: {
+ result: {
+ feedback?: {
+ suggestions?: string[]
+ warning?: string
+ }
+ score?: number
+ }
}
- LFAccessToken: {
- token: string
- id: number
- inserted_at: string
- scopes: string
- description: string | null
+ PauseStatusResponse: {
+ can_restore: boolean
+ latest_downloadable_backup_id: number | null
+ max_days_till_restore_disabled: number
+ remaining_days_till_restore_disabled: number | null
}
- LFEndpoint: {
- token: string
- id: number
- name: string
- description: string
- query: string
- language: Record<string, never>
- sandboxable: boolean | null
- cache_duration_seconds: number
- proactive_requerying_seconds: number
- max_limit: number
- enable_auth: number
+ Payment: {
+ card?: components['schemas']['PaymentMethodCard']
+ created: number
+ id: string
+ is_default: boolean
+ type: string
}
- AvailableAddonResponse: {
- type: components['schemas']['ProjectAddonType']
- name: string
- variants: components['schemas']['ProjectAddonVariantResponse'][]
+ PaymentMethodCard: {
+ brand: string
+ exp_month: number
+ exp_year: number
+ last4: string
}
- ProjectAddonsResponse: {
- ref: string
- selected_addons: components['schemas']['SelectedAddonResponse'][]
- available_addons: components['schemas']['AvailableAddonResponse'][]
+ PaymentsResponse: {
+ data: components['schemas']['Payment'][]
+ defaultPaymentMethodId: string | null
}
- UpdateAddonBody: {
- addon_variant: components['schemas']['AddonVariantId']
- addon_type: components['schemas']['ProjectAddonType']
+ Permission: {
+ actions: (
+ | 'analytics:Read'
+ | 'auth:Execute'
+ | 'billing:Read'
+ | 'billing:Write'
+ | 'write:Create'
+ | 'write:Delete'
+ | 'functions:Read'
+ | 'functions:Write'
+ | 'infra:Execute'
+ | 'read:Read'
+ | 'sql:Read:Select'
+ | 'sql:Write:Delete'
+ | 'sql:Write:Insert'
+ | 'sql:Write:Update'
+ | 'storage:Admin:Read'
+ | 'storage:Admin:Write'
+ | 'tenant:Sql:Admin:Read'
+ | 'tenant:Sql:Admin:Write'
+ | 'tenant:Sql:CreateTable'
+ | 'tenant:Sql:Write:Delete'
+ | 'tenant:Sql:Write:Insert'
+ | 'tenant:Sql:Query'
+ | 'tenant:Sql:Read:Select'
+ | 'tenant:Sql:Write:Update'
+ | 'write:Update'
+ )[]
+ condition: unknown
+ organization_id: number
+ resources: string[]
}
PgbouncerConfigResponse: {
+ connectionString: string
+ db_dns_name: string
+ db_host: string
+ db_name: string
+ db_port: number
+ db_user: string
default_pool_size?: number
ignore_startup_parameters?: string
+ inserted_at: string
max_client_conn?: number
+ pgbouncer_enabled: boolean
+ /** @enum {string} */
+ pgbouncer_status: 'COMING_DOWN' | 'COMING_UP' | 'DISABLED' | 'ENABLED' | 'RELOADING'
/** @enum {string} */
pool_mode?: 'transaction' | 'session' | 'statement'
- inserted_at: string
- db_dns_name: string
- db_user: string
- db_host: string
- db_port: number
- db_name: string
ssl_enforced: boolean
- pgbouncer_enabled: boolean
supavisor_enabled: boolean
- /** @enum {string} */
- pgbouncer_status: 'COMING_DOWN' | 'COMING_UP' | 'DISABLED' | 'ENABLED' | 'RELOADING'
- connectionString: string
}
PgbouncerStatusResponse: {
active: boolean
}
- UpdatePgbouncerConfigBody: {
- default_pool_size?: number
- max_client_conn?: number | null
- ignore_startup_parameters: string
- pgbouncer_enabled: boolean
- /** @enum {string} */
- pool_mode: 'transaction' | 'session' | 'statement'
+ PgsodiumConfigResponse: {
+ root_key: string
}
- UpdatePoolingConfigResponse: {
- default_pool_size?: number
- max_client_conn?: number | null
- ignore_startup_parameters: string
- pgbouncer_enabled: boolean
- /** @enum {string} */
- pool_mode: 'transaction' | 'session' | 'statement'
- /** @enum {string} */
- pgbouncer_status: 'COMING_DOWN' | 'COMING_UP' | 'DISABLED' | 'ENABLED' | 'RELOADING'
+ PlanResponse: {
+ change_type: components['schemas']['BillingPlanChangeType']
+ effective_at: components['schemas']['BillingPlanEffectiveAt']
+ id: components['schemas']['BillingPlanId']
+ is_current: boolean
+ name: string
+ price: number
}
- PostgrestConfigResponse: {
- db_schema: string
- db_anon_role: string
- role_claim_key: string
- jwt_secret: string
- max_rows: number
- db_extra_search_path: string
+ PlansResponse: {
+ plans: components['schemas']['PlanResponse'][]
}
- UpdatePostgrestConfigBody: {
- max_rows?: number
- db_pool?: number
- db_extra_search_path?: string
- db_schema?: string
+ PointInTimeRestoreBody: {
+ recovery_time_target_unix: number
}
- V1PostgrestConfigResponse: {
- max_rows: number
- /** @description If `null`, the value is automatically configured based on compute size. */
- db_pool: number | null
- db_schema: string
- db_extra_search_path: string
+ PostgresColumn: {
+ check: string | null
+ comment: string | null
+ data_type: string
+ default_value: Record<string, never>
+ enums: string[]
+ format: string
+ id: string
+ identity_generation: Record<string, never>
+ is_generated: boolean
+ is_identity: boolean
+ is_nullable: boolean
+ is_unique: boolean
+ is_updatable: boolean
+ name: string
+ ordinal_position: number
+ schema: string
+ table: string
+ table_id: number
+ }
+ PostgresColumnPrivileges: {
+ column_id: string
+ column_name: string
+ privileges: components['schemas']['ColumnPrivilege'][]
+ relation_name: string
+ relation_schema: string
}
PostgresConfigResponse: {
- statement_timeout?: string
effective_cache_size?: string
maintenance_work_mem?: string
max_connections?: number
@@ -4161,609 +3874,846 @@ export interface components {
max_standby_archive_delay?: string
max_standby_streaming_delay?: string
max_worker_processes?: number
- shared_buffers?: string
- work_mem?: string
/** @enum {string} */
session_replication_role?: 'origin' | 'replica' | 'local'
- }
- UpdatePostgresConfigBody: {
- statement_timeout?: string
- effective_cache_size?: string
- maintenance_work_mem?: string
- max_connections?: number
- max_locks_per_transaction?: number
- max_parallel_maintenance_workers?: number
- max_parallel_workers?: number
- max_parallel_workers_per_gather?: number
- max_standby_archive_delay?: string
- max_standby_streaming_delay?: string
- max_worker_processes?: number
shared_buffers?: string
+ statement_timeout?: string
work_mem?: string
- /** @enum {string} */
- session_replication_role?: 'origin' | 'replica' | 'local'
- }
- UpdateSecretsConfigBody: {
- jwt_secret: string
- change_tracking_id: string
}
- UpdateSecretsResponse: {
- message: string
- }
- StorageConfigResponse: {
- isFreeTier: boolean
- fileSizeLimit: number
- }
- UpdateStorageConfigBody: {
- fileSizeLimit: number
- }
- UpdateStorageConfigResponse: {
- fileSizeLimit: number
- }
- SupavisorConfigResponse: {
- identifier: string
- /** @enum {string} */
- database_type: 'PRIMARY' | 'READ_REPLICA'
- is_using_scram_auth: boolean
- db_user: string
- db_host: string
- db_port: number
- db_name: string
- connectionString: string
- default_pool_size: number | null
- max_client_conn: number | null
- /** @enum {string} */
- pool_mode: 'transaction' | 'session'
+ PostgresExtension: {
+ comment: string | null
+ default_version: string
+ installed_version: string | null
+ name: string
+ schema: string | null
}
- UpdateSupavisorConfigBody: {
- default_pool_size?: number | null
- /**
- * @deprecated
- * @description This field is deprecated and is ignored in this request
- * @enum {string}
- */
- pool_mode?: 'transaction' | 'session'
+ PostgresForeignTable: {
+ columns?: components['schemas']['PostgresColumn'][]
+ comment: string | null
+ id: number
+ name: string
+ schema: string
}
- UpdateSupavisorConfigResponse: {
- default_pool_size: number | null
+ PostgresFunction: {
+ argument_types: string
/** @enum {string} */
- pool_mode: 'transaction' | 'session'
- }
- ServiceApiKey: {
- api_key_encrypted?: string
- tags: string
+ behavior: 'VOLATILE' | 'STABLE' | 'IMMUTABLE'
+ complete_statement: string
+ config_params: unknown
+ definition: string
+ id: number
+ identity_argument_types: string
+ language: string
name: string
+ return_type: string
+ schema: string
+ security_definer: boolean
}
- AutoApiService: {
- protocol: string
- endpoint: string
- restUrl: string
- project: {
- ref?: string
- }
- defaultApiKey: string
- serviceApiKey: string
+ PostgresMaterializedView: {
+ columns?: components['schemas']['PostgresColumn'][]
+ comment: string | null
id: number
+ is_populated: boolean
name: string
- app_config: Record<string, never>
- app: {
- id?: number
- name?: string
- }
- service_api_keys: components['schemas']['ServiceApiKey'][]
- }
- ApiResponse: {
- autoApiService: components['schemas']['AutoApiService']
- }
- JwtSecretUpdateStatus: {
- jwtSecretUpdateStatus: {
- change_tracking_id?: string
- /** @enum {number} */
- error?: 0 | 1 | 2 | 3 | 4 | 5
- /** @enum {number} */
- progress?: 0 | 1 | 2 | 3 | 4 | 5
- /** @enum {number} */
- status?: 0 | 1 | 2
- }
+ schema: string
}
- ServiceApiKeyResponse: {
- api_key_encrypted?: string
- tags: string
+ PostgresPolicy: {
+ /** @enum {string} */
+ action: 'PERMISSIVE' | 'RESTRICTIVE'
+ check: string | null
+ /** @enum {string} */
+ command: 'SELECT' | 'INSERT' | 'UPDATE' | 'DELETE' | 'ALL'
+ definition: string | null
+ id: number
name: string
- api_key?: string
+ roles: string[]
+ schema: string
+ table: string
+ table_id: number
}
- ServiceResponse: {
- service_api_keys: components['schemas']['ServiceApiKeyResponse'][]
+ PostgresPublication: {
id: number
name: string
- app_config: Record<string, never>
- app: {
- id?: number
- name?: string
- }
+ owner: string
+ publish_delete: boolean
+ publish_insert: boolean
+ publish_truncate: boolean
+ publish_update: boolean
+ tables: components['schemas']['Table'][] | null
}
- ProjectResponse: {
- jwt_secret: string
- services?: components['schemas']['ServiceResponse'][]
+ PostgresRole: {
+ active_connections: number
+ can_bypass_rls: boolean
+ can_create_db: boolean
+ can_create_role: boolean
+ can_login: boolean
+ config: string[] | null
+ connection_limit: number
id: number
+ inherit_role: boolean
+ is_replication_role: boolean
+ is_superuser: boolean
name: string
- ref: string
- status: string
- inserted_at: string
- db_dns_name: string
- db_host: string
- db_name: string
- db_user: string
- db_port: string
- ssl_enforced: boolean
- cloud_provider: string
- region: string
- }
- SettingsResponse: {
- project: components['schemas']['ProjectResponse']
- services: components['schemas']['ServiceResponse'][]
+ password: string
+ valid_until: string | null
}
- StorageBucket: {
- id: string
+ PostgresSchema: {
+ id: number
name: string
owner: string
- created_at: string
- updated_at: string
- public: boolean
- }
- UpdateStorageBucketBody: {
- public: boolean
- file_size_limit: number
- allowed_mime_types: string[]
- }
- CreateStorageBucketBody: {
- id: string
- public: boolean
- file_size_limit: number
- allowed_mime_types: string[]
}
- StorageObjectSortBy: {
- column?: string
- order?: string
+ PostgresTable: {
+ bytes: number
+ columns?: components['schemas']['PostgresColumn'][]
+ comment: string | null
+ dead_rows_estimate: number
+ id: number
+ live_rows_estimate: number
+ name: string
+ primary_keys: components['schemas']['PrimaryKey'][]
+ relationships: components['schemas']['Relationship'][]
+ /** @enum {string} */
+ replica_identity: 'DEFAULT' | 'INDEX' | 'FULL' | 'NOTHING'
+ rls_enabled: boolean
+ rls_forced: boolean
+ schema: string
+ size: string
}
- StorageObjectSearchOptions: {
- limit?: number
- offset?: number
- sortBy?: components['schemas']['StorageObjectSortBy']
- search?: string
+ PostgresTablePrivileges: {
+ kind: string
+ name: string
+ privileges: components['schemas']['TablePrivilege'][]
+ schema: string
}
- GetObjectsBody: {
- path: string
- options: components['schemas']['StorageObjectSearchOptions']
+ PostgrestConfigResponse: {
+ db_anon_role: string
+ db_extra_search_path: string
+ db_schema: string
+ jwt_secret: string
+ max_rows: number
+ role_claim_key: string
}
- StorageObject: {
- name: string
- bucket_id: string
- owner: string
- id: string
- updated_at: string
- created_at: string
- last_accessed_at: string
- metadata: Record<string, never>
- buckets: components['schemas']['StorageBucket']
+ PostgrestConfigWithJWTSecretResponse: {
+ db_extra_search_path: string
+ /** @description If `null`, the value is automatically configured based on compute size. */
+ db_pool: number | null
+ db_schema: string
+ jwt_secret?: string
+ max_rows: number
}
- StorageObjectTransformOptions: {
- width?: number
- height?: number
+ PostgresTrigger: {
/** @enum {string} */
- resize?: 'cover' | 'contain' | 'fill'
- quality?: number
+ activation: 'AFTER' | 'BEFORE'
+ condition: string | null
/** @enum {string} */
- format?: 'origin'
- }
- PublicUrlOptions: {
- transform?: components['schemas']['StorageObjectTransformOptions']
- download?: boolean
- downloadName?: string
- }
- GetPublicUrlBody: {
- path: string
- options?: components['schemas']['PublicUrlOptions']
+ enabled_mode: 'ORIGIN' | 'REPLICA' | 'ALWAYS' | 'DISABLED'
+ events: string[]
+ function_args: string[]
+ function_name: string
+ function_schema: string
+ id: number
+ name: string
+ /** @enum {string} */
+ orientation: 'ROW' | 'STATEMENT'
+ schema: string
+ table: string
+ table_id: number
}
- PublicUrlResponse: {
- publicUrl: string
+ PostgresType: {
+ comment: string | null
+ enums: string[]
+ format: string
+ id: number
+ name: string
+ schema: string
}
- DownloadObjectOptions: {
- transform?: components['schemas']['StorageObjectTransformOptions']
- download?: boolean
- downloadName?: string
+ PostgresView: {
+ columns?: components['schemas']['PostgresColumn'][]
+ comment: string | null
+ id: number
+ is_updatable: boolean
+ name: string
+ schema: string
}
- DownloadObjectBody: {
- path: string
- options?: components['schemas']['DownloadObjectOptions']
+ PreviewProjectTransferResponse: {
+ errors: components['schemas']['PreviewTransferInfo'][]
+ has_access_to_target_organization: boolean
+ has_permissions_on_source_organization: boolean
+ members_exceeding_free_project_limit: components['schemas']['MemberExceedingFreeProjectLimit'][]
+ source_project_eligible: boolean
+ source_subscription_plan: components['schemas']['BillingPlanId']
+ target_organization_eligible: boolean | null
+ target_organization_has_free_project_slots: boolean | null
+ target_subscription_plan: components['schemas']['BillingPlanId']
+ valid: boolean
+ warnings: components['schemas']['PreviewTransferInfo'][]
}
- SignedUrlOptions: {
- transform?: components['schemas']['StorageObjectTransformOptions']
- download?: boolean
- downloadName?: string
+ PreviewTransferInfo: {
+ key: string
+ message: string
}
- GetSignedUrlBody: {
- path: string
- expiresIn: number
- options?: components['schemas']['SignedUrlOptions']
+ PrimaryKey: {
+ name: string
+ schema: string
+ table_id: number
+ table_name: string
}
- SignedUrlResponse: {
- signedUrl: string
+ Profile: {
+ first_name: string
+ gotrue_id: string
+ id: number
+ last_name: string
+ username: string
}
- SignedUrlsOptions: {
- download?: boolean
- downloadName?: string
+ ProfileResponse: {
+ auth0_id: string
+ disabled_features: (
+ | 'organizations:create'
+ | 'organizations:delete'
+ | 'organization_members:create'
+ | 'organization_members:delete'
+ | 'projects:create'
+ | 'projects:transfer'
+ | 'project_auth:all'
+ | 'project_storage:all'
+ | 'project_edge_function:all'
+ | 'profile:update'
+ | 'billing:account_data'
+ | 'billing:credits'
+ | 'billing:invoices'
+ | 'billing:payment_methods'
+ | 'realtime:all'
+ )[]
+ first_name: string
+ free_project_limit: number
+ gotrue_id: string
+ id: number
+ is_alpha_user: boolean
+ last_name: string
+ mobile: string
+ primary_email: string
+ username: string
}
- GetSignedUrlsBody: {
- path: string[]
- expiresIn: number
- options?: components['schemas']['SignedUrlsOptions']
+ /** @enum {string} */
+ ProjectAddonPricingInterval: 'monthly' | 'hourly'
+ ProjectAddonsResponse: {
+ available_addons: components['schemas']['AvailableAddonResponse'][]
+ ref: string
+ selected_addons: components['schemas']['SelectedAddonResponse'][]
}
- SignedUrlsResponse: {
- signedUrl: string
- error: string | null
- path: string | null
+ /** @enum {string} */
+ ProjectAddonType: 'custom_domain' | 'compute_instance' | 'pitr' | 'ipv4'
+ /** @enum {string} */
+ ProjectAddonVariantPricingType: 'fixed' | 'usage'
+ ProjectAddonVariantResponse: {
+ identifier: components['schemas']['AddonVariantId']
+ meta?: Record<string, never>
+ name: string
+ price: number
+ price_description: string
+ price_interval: components['schemas']['ProjectAddonPricingInterval']
+ price_type: components['schemas']['ProjectAddonVariantPricingType']
}
- CopyObjectBody: {
- from: string
- to: string
+ ProjectAllocation: {
+ name: string
+ ref: string
+ usage: number
}
- CopyObjectResponse: {
- path: string
+ ProjectAppConfigResponse: {
+ db_schema: string
+ endpoint: string
}
- MoveObjectBody: {
- from: string
- to: string
+ ProjectDetailResponse: {
+ cloud_provider: string
+ connectionString: string
+ db_host: string
+ dbVersion?: string
+ id: number
+ infra_compute_size?: components['schemas']['DbInstanceSize']
+ inserted_at: string
+ is_branch_enabled: boolean
+ is_physical_backups_enabled: boolean
+ kpsVersion?: string
+ lastDatabaseResizeAt?: string
+ maxDatabasePreprovisionGb?: number
+ name: string
+ organization_id: number
+ parent_project_ref?: string
+ ref: string
+ region: string
+ restUrl: string
+ serviceVersions?: components['schemas']['ServiceVersions']
+ /** @enum {string} */
+ status:
+ | 'ACTIVE_HEALTHY'
+ | 'ACTIVE_UNHEALTHY'
+ | 'COMING_UP'
+ | 'GOING_DOWN'
+ | 'INACTIVE'
+ | 'INIT_FAILED'
+ | 'REMOVED'
+ | 'RESTARTING'
+ | 'UNKNOWN'
+ | 'UPGRADING'
+ | 'PAUSING'
+ | 'RESTORING'
+ | 'RESTORE_FAILED'
+ | 'PAUSE_FAILED'
+ subscription_id: string
+ v2MaintenanceWindow: {
+ end?: string
+ start?: string
+ }
+ volumeSizeGb?: number
}
- DeleteObjectsBody: {
- paths: string[]
+ ProjectInfo: {
+ cloud_provider: string
+ disk_volume_size_gb?: number
+ id: number
+ infra_compute_size?: components['schemas']['DbInstanceSize']
+ inserted_at: string
+ is_branch_enabled: boolean
+ is_physical_backups_enabled: boolean
+ name: string
+ organization_id: number
+ preview_branch_refs: string[]
+ ref: string
+ region: string
+ status: string
+ subscription_id: string
}
- GetStorageCredential: {
+ ProjectIntegrationConnection: {
+ added_by: {
+ primary_email?: string
+ username?: string
+ }
id: string
- description: string
- created_at: string
- }
- GetStorageCredentialsResponse: {
- data: components['schemas']['GetStorageCredential'][]
+ inserted_at: string
+ organization_integration_id: string
+ supabase_project_ref: string
+ updated_at: string
}
- CreateStorageCredentialBody: {
- description: string
+ ProjectLintMetadata: {
+ entity?: string
+ fkey_columns?: number[]
+ fkey_name?: string
+ name?: string
+ schema?: string
+ /** @enum {string} */
+ type?: 'table' | 'view' | 'auth' | 'function' | 'extension'
}
- CreateStorageCredentialResponse: {
- id: string
- access_key: string
- secret_key: string
+ ProjectLintResponse: {
+ cache_key: string
+ categories: ('PERFORMANCE' | 'SECURITY')[]
description: string
+ detail: string
+ facing: string
+ /** @enum {string} */
+ level: 'ERROR' | 'WARN' | 'INFO'
+ metadata: components['schemas']['ProjectLintMetadata'] | null
+ /** @enum {string} */
+ name:
+ | 'unindexed_foreign_keys'
+ | 'auth_users_exposed'
+ | 'auth_rls_initplan'
+ | 'no_primary_key'
+ | 'unused_index'
+ | 'multiple_permissive_policies'
+ | 'policy_exists_rls_disabled'
+ | 'rls_enabled_no_policy'
+ | 'duplicate_index'
+ | 'security_definer_view'
+ | 'function_search_path_mutable'
+ | 'rls_disabled_in_public'
+ | 'extension_in_public'
+ | 'rls_references_user_metadata'
+ | 'materialized_view_in_api'
+ | 'foreign_table_in_api'
+ | 'auth_otp_long_expiry'
+ | 'auth_otp_short_length'
+ remediation: Record<string, never>
+ title: string
}
- OverdueInvoiceCount: {
- organization_id: number
- overdue_invoice_count: number
- }
- GoogleAnalyticBody: {
- language?: string
- screen_resolution?: string
- session_id: string
- }
- TelemetryEventBody: {
- category: string
- action: string
- label?: Record<string, never>
- value?: string
- page_referrer?: string
- page_title?: string
- page_location?: string
- ga?: components['schemas']['GoogleAnalyticBody']
+ ProjectMetric: {
+ metric: string
+ project_ref: string
+ value: number
}
- IdentifyUserBody: {
+ ProjectRefResponse: {
id: number
- gotrue_id: string
- mobile?: string
- primary_email: string
- username?: string
- first_name?: string
- last_name?: string
- is_alpha_user?: boolean
- free_project_limit?: number
- auth0_id?: string
- }
- TelemetryIdentifyBody: {
- user: components['schemas']['IdentifyUserBody']
- ga?: components['schemas']['GoogleAnalyticBody']
+ name: string
+ ref: string
}
- TelemetryPageBody: {
- referrer: string
- title: string
- route?: string
- ga?: components['schemas']['GoogleAnalyticBody']
+ ProjectResourceWarningsResponse: {
+ /** @enum {string|null} */
+ auth_rate_limit_exhaustion: 'critical' | 'warning' | null
+ /** @enum {string|null} */
+ cpu_exhaustion: 'critical' | 'warning' | null
+ /** @enum {string|null} */
+ disk_io_exhaustion: 'critical' | 'warning' | null
+ /** @enum {string|null} */
+ disk_space_exhaustion: 'critical' | 'warning' | null
+ is_readonly_mode_enabled: boolean
+ /** @enum {string|null} */
+ memory_and_swap_exhaustion: 'critical' | 'warning' | null
+ /** @enum {string|null} */
+ need_pitr: 'critical' | 'warning' | null
+ project: string
}
- PageBody: {
- path: string
- location: string
- referrer?: string
- title?: string
+ ProjectResponse: {
+ cloud_provider: string
+ db_dns_name: string
+ db_host: string
+ db_name: string
+ db_port: string
+ db_user: string
+ id: number
+ inserted_at: string
+ jwt_secret: string
+ name: string
+ ref: string
+ region: string
+ services?: components['schemas']['ServiceResponse'][]
+ ssl_enforced: boolean
+ status: string
}
- TelemetryActivityBody: {
- activity: string
- source: string
- projectRef?: string
- orgSlug?: string
- data?: Record<string, never>
- page: components['schemas']['PageBody']
+ ProjectServiceApiKeyResponse: {
+ api_key: string
+ name: string
+ tags: string
}
- TelemetryPageviewBody: {
- projectRef?: string
- orgSlug?: string
- referrer: string
- title: string
- path: string
- location: string
+ ProjectSettingsResponse: {
+ app_config?: components['schemas']['ProjectAppConfigResponse']
+ cloud_provider: string
+ db_dns_name: string
+ db_host: string
+ /** @enum {string|null} */
+ db_ip_addr_config: 'legacy' | 'static-ipv4' | 'concurrent-ipv6' | 'ipv6' | null
+ db_name: string
+ db_port: string
+ db_user: string
+ inserted_at: string
+ jwt_secret?: string
+ name: string
+ ref: string
+ region: string
+ service_api_keys?: components['schemas']['ProjectServiceApiKeyResponse'][]
+ ssl_enforced: boolean
+ status: string
}
- CreateVercelEnvironmentVariableBody: {
- key: string
- target: string[]
- type: string
- value: string
+ ProjectUpgradeEligibilityResponse: {
+ current_app_version: string
+ duration_estimate_hours: number
+ eligible: boolean
+ extension_dependent_objects: string[]
+ latest_app_version: string
+ legacy_auth_custom_roles: string[]
+ potential_breaking_changes: string[]
+ target_upgrade_versions: components['schemas']['ProjectVersion'][]
}
- GetUserOrganizationIntegrationResponse: {
- id: string
- inserted_at: string
- updated_at: string
- metadata: Record<string, never>
- integration: {
- name?: string
- }
- added_by: {
- username?: string
- primary_email?: string
- }
- organization: {
- slug?: string
- }
+ ProjectUpgradeInitiateResponse: {
+ tracking_id: string
}
- ProjectIntegrationConnection: {
- id: string
- inserted_at: string
- updated_at: string
- organization_integration_id: string
- supabase_project_ref: string
- added_by: {
- username?: string
- primary_email?: string
- }
+ ProjectVersion: {
+ app_version: string
+ postgres_version: number
}
- GetOrganizationIntegrationResponse: {
+ Provider: {
+ created_at?: string
+ domains?: components['schemas']['Domain'][]
id: string
- inserted_at: string
- updated_at: string
- metadata: Record<string, never>
- integration: {
- name?: string
- }
- added_by: {
- username?: string
- primary_email?: string
- }
- organization: {
- slug?: string
- }
- connections: components['schemas']['ProjectIntegrationConnection'][]
+ saml?: components['schemas']['SamlDescriptor']
+ updated_at?: string
}
- CreateVercelIntegrationBody: {
- code: string
- configuration_id: string
- organization_slug: string
- metadata: Record<string, never>
- source: string
- teamId?: string
+ PublicUrlOptions: {
+ download?: boolean
+ downloadName?: string
+ transform?: components['schemas']['StorageObjectTransformOptions']
}
- VercelProjectDeployHooks: {
- createdAt?: number
- id: string
- name: string
- ref: string
- url: string
+ PublicUrlResponse: {
+ publicUrl: string
}
- VercelProjectLink: {
- type?: string
- deployHooks: components['schemas']['VercelProjectDeployHooks'][]
- gitCredentialId?: string
- productionBranch?: string
+ ReadOnlyStatusResponse: {
+ enabled: boolean
+ override_active_until: string
+ override_enabled: boolean
}
- IntegrationVercelProject: {
- id: string
- name: string
- framework?: string | null
- link?: components['schemas']['VercelProjectLink']
+ RealtimeHealthResponse: {
+ connected_cluster: number
+ db_connected: boolean
+ healthy: boolean
}
- GetVercelProjectsResponse: {
- projects: components['schemas']['IntegrationVercelProject'][]
- pagination: {
- count?: number
- next?: number | null
- prev?: number | null
- }
+ Relationship: {
+ constraint_name: string
+ id: number
+ source_column_name: string
+ source_schema: string
+ source_table_name: string
+ target_column_name: string
+ target_table_name: string
+ target_table_schema: string
}
- GetVercelConnections: {
- id: string
- inserted_at: string
- updated_at: string
- organization_integration_id: string
- supabase_project_ref: string
- foreign_project_id: string
- metadata: Record<string, never>
+ RemoveNetworkBanRequest: {
+ ipv4_addresses: string[]
}
- IntegrationConnectionVercel: {
- foreign_project_id: string
- supabase_project_ref: string
- metadata: Record<string, never>
+ RemoveReadReplicaBody: {
+ database_identifier: string
}
- CreateVercelConnectionsBody: {
- organization_integration_id: string
- connection: components['schemas']['IntegrationConnectionVercel']
+ ReportStatusBody: {
+ databaseIdentifier: string
+ reportingToken: string
+ /** @enum {string} */
+ status:
+ | 'ACTIVE_HEALTHY'
+ | 'ACTIVE_UNHEALTHY'
+ | 'COMING_UP'
+ | 'GOING_DOWN'
+ | 'INIT_FAILED'
+ | 'REMOVED'
+ | 'RESTORING'
+ | 'UNKNOWN'
+ | 'UPGRADING'
+ | 'INIT_READ_REPLICA'
+ | 'INIT_READ_REPLICA_FAILED'
}
- SyncVercelEnvError: {
- message: string
+ ResetPasswordBody: {
+ email: string
+ redirectTo?: string
}
- CreateVercelConnectionResponse: {
- id: string
- env_sync_error?: components['schemas']['SyncVercelEnvError']
+ ResizeBody: {
+ volume_size_gb: number
}
- UpdateVercelConnectionsBody: {
- env_sync_targets?: ('production' | 'preview' | 'development')[]
+ ResourceBillingItem: {
+ /**
+ * @description Costs of the item in cents
+ * @example 100
+ */
+ costs: number
+ /**
+ * @description In case of a usage item, the free usage included in the customers plan
+ * @example 100
+ */
+ freeUnitsInPlan?: number
+ /**
+ * @description Non-Unique identifier of the item
+ * @example usage_egress
+ */
+ itemIdentifier: string
+ /**
+ * @description Descriptive name of the billing item
+ * @example Pro Plan
+ */
+ itemName: string
+ /** @enum {string} */
+ type: 'usage' | 'plan' | 'addon' | 'proration' | 'compute_credits'
+ /**
+ * @description In case of a usage item, the billable usage amount, free usage has been deducted
+ * @example 100
+ */
+ usageBillable?: number
+ /**
+ * @description In case of a usage item, the total usage
+ * @example 100
+ */
+ usageTotal?: number
}
- DeleteVercelConnectionResponse: {
+ ResourceBillingResponse: {
+ /** @description Whether the user is exceeding the included quotas in the plan - only relevant for users on usage-capped plans. */
+ exceedsPlanLimits: boolean
+ items: components['schemas']['ResourceBillingItem'][]
+ /** @description Whether the user is can have over-usage, which will be billed - this will be false on usage-capped plans. */
+ overusageAllowed: boolean
+ }
+ ResourceProvisioningConfigResponse: {
+ /**
+ * @description Pooler connection string
+ * @example postgres://postgres.abcdefghijklmnop:[email protected]:6543/postgres
+ */
+ DATABASE_POOLER_URL: string
+ /**
+ * @description PSQL connection string
+ * @example postgresql://postgres:[email protected]:5432/postgres
+ */
+ DATABASE_URL: string
+ }
+ ResourceProvisioningResponse: {
+ /** @description Supabase envs config */
+ config: components['schemas']['ResourceProvisioningConfigResponse']
+ /**
+ * @description The target Fly application for internal traffic
+ * @example ext-db-pgshhamktpsgnptvcadw
+ */
+ fly_app_name: string
+ /**
+ * @description Supabase project id
+ * @example pgshhamktpsgnptvcadw
+ */
+ id: string
+ /** @description Welcome message */
+ message: string
+ /**
+ * @description Supabase organization id
+ * @example fly_123456789
+ */
+ supabase_org_id: string
+ }
+ ResourceWithServicesStatusResponse: {
+ /** @description Supabase project instance compute size */
+ compute: string
+ /** @description Unique ID representing the fly extension */
id: string
+ /** @description Supabase project services health status */
+ services: components['schemas']['ServiceHealthResponse'][]
+ /**
+ * @description Supabase project status
+ * @example ACTIVE_HEALTHY
+ * @enum {string}
+ */
+ status:
+ | 'ACTIVE_HEALTHY'
+ | 'ACTIVE_UNHEALTHY'
+ | 'COMING_UP'
+ | 'GOING_DOWN'
+ | 'INACTIVE'
+ | 'INIT_FAILED'
+ | 'REMOVED'
+ | 'RESTARTING'
+ | 'UNKNOWN'
+ | 'UPGRADING'
+ | 'PAUSING'
+ | 'RESTORING'
+ | 'RESTORE_FAILED'
+ | 'PAUSE_FAILED'
+ /**
+ * @description Supabase organization id
+ * @example fly_123456789
+ */
+ supabase_org_id: string
}
- GitHubAuthorization: {
- id: number
- user_id: number
- sender_id: number
+ RestartProjectInfo: {
+ database_identifier?: string
}
- CreateGitHubAuthorizationBody: {
- code: string
+ RestartServiceRequest: {
+ database_identifier?: string
+ region: string
+ services: (
+ | 'adminapi'
+ | 'api-gateway'
+ | 'envoy'
+ | 'functions'
+ | 'gotrue'
+ | 'kong'
+ | 'pgbouncer'
+ | 'pgsodium'
+ | 'postgresql'
+ | 'postgrest'
+ | 'realtime'
+ | 'storage'
+ | 'walg'
+ | 'autoshutdown'
+ )[]
+ source_notification_id?: string
+ }
+ RestartServicesBody: {
+ restartRequest: components['schemas']['RestartServiceRequest']
}
- ListGitHubConnectionsProject: {
+ RestoreLogicalBackupBody: {
id: number
- ref: string
- name: string
}
- ListGitHubConnectionsRepository: {
+ RestorePhysicalBackupBody: {
id: number
- name: string
+ recovery_time_target: string
}
- ListGitHubConnectionsUser: {
+ RestoreProjectInfo: {
+ back_ups: components['schemas']['BackupId'][]
+ cloud_provider: string
id: number
- username: string
- primary_email: string | null
+ organization_id: number
+ region: string
+ status: string
+ subscription_id: string
}
- ListGitHubConnectionsConnection: {
- id: number
- inserted_at: string
- updated_at: string
- installation_id: number
- project: components['schemas']['ListGitHubConnectionsProject']
- repository: components['schemas']['ListGitHubConnectionsRepository']
- user: components['schemas']['ListGitHubConnectionsUser'] | null
- workdir: string
- supabase_changes_only: boolean
- branch_limit: number
+ RestrictionData: {
+ grace_period_end?: string
+ /** @enum {string} */
+ restrictions?: 'drop_requests_402'
+ violations?: (
+ | 'exceed_db_size_quota'
+ | 'exceed_egress_quota'
+ | 'exceed_edge_functions_count_quota'
+ | 'exceed_edge_functions_invocations_quota'
+ | 'exceed_monthly_active_users_quota'
+ | 'exceed_realtime_connection_count_quota'
+ | 'exceed_realtime_message_count_quota'
+ | 'exceed_storage_size_quota'
+ | 'overdue_payment'
+ )[]
}
- ListGitHubConnectionsResponse: {
- connections: components['schemas']['ListGitHubConnectionsConnection'][]
+ RevokeColumnPrivilegesBody: {
+ column_id: string
+ grantee: string
+ /** @enum {string} */
+ privilege_type: 'ALL' | 'SELECT' | 'INSERT' | 'UPDATE' | 'REFERENCES'
}
- CreateGitHubConnectionsBody: {
- project_ref: string
- installation_id: number
- repository_id: number
+ RevokeTablePrivilegesBody: {
+ grantee: string
+ /** @enum {string} */
+ privilege_type:
+ | 'ALL'
+ | 'SELECT'
+ | 'INSERT'
+ | 'UPDATE'
+ | 'DELETE'
+ | 'TRUNCATE'
+ | 'REFERENCES'
+ | 'TRIGGER'
+ relation_id: number
}
- UpdateGitHubConnectionsBody: {
- workdir?: string
- supabase_changes_only?: boolean
- branch_limit?: number
+ RunQueryBody: {
+ query: string
}
- CreateCliLoginSessionBody: {
- session_id: string
- public_key: string
- token_name?: string
+ SamlDescriptor: {
+ attribute_mapping?: components['schemas']['AttributeMapping']
+ entity_id: string
+ id: string
+ metadata_url?: string
+ metadata_xml?: string
}
- V1UpdateFunctionBody: {
- name?: string
- body?: string
- verify_jwt?: boolean
+ ScheduledPlanChange: {
+ /** Format: date-time */
+ at: string
+ target_plan: components['schemas']['BillingPlanId']
+ usage_billing_enabled: boolean
}
- FunctionResponse: {
- id: string
- slug: string
+ SearchColumnBody: {
name: string
- /** @enum {string} */
- status: 'ACTIVE' | 'REMOVED' | 'THROTTLED'
- version: number
- created_at: number
- updated_at: number
- verify_jwt?: boolean
- import_map?: boolean
- entrypoint_path?: string
- import_map_path?: string
+ schema: string
}
- V1CreateFunctionBody: {
- slug: string
+ SearchProfileBody: {
+ keywords: string
+ }
+ SearchTableBody: {
name: string
- body: string
- verify_jwt?: boolean
+ schema: string
}
SecretResponse: {
name: string
value: string
}
- CreateSecretBody: {
- /**
- * @description Secret name must not start with the SUPABASE_ prefix.
- * @example string
- */
- name: string
- value: string
+ SelectedAddonResponse: {
+ type: components['schemas']['ProjectAddonType']
+ variant: components['schemas']['ProjectAddonVariantResponse']
}
- HealthResponse: {
- healthy: boolean
+ /**
+ * @description Organization subscription plan
+ * @enum {string}
+ */
+ SelfServePlanId: 'free' | 'pro' | 'team'
+ SendDocsFeedbackBody: {
+ feedback?: string
+ isHelpful: boolean
+ page: string
+ team?: string
+ title: string
}
- ReportStatusBody: {
- /** @enum {string} */
- status:
- | 'ACTIVE_HEALTHY'
- | 'ACTIVE_UNHEALTHY'
- | 'COMING_UP'
- | 'GOING_DOWN'
- | 'INIT_FAILED'
- | 'REMOVED'
- | 'RESTORING'
- | 'UNKNOWN'
- | 'UPGRADING'
- | 'INIT_READ_REPLICA'
- | 'INIT_READ_REPLICA_FAILED'
- reportingToken: string
- databaseIdentifier: string
+ SendExitSurveyBody: {
+ additionalFeedback?: string
+ exitAction?: string
+ orgSlug?: string
+ projectRef?: string
+ reasons: string
}
- EventBody: {
- reportingToken: string
- eventType: string
+ SendFeedbackBody: {
+ additionalRedirectUrls?: string
+ affectedServices?: string
+ allowSupportAccess?: boolean
+ browserInformation?: string
+ category: string
+ library?: string
message: string
+ organizationSlug?: string
+ pathname?: string
+ projectRef?: string
+ severity?: string
+ siteUrl?: string
+ subject?: string
+ tags: string[]
+ urlToAirTable?: string
+ verified?: boolean
}
- CredentialsRequestBody: {
- projectToken: string
+ SendFeedbackResponse: {
+ result: string
}
- CredentialsResponseBody: {
- access_key_id: string
- secret_access_key: string
- session_token: string
- /** Format: date-time */
- expiry_time: string
+ SendInviteResponse: {
+ invited_at: string
+ invited_email: string
+ role_id: number
}
- UpdateAddonAdminBody: {
- addon_variant: components['schemas']['AddonVariantId']
- addon_type: components['schemas']['ProjectAddonType']
- /** @enum {string} */
- proration_behaviour?: 'prorate_and_invoice_end_of_cycle' | 'prorate_and_invoice_now'
- price_id?: string
+ SendUpgradeSurveyBody: {
+ additionalFeedback?: string
+ currentPlan?: string
+ orgSlug?: string
+ prevPlan?: string
+ reasons: string[]
}
- SystemCreateProjectBody: {
- /** @description Database password */
- db_pass: string
- /** @description Name of your project, should not contain dots */
+ ServiceApiKey: {
+ api_key_encrypted?: string
name: string
- /** @description Slug of your organization */
- organization_id: string
+ tags: string
+ }
+ ServiceApiKeyResponse: {
+ api_key?: string
+ api_key_encrypted?: string
+ name: string
+ tags: string
+ }
+ ServiceHealthResponse: {
+ /** @description Service health check error */
+ error?: string
+ /** @description Whether the service is healthy */
+ healthy: boolean
/**
- * @description Subscription plan
- * @example free
+ * @description Service name
* @enum {string}
*/
- plan: 'free' | 'pro'
+ name: 'auth' | 'db' | 'pooler' | 'realtime' | 'rest' | 'storage'
+ /**
+ * @description Service health status
+ * @example COMING_UP
+ * @enum {string}
+ */
+ status: 'COMING_UP' | 'ACTIVE_HEALTHY' | 'UNHEALTHY'
+ }
+ ServiceResponse: {
+ app: {
+ id?: number
+ name?: string
+ }
+ app_config: Record<string, never>
+ id: number
+ name: string
+ service_api_keys: components['schemas']['ServiceApiKeyResponse'][]
+ }
+ ServiceVersions: {
+ gotrue: string
+ postgrest: string
+ 'supabase-postgres': string
+ }
+ SettingsResponse: {
+ project: components['schemas']['ProjectResponse']
+ services: components['schemas']['ServiceResponse'][]
+ }
+ SetupIntentResponse: {
+ client_secret: string
+ payment_method: Record<string, never>
+ }
+ SetUpReadReplicaBody: {
/**
- * @description Region you want your server to reside in
+ * @description Region you want your read replica to reside in
* @example us-east-1
* @enum {string}
*/
- region:
+ read_replica_region:
| 'us-east-1'
| 'us-west-1'
| 'us-west-2'
@@ -4779,221 +4729,174 @@ export interface components {
| 'ca-central-1'
| 'ap-south-1'
| 'sa-east-1'
- jwt_secret: string
- anon_key: string
- service_key: string
- api_key_supabase: string
- db_pass_supabase: string
}
- SystemDatabaseResponse: {
- /** @description Database host */
- host: string
- /** @description Database version */
- version: string
+ SignedUrlOptions: {
+ download?: boolean
+ downloadName?: string
+ transform?: components['schemas']['StorageObjectTransformOptions']
}
- SystemProjectResponse: {
- /** @description Id of your project */
- id: string
- /** @description Slug of your organization */
- organization_id: string
- /** @description Name of your project */
- name: string
- /**
- * @description Region of your project
- * @example us-east-1
- */
- region: string
- /**
- * @description Creation timestamp
- * @example 2023-03-29T16:32:59Z
- */
- created_at: string
- database?: components['schemas']['SystemDatabaseResponse']
+ SignedUrlResponse: {
+ signedUrl: string
}
- UpdateSubscriptionV2AdminBody: {
- payment_method?: string
- /** @enum {string} */
- tier: 'tier_payg' | 'tier_pro' | 'tier_free' | 'tier_team' | 'tier_enterprise'
- price_id?: string
- skip_free_plan_validations?: boolean
+ SignedUrlsOptions: {
+ download?: boolean
+ downloadName?: string
}
- RestrictionData: {
- grace_period_end?: string
- /** @enum {string} */
- restrictions?: 'drop_requests_402'
- violations?: (
- | 'exceed_db_size_quota'
- | 'exceed_egress_quota'
- | 'exceed_edge_functions_count_quota'
- | 'exceed_edge_functions_invocations_quota'
- | 'exceed_monthly_active_users_quota'
- | 'exceed_realtime_connection_count_quota'
- | 'exceed_realtime_message_count_quota'
- | 'exceed_storage_size_quota'
- | 'overdue_payment'
- )[]
+ SignedUrlsResponse: {
+ error: string | null
+ path: string | null
+ signedUrl: string
}
- UpdateRestrictionsBody: {
- /** @enum {string} */
- restriction_status: 'grace_period' | 'grace_period_over' | 'null' | 'restricted'
- restriction_data?: components['schemas']['RestrictionData']
- no_notification?: boolean
+ SignUpBody: {
+ email: string
+ password: string
+ redirectTo?: string
}
- UpdateRestrictionsResponse: {
- slug: string
- /** @enum {string} */
- restriction_status?: 'grace_period' | 'grace_period_over' | 'null' | 'restricted'
- restriction_data?: components['schemas']['RestrictionData']
- message?: string
+ SnippetContent: {
+ favorite: boolean
+ schema_version: string
+ sql: string
}
- AwsPartnerBillingBody: {
- aws_customer_id: string
- aws_customer_account_id: string
- aws_product_code: string
- aws_private_offer_id: string
- aws_subscription_start: string
- aws_subscription_end: string
+ SnippetList: {
+ data: components['schemas']['SnippetMeta'][]
}
- CreateAwsPartnerOrganizationBody: {
- primary_email: string
+ SnippetMeta: {
+ description?: string
+ id: string
+ inserted_at: string
name: string
- partner_billing: components['schemas']['AwsPartnerBillingBody']
+ owner: components['schemas']['SnippetUser']
+ project: components['schemas']['SnippetProject']
+ /** @enum {string} */
+ type: 'sql'
+ updated_at: string
+ updated_by: components['schemas']['SnippetUser']
+ /** @enum {string} */
+ visibility: 'user' | 'project' | 'org' | 'public'
}
- AwsPartnerOrganizationResponse: {
+ SnippetProject: {
id: number
- slug: string
name: string
}
- GetMetricsBody: {
+ SnippetResponse: {
+ content: components['schemas']['SnippetContent']
+ description?: string
+ id: string
+ inserted_at: string
+ name: string
+ owner: components['schemas']['SnippetUser']
+ project: components['schemas']['SnippetProject']
/** @enum {string} */
- metric: 'user_queries'
+ type: 'sql'
+ updated_at: string
+ updated_by: components['schemas']['SnippetUser']
/** @enum {string} */
- interval: '1d' | '3d' | '7d'
- project_refs: string[]
- region: string
+ visibility: 'user' | 'project' | 'org' | 'public'
}
- ProjectMetric: {
- project_ref: string
- metric: string
- value: number
+ SnippetUser: {
+ id: number
+ username: string
}
- GetMetricsResponse: {
- metrics: components['schemas']['ProjectMetric'][]
+ SslEnforcementRequest: {
+ requestedConfig: components['schemas']['SslEnforcements']
}
- BranchDetailResponse: {
- db_port: number
- ref: string
- postgres_version: string
- /** @enum {string} */
- status:
- | 'ACTIVE_HEALTHY'
- | 'ACTIVE_UNHEALTHY'
- | 'COMING_UP'
- | 'GOING_DOWN'
- | 'INACTIVE'
- | 'INIT_FAILED'
- | 'REMOVED'
- | 'RESTARTING'
- | 'UNKNOWN'
- | 'UPGRADING'
- | 'PAUSING'
- | 'RESTORING'
- | 'RESTORE_FAILED'
- | 'PAUSE_FAILED'
- db_host: string
- db_user?: string
- db_pass?: string
- jwt_secret?: string
+ SslEnforcementResponse: {
+ appliedSuccessfully: boolean
+ currentConfig: components['schemas']['SslEnforcements']
}
- UpdateBranchBody: {
- branch_name?: string
- git_branch?: string
- reset_on_push?: boolean
- persistent?: boolean
+ SslEnforcements: {
+ database: boolean
}
- BranchResponse: {
+ StorageBucket: {
+ created_at: string
id: string
name: string
- project_ref: string
- parent_project_ref: string
- is_default: boolean
- git_branch?: string
- pr_number?: number
- latest_check_run_id?: number
- reset_on_push: boolean
- persistent: boolean
- /** @enum {string} */
- status:
- | 'CREATING_PROJECT'
- | 'RUNNING_MIGRATIONS'
- | 'MIGRATIONS_PASSED'
- | 'MIGRATIONS_FAILED'
- | 'FUNCTIONS_DEPLOYED'
- | 'FUNCTIONS_FAILED'
+ owner: string
+ public: boolean
+ updated_at: string
+ }
+ StorageConfigResponse: {
+ fileSizeLimit: number
+ isFreeTier: boolean
+ }
+ StorageObject: {
+ bucket_id: string
+ buckets: components['schemas']['StorageBucket']
created_at: string
+ id: string
+ last_accessed_at: string
+ metadata: Record<string, never>
+ name: string
+ owner: string
updated_at: string
}
- BranchDeleteResponse: {
- message: string
+ StorageObjectSearchOptions: {
+ limit?: number
+ offset?: number
+ search?: string
+ sortBy?: components['schemas']['StorageObjectSortBy']
}
- BranchResetResponse: {
- message: string
+ StorageObjectSortBy: {
+ column?: string
+ order?: string
}
- V1DatabaseResponse: {
- /** @description Database host */
- host: string
- /** @description Database version */
- version: string
+ StorageObjectTransformOptions: {
+ /** @enum {string} */
+ format?: 'origin'
+ height?: number
+ quality?: number
+ /** @enum {string} */
+ resize?: 'cover' | 'contain' | 'fill'
+ width?: number
+ }
+ SubdomainAvailabilityResponse: {
+ available: boolean
+ }
+ SubscriptionStatisticsResponse: {
+ total_active_free_projects: number
+ total_enterprise_projects: number
+ total_free_projects: number
+ total_paid_projects: number
+ total_paused_free_projects: number
+ total_payg_projects: number
+ total_pro_projects: number
+ total_team_projects: number
}
- V1ProjectResponse: {
- /** @description Id of your project */
- id: string
- /** @description Slug of your organization */
- organization_id: string
- /** @description Name of your project */
- name: string
- /**
- * @description Region of your project
- * @example us-east-1
- */
- region: string
- /**
- * @description Creation timestamp
- * @example 2023-03-29T16:32:59Z
- */
- created_at: string
- database?: components['schemas']['V1DatabaseResponse']
+ SupavisorConfigResponse: {
+ connectionString: string
/** @enum {string} */
- status:
- | 'ACTIVE_HEALTHY'
- | 'ACTIVE_UNHEALTHY'
- | 'COMING_UP'
- | 'GOING_DOWN'
- | 'INACTIVE'
- | 'INIT_FAILED'
- | 'REMOVED'
- | 'RESTARTING'
- | 'UNKNOWN'
- | 'UPGRADING'
- | 'PAUSING'
- | 'RESTORING'
- | 'RESTORE_FAILED'
- | 'PAUSE_FAILED'
+ database_type: 'PRIMARY' | 'READ_REPLICA'
+ db_host: string
+ db_name: string
+ db_port: number
+ db_user: string
+ default_pool_size: number | null
+ identifier: string
+ is_using_scram_auth: boolean
+ max_client_conn: number | null
+ /** @enum {string} */
+ pool_mode: 'transaction' | 'session'
}
- V1CreateProjectBody: {
+ SyncVercelEnvError: {
+ message: string
+ }
+ SystemCreateProjectBody: {
+ anon_key: string
+ api_key_supabase: string
/** @description Database password */
db_pass: string
+ db_pass_supabase: string
+ jwt_secret: string
/** @description Name of your project, should not contain dots */
name: string
/** @description Slug of your organization */
organization_id: string
/**
- * @deprecated
- * @description Subscription plan is now set on organization level and is ignored in this request
+ * @description Subscription plan
* @example free
* @enum {string}
*/
- plan?: 'free' | 'pro'
+ plan: 'free' | 'pro'
/**
* @description Region you want your server to reside in
* @example us-east-1
@@ -5015,882 +4918,983 @@ export interface components {
| 'ca-central-1'
| 'ap-south-1'
| 'sa-east-1'
+ service_key: string
+ }
+ SystemDatabaseResponse: {
+ /** @description Database host */
+ host: string
+ /** @description Database version */
+ version: string
+ }
+ SystemProjectResponse: {
/**
- * @deprecated
- * @description This field is deprecated and is ignored in this request
+ * @description Creation timestamp
+ * @example 2023-03-29T16:32:59Z
*/
- kps_enabled?: boolean
- desired_instance_size?: components['schemas']['DesiredInstanceSize']
+ created_at: string
+ database?: components['schemas']['SystemDatabaseResponse']
+ /** @description Id of your project */
+ id: string
+ /** @description Name of your project */
+ name: string
+ /** @description Slug of your organization */
+ organization_id: string
/**
- * @description Template URL used to create the project from the CLI.
- * @example https://github.com/supabase/supabase/tree/master/examples/slack-clone/nextjs-slack-clone
+ * @description Region of your project
+ * @example us-east-1
*/
- template_url?: string
- }
- ApiKeyResponse: {
- name: string
- api_key: string
- }
- CreateBranchBody: {
- branch_name: string
- git_branch?: string
- region?: string
- }
- UpdateCustomHostnameResponse: {
- /** @enum {string} */
- status:
- | '1_not_started'
- | '2_initiated'
- | '3_challenge_verified'
- | '4_origin_setup_completed'
- | '5_services_reconfigured'
- custom_hostname: string
- data: Record<string, never>
- }
- UpdateCustomHostnameBody: {
- custom_hostname: string
- }
- NetworkBanResponse: {
- banned_ipv4_addresses: string[]
- }
- RemoveNetworkBanRequest: {
- ipv4_addresses: string[]
- }
- NetworkRestrictionsRequest: {
- dbAllowedCidrs?: string[]
- dbAllowedCidrsV6?: string[]
- }
- NetworkRestrictionsResponse: {
- /** @enum {string} */
- entitlement: 'disallowed' | 'allowed'
- config: components['schemas']['NetworkRestrictionsRequest']
- old_config?: components['schemas']['NetworkRestrictionsRequest']
- /** @enum {string} */
- status: 'stored' | 'applied'
- }
- PgsodiumConfigResponse: {
- root_key: string
- }
- UpdatePgsodiumConfigBody: {
- root_key: string
- }
- PostgrestConfigWithJWTSecretResponse: {
- max_rows: number
- /** @description If `null`, the value is automatically configured based on compute size. */
- db_pool: number | null
- db_schema: string
- db_extra_search_path: string
- jwt_secret?: string
+ region: string
}
- V1ProjectRefResponse: {
+ Table: {
id: number
- ref: string
name: string
+ schema: string
}
- SslEnforcements: {
- database: boolean
- }
- SslEnforcementResponse: {
- currentConfig: components['schemas']['SslEnforcements']
- appliedSuccessfully: boolean
- }
- SslEnforcementRequest: {
- requestedConfig: components['schemas']['SslEnforcements']
- }
- TypescriptResponse: {
- types: string
- }
- VanitySubdomainConfigResponse: {
+ TablePrivilege: {
+ grantee: string
+ grantor: string
+ is_grantable: boolean
/** @enum {string} */
- status: 'not-used' | 'custom-domain-used' | 'active'
- custom_domain?: string
- }
- VanitySubdomainBody: {
- vanity_subdomain: string
- }
- SubdomainAvailabilityResponse: {
- available: boolean
- }
- ActivateVanitySubdomainResponse: {
- custom_domain: string
+ privilege_type:
+ | 'ALL'
+ | 'SELECT'
+ | 'INSERT'
+ | 'UPDATE'
+ | 'DELETE'
+ | 'TRUNCATE'
+ | 'REFERENCES'
+ | 'TRIGGER'
}
- UpgradeDatabaseBody: {
- target_version: number
+ TaxId: {
+ country: string
+ id: string
+ type: string
+ value: string
}
- ProjectUpgradeInitiateResponse: {
- tracking_id: string
+ TaxIdResponse: {
+ data: components['schemas']['TaxId'][]
}
- ProjectVersion: {
- postgres_version: number
- app_version: string
+ TaxIdV2: {
+ country: string
+ type: string
+ value: string
}
- ProjectUpgradeEligibilityResponse: {
- eligible: boolean
- current_app_version: string
- latest_app_version: string
- target_upgrade_versions: components['schemas']['ProjectVersion'][]
- potential_breaking_changes: string[]
- duration_estimate_hours: number
- legacy_auth_custom_roles: string[]
- extension_dependent_objects: string[]
+ TaxIdV2Response: {
+ tax_id: components['schemas']['TaxIdV2'] | null
}
- DatabaseUpgradeStatus: {
- initiated_at: string
- target_version: number
- /** @enum {string} */
- error?:
- | '1_upgraded_instance_launch_failed'
- | '2_volume_detachchment_from_upgraded_instance_failed'
- | '3_volume_attachment_to_original_instance_failed'
- | '4_data_upgrade_initiation_failed'
- | '5_data_upgrade_completion_failed'
- | '6_volume_detachchment_from_original_instance_failed'
- | '7_volume_attachment_to_upgraded_instance_failed'
- | '8_upgrade_completion_failed'
- /** @enum {string} */
- progress?:
- | '0_requested'
- | '1_started'
- | '2_launched_upgraded_instance'
- | '3_detached_volume_from_upgraded_instance'
- | '4_attached_volume_to_original_instance'
- | '5_initiated_data_upgrade'
- | '6_completed_data_upgrade'
- | '7_detached_volume_from_original_instance'
- | '8_attached_volume_to_upgraded_instance'
- | '9_completed_upgrade'
- /** @enum {number} */
- status: 0 | 1 | 2
+ TelemetryActivityBody: {
+ activity: string
+ data?: Record<string, never>
+ orgSlug?: string
+ page: components['schemas']['PageBody']
+ projectRef?: string
+ source: string
}
- DatabaseUpgradeStatusResponse: {
- databaseUpgradeStatus: components['schemas']['DatabaseUpgradeStatus'] | null
+ TelemetryEventBody: {
+ action: string
+ category: string
+ ga?: components['schemas']['GoogleAnalyticBody']
+ label?: Record<string, never>
+ page_location?: string
+ page_referrer?: string
+ page_title?: string
+ value?: string
}
- ReadOnlyStatusResponse: {
- enabled: boolean
- override_enabled: boolean
- override_active_until: string
+ TelemetryIdentifyBody: {
+ ga?: components['schemas']['GoogleAnalyticBody']
+ user: components['schemas']['IdentifyUserBody']
}
- SetUpReadReplicaBody: {
- /**
- * @description Region you want your read replica to reside in
- * @example us-east-1
- * @enum {string}
- */
- read_replica_region:
- | 'us-east-1'
- | 'us-west-1'
- | 'us-west-2'
- | 'ap-east-1'
- | 'ap-southeast-1'
- | 'ap-northeast-1'
- | 'ap-northeast-2'
- | 'ap-southeast-2'
- | 'eu-west-1'
- | 'eu-west-2'
- | 'eu-west-3'
- | 'eu-central-1'
- | 'ca-central-1'
- | 'ap-south-1'
- | 'sa-east-1'
+ TelemetryPageBody: {
+ ga?: components['schemas']['GoogleAnalyticBody']
+ referrer: string
+ route?: string
+ title: string
}
- RemoveReadReplicaBody: {
- database_identifier: string
+ TelemetryPageviewBody: {
+ location: string
+ orgSlug?: string
+ path: string
+ projectRef?: string
+ referrer: string
+ title: string
}
- AuthHealthResponse: {
- name: string
- version: string
- description: string
+ TransferOrganizationBody: {
+ member_gotrue_id: string
+ member_id: number
+ org_id: number
}
- RealtimeHealthResponse: {
- healthy: boolean
- db_connected: boolean
- connected_cluster: number
+ TransferProjectBody: {
+ target_organization_slug: string
}
- V1ServiceHealthResponse: {
- info?:
- | components['schemas']['AuthHealthResponse']
- | components['schemas']['RealtimeHealthResponse']
- /** @enum {string} */
- name: 'auth' | 'db' | 'pooler' | 'realtime' | 'rest' | 'storage'
- healthy: boolean
- /** @enum {string} */
- status: 'COMING_UP' | 'ACTIVE_HEALTHY' | 'UNHEALTHY'
- error?: string
+ TypescriptResponse: {
+ types: string
}
- V1PgbouncerConfigResponse: {
+ UpcomingInvoice: Record<string, never>
+ UpdateAddonAdminBody: {
+ addon_type: components['schemas']['ProjectAddonType']
+ addon_variant: components['schemas']['AddonVariantId']
+ price_id?: string
/** @enum {string} */
- pool_mode?: 'transaction' | 'session' | 'statement'
- default_pool_size?: number
- ignore_startup_parameters?: string
- max_client_conn?: number
- connection_string?: string
+ proration_behaviour?: 'prorate_and_invoice_end_of_cycle' | 'prorate_and_invoice_now'
}
- AuthConfigResponse: {
- api_max_request_duration: number | null
- db_max_pool_size: number | null
- disable_signup: boolean | null
- external_anonymous_users_enabled: boolean | null
- external_apple_additional_client_ids: string | null
- external_apple_client_id: string | null
- external_apple_enabled: boolean | null
- external_apple_secret: string | null
- external_azure_client_id: string | null
- external_azure_enabled: boolean | null
- external_azure_secret: string | null
- external_azure_url: string | null
- external_bitbucket_client_id: string | null
- external_bitbucket_enabled: boolean | null
- external_bitbucket_secret: string | null
- external_discord_client_id: string | null
- external_discord_enabled: boolean | null
- external_discord_secret: string | null
- external_email_enabled: boolean | null
- external_facebook_client_id: string | null
- external_facebook_enabled: boolean | null
- external_facebook_secret: string | null
- external_figma_client_id: string | null
- external_figma_enabled: boolean | null
- external_figma_secret: string | null
- external_github_client_id: string | null
- external_github_enabled: boolean | null
- external_github_secret: string | null
- external_gitlab_client_id: string | null
- external_gitlab_enabled: boolean | null
- external_gitlab_secret: string | null
- external_gitlab_url: string | null
- external_google_additional_client_ids: string | null
- external_google_client_id: string | null
- external_google_enabled: boolean | null
- external_google_secret: string | null
- external_google_skip_nonce_check: boolean | null
- external_kakao_client_id: string | null
- external_kakao_enabled: boolean | null
- external_kakao_secret: string | null
- external_keycloak_client_id: string | null
- external_keycloak_enabled: boolean | null
- external_keycloak_secret: string | null
- external_keycloak_url: string | null
- external_linkedin_oidc_client_id: string | null
- external_linkedin_oidc_enabled: boolean | null
- external_linkedin_oidc_secret: string | null
- external_notion_client_id: string | null
- external_notion_enabled: boolean | null
- external_notion_secret: string | null
- external_phone_enabled: boolean | null
- external_slack_client_id: string | null
- external_slack_enabled: boolean | null
- external_slack_secret: string | null
- external_spotify_client_id: string | null
- external_spotify_enabled: boolean | null
- external_spotify_secret: string | null
- external_twitch_client_id: string | null
- external_twitch_enabled: boolean | null
- external_twitch_secret: string | null
- external_twitter_client_id: string | null
- external_twitter_enabled: boolean | null
- external_twitter_secret: string | null
- external_workos_client_id: string | null
- external_workos_enabled: boolean | null
- external_workos_secret: string | null
- external_workos_url: string | null
- external_zoom_client_id: string | null
- external_zoom_enabled: boolean | null
- external_zoom_secret: string | null
- hook_custom_access_token_enabled: boolean | null
- hook_custom_access_token_uri: string | null
- hook_custom_access_token_secrets: string | null
- hook_mfa_verification_attempt_enabled: boolean | null
- hook_mfa_verification_attempt_uri: string | null
- hook_mfa_verification_attempt_secrets: string | null
- hook_password_verification_attempt_enabled: boolean | null
- hook_password_verification_attempt_uri: string | null
- hook_password_verification_attempt_secrets: string | null
- hook_send_sms_enabled: boolean | null
- hook_send_sms_uri: string | null
- hook_send_sms_secrets: string | null
- hook_send_email_enabled: boolean | null
- hook_send_email_uri: string | null
- hook_send_email_secrets: string | null
- jwt_exp: number | null
- mailer_allow_unverified_email_sign_ins: boolean | null
- mailer_autoconfirm: boolean | null
- mailer_otp_exp: number
- mailer_otp_length: number | null
- mailer_secure_email_change_enabled: boolean | null
- mailer_subjects_confirmation: string | null
- mailer_subjects_email_change: string | null
- mailer_subjects_invite: string | null
- mailer_subjects_magic_link: string | null
- mailer_subjects_reauthentication: string | null
- mailer_subjects_recovery: string | null
- mailer_templates_confirmation_content: string | null
- mailer_templates_email_change_content: string | null
- mailer_templates_invite_content: string | null
- mailer_templates_magic_link_content: string | null
- mailer_templates_reauthentication_content: string | null
- mailer_templates_recovery_content: string | null
- mfa_max_enrolled_factors: number | null
- password_hibp_enabled: boolean | null
- password_min_length: number | null
- password_required_characters: string | null
- rate_limit_anonymous_users: number | null
- rate_limit_email_sent: number | null
- rate_limit_sms_sent: number | null
- rate_limit_token_refresh: number | null
- rate_limit_verify: number | null
- refresh_token_rotation_enabled: boolean | null
- saml_enabled: boolean | null
- security_captcha_enabled: boolean | null
- security_captcha_provider: string | null
- security_captcha_secret: string | null
- security_manual_linking_enabled: boolean | null
- security_refresh_token_reuse_interval: number | null
- security_update_password_require_reauthentication: boolean | null
- sessions_inactivity_timeout: number | null
- sessions_single_per_user: boolean | null
- sessions_tags: string | null
- sessions_timebox: number | null
- site_url: string | null
- sms_autoconfirm: boolean | null
- sms_max_frequency: number | null
- sms_messagebird_access_key: string | null
- sms_messagebird_originator: string | null
- sms_otp_exp: number | null
- sms_otp_length: number
- sms_provider: string | null
- sms_template: string | null
- sms_test_otp: string | null
- sms_test_otp_valid_until: string | null
- sms_textlocal_api_key: string | null
- sms_textlocal_sender: string | null
- sms_twilio_account_sid: string | null
- sms_twilio_auth_token: string | null
- sms_twilio_content_sid: string | null
- sms_twilio_message_service_sid: string | null
- sms_twilio_verify_account_sid: string | null
- sms_twilio_verify_auth_token: string | null
- sms_twilio_verify_message_service_sid: string | null
- sms_vonage_api_key: string | null
- sms_vonage_api_secret: string | null
- sms_vonage_from: string | null
- smtp_admin_email: string | null
- smtp_host: string | null
- smtp_max_frequency: number | null
- smtp_pass: string | null
- smtp_port: string | null
- smtp_sender_name: string | null
- smtp_user: string | null
- uri_allow_list: string | null
+ UpdateAddonBody: {
+ addon_type: components['schemas']['ProjectAddonType']
+ addon_variant: components['schemas']['AddonVariantId']
}
UpdateAuthConfigBody: {
- site_url?: string
+ api_max_request_duration?: number
+ db_max_pool_size?: number
disable_signup?: boolean
+ external_anonymous_users_enabled?: boolean
+ external_apple_additional_client_ids?: string
+ external_apple_client_id?: string
+ external_apple_enabled?: boolean
+ external_apple_secret?: string
+ external_azure_client_id?: string
+ external_azure_enabled?: boolean
+ external_azure_secret?: string
+ external_azure_url?: string
+ external_bitbucket_client_id?: string
+ external_bitbucket_enabled?: boolean
+ external_bitbucket_secret?: string
+ external_discord_client_id?: string
+ external_discord_enabled?: boolean
+ external_discord_secret?: string
+ external_email_enabled?: boolean
+ external_facebook_client_id?: string
+ external_facebook_enabled?: boolean
+ external_facebook_secret?: string
+ external_figma_client_id?: string
+ external_figma_enabled?: boolean
+ external_figma_secret?: string
+ external_github_client_id?: string
+ external_github_enabled?: boolean
+ external_github_secret?: string
+ external_gitlab_client_id?: string
+ external_gitlab_enabled?: boolean
+ external_gitlab_secret?: string
+ external_gitlab_url?: string
+ external_google_additional_client_ids?: string
+ external_google_client_id?: string
+ external_google_enabled?: boolean
+ external_google_secret?: string
+ external_google_skip_nonce_check?: boolean
+ external_kakao_client_id?: string
+ external_kakao_enabled?: boolean
+ external_kakao_secret?: string
+ external_keycloak_client_id?: string
+ external_keycloak_enabled?: boolean
+ external_keycloak_secret?: string
+ external_keycloak_url?: string
+ external_linkedin_oidc_client_id?: string
+ external_linkedin_oidc_enabled?: boolean
+ external_linkedin_oidc_secret?: string
+ external_notion_client_id?: string
+ external_notion_enabled?: boolean
+ external_notion_secret?: string
+ external_phone_enabled?: boolean
+ external_slack_client_id?: string
+ external_slack_enabled?: boolean
+ external_slack_secret?: string
+ external_spotify_client_id?: string
+ external_spotify_enabled?: boolean
+ external_spotify_secret?: string
+ external_twitch_client_id?: string
+ external_twitch_enabled?: boolean
+ external_twitch_secret?: string
+ external_twitter_client_id?: string
+ external_twitter_enabled?: boolean
+ external_twitter_secret?: string
+ external_workos_client_id?: string
+ external_workos_enabled?: boolean
+ external_workos_secret?: string
+ external_workos_url?: string
+ external_zoom_client_id?: string
+ external_zoom_enabled?: boolean
+ external_zoom_secret?: string
+ hook_custom_access_token_enabled?: boolean
+ hook_custom_access_token_secrets?: string
+ hook_custom_access_token_uri?: string
+ hook_mfa_verification_attempt_enabled?: boolean
+ hook_mfa_verification_attempt_secrets?: string
+ hook_mfa_verification_attempt_uri?: string
+ hook_password_verification_attempt_enabled?: boolean
+ hook_password_verification_attempt_secrets?: string
+ hook_password_verification_attempt_uri?: string
+ hook_send_email_enabled?: boolean
+ hook_send_email_secrets?: string
+ hook_send_email_uri?: string
+ hook_send_sms_enabled?: boolean
+ hook_send_sms_secrets?: string
+ hook_send_sms_uri?: string
jwt_exp?: number
- smtp_admin_email?: string
- smtp_host?: string
- smtp_port?: string
- smtp_user?: string
- smtp_pass?: string
- smtp_max_frequency?: number
- smtp_sender_name?: string
mailer_allow_unverified_email_sign_ins?: boolean
mailer_autoconfirm?: boolean
- mailer_subjects_invite?: string
+ mailer_otp_exp?: number
+ mailer_otp_length?: number
+ mailer_secure_email_change_enabled?: boolean
mailer_subjects_confirmation?: string
- mailer_subjects_recovery?: string
mailer_subjects_email_change?: string
+ mailer_subjects_invite?: string
mailer_subjects_magic_link?: string
mailer_subjects_reauthentication?: string
- mailer_templates_invite_content?: string
+ mailer_subjects_recovery?: string
mailer_templates_confirmation_content?: string
- mailer_templates_recovery_content?: string
mailer_templates_email_change_content?: string
+ mailer_templates_invite_content?: string
mailer_templates_magic_link_content?: string
mailer_templates_reauthentication_content?: string
+ mailer_templates_recovery_content?: string
mfa_max_enrolled_factors?: number
- uri_allow_list?: string
- external_anonymous_users_enabled?: boolean
- external_email_enabled?: boolean
- external_phone_enabled?: boolean
+ password_hibp_enabled?: boolean
+ password_min_length?: number
+ /** @enum {string} */
+ password_required_characters?:
+ | 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789'
+ | 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789'
+ | 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};\'\\:"|<>?,./`~'
+ | ''
+ rate_limit_anonymous_users?: number
+ rate_limit_email_sent?: number
+ rate_limit_otp?: number
+ rate_limit_sms_sent?: number
+ rate_limit_token_refresh?: number
+ rate_limit_verify?: number
+ refresh_token_rotation_enabled?: boolean
saml_enabled?: boolean
security_captcha_enabled?: boolean
security_captcha_provider?: string
security_captcha_secret?: string
- sessions_timebox?: number
+ security_manual_linking_enabled?: boolean
+ security_refresh_token_reuse_interval?: number
+ security_update_password_require_reauthentication?: boolean
sessions_inactivity_timeout?: number
sessions_single_per_user?: boolean
sessions_tags?: string
- rate_limit_anonymous_users?: number
- rate_limit_email_sent?: number
- rate_limit_sms_sent?: number
- rate_limit_verify?: number
- rate_limit_token_refresh?: number
- mailer_secure_email_change_enabled?: boolean
- refresh_token_rotation_enabled?: boolean
- password_hibp_enabled?: boolean
- password_min_length?: number
+ sessions_timebox?: number
+ site_url?: string
+ sms_autoconfirm?: boolean
+ sms_max_frequency?: number
+ sms_messagebird_access_key?: string
+ sms_messagebird_originator?: string
+ sms_otp_exp?: number
+ sms_otp_length?: number
+ sms_provider?: string
+ sms_template?: string
+ sms_test_otp?: string
+ sms_test_otp_valid_until?: string
+ sms_textlocal_api_key?: string
+ sms_textlocal_sender?: string
+ sms_twilio_account_sid?: string
+ sms_twilio_auth_token?: string
+ sms_twilio_content_sid?: string
+ sms_twilio_message_service_sid?: string
+ sms_twilio_verify_account_sid?: string
+ sms_twilio_verify_auth_token?: string
+ sms_twilio_verify_message_service_sid?: string
+ sms_vonage_api_key?: string
+ sms_vonage_api_secret?: string
+ sms_vonage_from?: string
+ smtp_admin_email?: string
+ smtp_host?: string
+ smtp_max_frequency?: number
+ smtp_pass?: string
+ smtp_port?: string
+ smtp_sender_name?: string
+ smtp_user?: string
+ uri_allow_list?: string
+ }
+ UpdateBranchBody: {
+ branch_name?: string
+ git_branch?: string
+ persistent?: boolean
+ reset_on_push?: boolean
+ }
+ UpdateColumnBody: {
+ check?: string
+ comment?: string
+ defaultValue?: Record<string, never>
+ /** @enum {string} */
+ defaultValueFormat?: 'expression' | 'literal'
+ dropDefault?: boolean
+ id?: number
+ /** @enum {string} */
+ identityGeneration?: 'BY DEFAULT' | 'ALWAYS'
+ isIdentity?: boolean
+ isNullable?: boolean
+ isUnique?: boolean
+ name?: string
+ type?: string
+ }
+ UpdateContentBody: {
+ content?: Record<string, never>
+ description?: string
+ id?: string
+ name?: string
+ owner_id?: number
+ /** @enum {string} */
+ type?: 'sql' | 'report' | 'log_sql'
+ /** @enum {string} */
+ visibility?: 'user' | 'project' | 'org' | 'public'
+ }
+ UpdateContentFolderBody: {
+ name: string
+ }
+ UpdateCustomHostnameBody: {
+ custom_hostname: string
+ }
+ UpdateCustomHostnameResponse: {
+ custom_hostname: string
+ data: Record<string, never>
+ /** @enum {string} */
+ status:
+ | '1_not_started'
+ | '2_initiated'
+ | '3_challenge_verified'
+ | '4_origin_setup_completed'
+ | '5_services_reconfigured'
+ }
+ UpdateFunctionBody: {
+ args?: string[]
+ /** @enum {string} */
+ behavior?: 'VOLATILE' | 'STABLE' | 'IMMUTABLE'
+ config_params?: Record<string, never>
+ definition?: string
+ id?: number
+ language?: string
+ name?: string
+ return_type?: string
+ schema?: string
+ security_definer?: boolean
+ }
+ UpdateGitHubConnectionsBody: {
+ branch_limit?: number
+ supabase_changes_only?: boolean
+ workdir?: string
+ }
+ UpdateGoTrueConfigBody: {
+ API_MAX_REQUEST_DURATION?: number
+ DB_MAX_POOL_SIZE?: number
+ DISABLE_SIGNUP?: boolean
+ EXTERNAL_ANONYMOUS_USERS_ENABLED?: boolean
+ EXTERNAL_APPLE_ADDITIONAL_CLIENT_IDS?: string
+ EXTERNAL_APPLE_CLIENT_ID?: string
+ EXTERNAL_APPLE_ENABLED?: boolean
+ EXTERNAL_APPLE_SECRET?: string
+ EXTERNAL_AZURE_CLIENT_ID?: string
+ EXTERNAL_AZURE_ENABLED?: boolean
+ EXTERNAL_AZURE_SECRET?: string
+ EXTERNAL_AZURE_URL?: string
+ EXTERNAL_BITBUCKET_CLIENT_ID?: string
+ EXTERNAL_BITBUCKET_ENABLED?: boolean
+ EXTERNAL_BITBUCKET_SECRET?: string
+ EXTERNAL_DISCORD_CLIENT_ID?: string
+ EXTERNAL_DISCORD_ENABLED?: boolean
+ EXTERNAL_DISCORD_SECRET?: string
+ EXTERNAL_EMAIL_ENABLED?: boolean
+ EXTERNAL_FACEBOOK_CLIENT_ID?: string
+ EXTERNAL_FACEBOOK_ENABLED?: boolean
+ EXTERNAL_FACEBOOK_SECRET?: string
+ EXTERNAL_FIGMA_CLIENT_ID?: string
+ EXTERNAL_FIGMA_ENABLED?: boolean
+ EXTERNAL_FIGMA_SECRET?: string
+ EXTERNAL_GITHUB_CLIENT_ID?: string
+ EXTERNAL_GITHUB_ENABLED?: boolean
+ EXTERNAL_GITHUB_SECRET?: string
+ EXTERNAL_GITLAB_CLIENT_ID?: string
+ EXTERNAL_GITLAB_ENABLED?: boolean
+ EXTERNAL_GITLAB_SECRET?: string
+ EXTERNAL_GITLAB_URL?: string
+ EXTERNAL_GOOGLE_ADDITIONAL_CLIENT_IDS?: string
+ EXTERNAL_GOOGLE_CLIENT_ID?: string
+ EXTERNAL_GOOGLE_ENABLED?: boolean
+ EXTERNAL_GOOGLE_SECRET?: string
+ EXTERNAL_GOOGLE_SKIP_NONCE_CHECK?: boolean
+ EXTERNAL_KAKAO_CLIENT_ID?: string
+ EXTERNAL_KAKAO_ENABLED?: boolean
+ EXTERNAL_KAKAO_SECRET?: string
+ EXTERNAL_KEYCLOAK_CLIENT_ID?: string
+ EXTERNAL_KEYCLOAK_ENABLED?: boolean
+ EXTERNAL_KEYCLOAK_SECRET?: string
+ EXTERNAL_KEYCLOAK_URL?: string
+ EXTERNAL_LINKEDIN_OIDC_CLIENT_ID?: string
+ EXTERNAL_LINKEDIN_OIDC_ENABLED?: boolean
+ EXTERNAL_LINKEDIN_OIDC_SECRET?: string
+ EXTERNAL_NOTION_CLIENT_ID?: string
+ EXTERNAL_NOTION_ENABLED?: boolean
+ EXTERNAL_NOTION_SECRET?: string
+ EXTERNAL_PHONE_ENABLED?: boolean
+ EXTERNAL_SLACK_CLIENT_ID?: string
+ EXTERNAL_SLACK_ENABLED?: boolean
+ EXTERNAL_SLACK_SECRET?: string
+ EXTERNAL_SPOTIFY_CLIENT_ID?: string
+ EXTERNAL_SPOTIFY_ENABLED?: boolean
+ EXTERNAL_SPOTIFY_SECRET?: string
+ EXTERNAL_TWITCH_CLIENT_ID?: string
+ EXTERNAL_TWITCH_ENABLED?: boolean
+ EXTERNAL_TWITCH_SECRET?: string
+ EXTERNAL_TWITTER_CLIENT_ID?: string
+ EXTERNAL_TWITTER_ENABLED?: boolean
+ EXTERNAL_TWITTER_SECRET?: string
+ EXTERNAL_WORKOS_CLIENT_ID?: string
+ EXTERNAL_WORKOS_ENABLED?: boolean
+ EXTERNAL_WORKOS_SECRET?: string
+ EXTERNAL_WORKOS_URL?: string
+ EXTERNAL_ZOOM_CLIENT_ID?: string
+ EXTERNAL_ZOOM_ENABLED?: boolean
+ EXTERNAL_ZOOM_SECRET?: string
+ HOOK_CUSTOM_ACCESS_TOKEN_ENABLED?: boolean
+ HOOK_CUSTOM_ACCESS_TOKEN_SECRETS?: string
+ HOOK_CUSTOM_ACCESS_TOKEN_URI?: string
+ HOOK_MFA_VERIFICATION_ATTEMPT_ENABLED?: boolean
+ HOOK_MFA_VERIFICATION_ATTEMPT_SECRETS?: string
+ HOOK_MFA_VERIFICATION_ATTEMPT_URI?: string
+ HOOK_PASSWORD_VERIFICATION_ATTEMPT_ENABLED?: boolean
+ HOOK_PASSWORD_VERIFICATION_ATTEMPT_SECRETS?: string
+ HOOK_PASSWORD_VERIFICATION_ATTEMPT_URI?: string
+ HOOK_SEND_EMAIL_ENABLED?: boolean
+ HOOK_SEND_EMAIL_SECRETS?: string
+ HOOK_SEND_EMAIL_URI?: string
+ HOOK_SEND_SMS_ENABLED?: boolean
+ HOOK_SEND_SMS_SECRETS?: string
+ HOOK_SEND_SMS_URI?: string
+ JWT_EXP?: number
+ MAILER_ALLOW_UNVERIFIED_EMAIL_SIGN_INS?: boolean
+ MAILER_AUTOCONFIRM?: boolean
+ MAILER_OTP_EXP?: number
+ MAILER_OTP_LENGTH?: number
+ MAILER_SECURE_EMAIL_CHANGE_ENABLED?: boolean
+ MAILER_SUBJECTS_CONFIRMATION?: string
+ MAILER_SUBJECTS_EMAIL_CHANGE?: string
+ MAILER_SUBJECTS_INVITE?: string
+ MAILER_SUBJECTS_MAGIC_LINK?: string
+ MAILER_SUBJECTS_REAUTHENTICATION?: string
+ MAILER_SUBJECTS_RECOVERY?: string
+ MAILER_TEMPLATES_CONFIRMATION_CONTENT?: string
+ MAILER_TEMPLATES_EMAIL_CHANGE_CONTENT?: string
+ MAILER_TEMPLATES_INVITE_CONTENT?: string
+ MAILER_TEMPLATES_MAGIC_LINK_CONTENT?: string
+ MAILER_TEMPLATES_REAUTHENTICATION_CONTENT?: string
+ MAILER_TEMPLATES_RECOVERY_CONTENT?: string
+ MFA_MAX_ENROLLED_FACTORS?: number
+ PASSWORD_HIBP_ENABLED?: boolean
+ PASSWORD_MIN_LENGTH?: number
/** @enum {string} */
- password_required_characters?:
+ PASSWORD_REQUIRED_CHARACTERS?:
| 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789'
| 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789'
| 'abcdefghijklmnopqrstuvwxyz:ABCDEFGHIJKLMNOPQRSTUVWXYZ:0123456789:!@#$%^&*()_+-=[]{};\'\\:"|<>?,./`~'
| ''
- security_manual_linking_enabled?: boolean
- security_update_password_require_reauthentication?: boolean
- security_refresh_token_reuse_interval?: number
- mailer_otp_exp?: number
- mailer_otp_length?: number
- sms_autoconfirm?: boolean
- sms_max_frequency?: number
- sms_otp_exp?: number
- sms_otp_length?: number
- sms_provider?: string
- sms_messagebird_access_key?: string
- sms_messagebird_originator?: string
- sms_test_otp?: string
- sms_test_otp_valid_until?: string
- sms_textlocal_api_key?: string
- sms_textlocal_sender?: string
- sms_twilio_account_sid?: string
- sms_twilio_auth_token?: string
- sms_twilio_content_sid?: string
- sms_twilio_message_service_sid?: string
- sms_twilio_verify_account_sid?: string
- sms_twilio_verify_auth_token?: string
- sms_twilio_verify_message_service_sid?: string
- sms_vonage_api_key?: string
- sms_vonage_api_secret?: string
- sms_vonage_from?: string
- sms_template?: string
- hook_mfa_verification_attempt_enabled?: boolean
- hook_mfa_verification_attempt_uri?: string
- hook_mfa_verification_attempt_secrets?: string
- hook_password_verification_attempt_enabled?: boolean
- hook_password_verification_attempt_uri?: string
- hook_password_verification_attempt_secrets?: string
- hook_custom_access_token_enabled?: boolean
- hook_custom_access_token_uri?: string
- hook_custom_access_token_secrets?: string
- hook_send_sms_enabled?: boolean
- hook_send_sms_uri?: string
- hook_send_sms_secrets?: string
- hook_send_email_enabled?: boolean
- hook_send_email_uri?: string
- hook_send_email_secrets?: string
- external_apple_enabled?: boolean
- external_apple_client_id?: string
- external_apple_secret?: string
- external_apple_additional_client_ids?: string
- external_azure_enabled?: boolean
- external_azure_client_id?: string
- external_azure_secret?: string
- external_azure_url?: string
- external_bitbucket_enabled?: boolean
- external_bitbucket_client_id?: string
- external_bitbucket_secret?: string
- external_discord_enabled?: boolean
- external_discord_client_id?: string
- external_discord_secret?: string
- external_facebook_enabled?: boolean
- external_facebook_client_id?: string
- external_facebook_secret?: string
- external_figma_enabled?: boolean
- external_figma_client_id?: string
- external_figma_secret?: string
- external_github_enabled?: boolean
- external_github_client_id?: string
- external_github_secret?: string
- external_gitlab_enabled?: boolean
- external_gitlab_client_id?: string
- external_gitlab_secret?: string
- external_gitlab_url?: string
- external_google_enabled?: boolean
- external_google_client_id?: string
- external_google_secret?: string
- external_google_additional_client_ids?: string
- external_google_skip_nonce_check?: boolean
- external_kakao_enabled?: boolean
- external_kakao_client_id?: string
- external_kakao_secret?: string
- external_keycloak_enabled?: boolean
- external_keycloak_client_id?: string
- external_keycloak_secret?: string
- external_keycloak_url?: string
- external_linkedin_oidc_enabled?: boolean
- external_linkedin_oidc_client_id?: string
- external_linkedin_oidc_secret?: string
- external_notion_enabled?: boolean
- external_notion_client_id?: string
- external_notion_secret?: string
- external_slack_enabled?: boolean
- external_slack_client_id?: string
- external_slack_secret?: string
- external_spotify_enabled?: boolean
- external_spotify_client_id?: string
- external_spotify_secret?: string
- external_twitch_enabled?: boolean
- external_twitch_client_id?: string
- external_twitch_secret?: string
- external_twitter_enabled?: boolean
- external_twitter_client_id?: string
- external_twitter_secret?: string
- external_workos_enabled?: boolean
- external_workos_client_id?: string
- external_workos_secret?: string
- external_workos_url?: string
- external_zoom_enabled?: boolean
- external_zoom_client_id?: string
- external_zoom_secret?: string
- db_max_pool_size?: number
- api_max_request_duration?: number
+ RATE_LIMIT_ANONYMOUS_USERS?: number
+ RATE_LIMIT_EMAIL_SENT?: number
+ RATE_LIMIT_OTP?: number
+ RATE_LIMIT_SMS_SENT?: number
+ RATE_LIMIT_TOKEN_REFRESH?: number
+ RATE_LIMIT_VERIFY?: number
+ REFRESH_TOKEN_ROTATION_ENABLED?: boolean
+ SAML_ENABLED?: boolean
+ SECURITY_CAPTCHA_ENABLED?: boolean
+ SECURITY_CAPTCHA_PROVIDER?: string
+ SECURITY_CAPTCHA_SECRET?: string
+ SECURITY_MANUAL_LINKING_ENABLED?: boolean
+ SECURITY_REFRESH_TOKEN_REUSE_INTERVAL?: number
+ SECURITY_UPDATE_PASSWORD_REQUIRE_REAUTHENTICATION?: boolean
+ SESSIONS_INACTIVITY_TIMEOUT?: number
+ SESSIONS_SINGLE_PER_USER?: boolean
+ SESSIONS_TAGS?: string
+ SESSIONS_TIMEBOX?: number
+ SITE_URL?: string
+ SMS_AUTOCONFIRM?: boolean
+ SMS_MAX_FREQUENCY?: number
+ SMS_MESSAGEBIRD_ACCESS_KEY?: string
+ SMS_MESSAGEBIRD_ORIGINATOR?: string
+ SMS_OTP_EXP?: number
+ SMS_OTP_LENGTH?: number
+ SMS_PROVIDER?: string
+ SMS_TEMPLATE?: string
+ SMS_TEST_OTP?: string
+ SMS_TEST_OTP_VALID_UNTIL?: string
+ SMS_TEXTLOCAL_API_KEY?: string
+ SMS_TEXTLOCAL_SENDER?: string
+ SMS_TWILIO_ACCOUNT_SID?: string
+ SMS_TWILIO_AUTH_TOKEN?: string
+ SMS_TWILIO_CONTENT_SID?: string
+ SMS_TWILIO_MESSAGE_SERVICE_SID?: string
+ SMS_TWILIO_VERIFY_ACCOUNT_SID?: string
+ SMS_TWILIO_VERIFY_AUTH_TOKEN?: string
+ SMS_TWILIO_VERIFY_MESSAGE_SERVICE_SID?: string
+ SMS_VONAGE_API_KEY?: string
+ SMS_VONAGE_API_SECRET?: string
+ SMS_VONAGE_FROM?: string
+ SMTP_ADMIN_EMAIL?: string
+ SMTP_HOST?: string
+ SMTP_MAX_FREQUENCY?: number
+ SMTP_PASS?: string
+ SMTP_PORT?: string
+ SMTP_SENDER_NAME?: string
+ SMTP_USER?: string
+ URI_ALLOW_LIST?: string
+ }
+ UpdateMemberBody: {
+ role_id: number
+ }
+ UpdateMemberRoleBodyV2: {
+ role_id: number
+ role_scoped_projects?: string[]
+ }
+ UpdateNotificationBodyV2: {
+ id: string
+ /** @enum {string} */
+ status: 'new' | 'seen' | 'archived'
+ }
+ UpdateNotificationsBodyV1: {
+ ids: string[]
+ }
+ UpdateOrganizationBody: {
+ billing_email: string
+ name: string
+ opt_in_tags: string[]
+ }
+ UpdatePasswordBody: {
+ password: string
+ }
+ UpdatePgbouncerConfigBody: {
+ default_pool_size?: number
+ ignore_startup_parameters: string
+ max_client_conn?: number | null
+ pgbouncer_enabled: boolean
+ /** @enum {string} */
+ pool_mode: 'transaction' | 'session' | 'statement'
}
- AttributeValue: {
- default?: Record<string, never> | number | string | boolean
+ UpdatePgsodiumConfigBody: {
+ root_key: string
+ }
+ UpdatePolicyBody: {
+ check?: string
+ definition?: string
+ id?: number
name?: string
- names?: string[]
- array?: boolean
+ roles?: string[]
}
- AttributeMapping: {
- keys: {
- [key: string]: components['schemas']['AttributeValue']
- }
+ UpdatePoolingConfigResponse: {
+ default_pool_size?: number
+ ignore_startup_parameters: string
+ max_client_conn?: number | null
+ pgbouncer_enabled: boolean
+ /** @enum {string} */
+ pgbouncer_status: 'COMING_DOWN' | 'COMING_UP' | 'DISABLED' | 'ENABLED' | 'RELOADING'
+ /** @enum {string} */
+ pool_mode: 'transaction' | 'session' | 'statement'
}
- CreateProviderBody: {
- /**
- * @description What type of provider will be created
- * @enum {string}
- */
- type: 'saml'
- metadata_xml?: string
- metadata_url?: string
- domains?: string[]
- attribute_mapping?: components['schemas']['AttributeMapping']
+ UpdatePostgresConfigBody: {
+ effective_cache_size?: string
+ maintenance_work_mem?: string
+ max_connections?: number
+ max_locks_per_transaction?: number
+ max_parallel_maintenance_workers?: number
+ max_parallel_workers?: number
+ max_parallel_workers_per_gather?: number
+ max_standby_archive_delay?: string
+ max_standby_streaming_delay?: string
+ max_worker_processes?: number
+ /** @enum {string} */
+ session_replication_role?: 'origin' | 'replica' | 'local'
+ shared_buffers?: string
+ statement_timeout?: string
+ work_mem?: string
}
- SamlDescriptor: {
- id: string
- entity_id: string
+ UpdatePostgrestConfigBody: {
+ db_extra_search_path?: string
+ db_pool?: number
+ db_schema?: string
+ max_rows?: number
+ }
+ UpdateProfileBody: {
+ first_name: string
+ last_name: string
+ }
+ UpdateProjectBody: {
+ name: string
+ }
+ UpdateProviderBody: {
+ attribute_mapping?: components['schemas']['AttributeMapping']
+ domains?: string[]
metadata_url?: string
metadata_xml?: string
- attribute_mapping?: components['schemas']['AttributeMapping']
}
- Domain: {
- id: string
- domain?: string
+ UpdateProviderResponse: {
created_at?: string
- updated_at?: string
- }
- CreateProviderResponse: {
- id: string
- saml?: components['schemas']['SamlDescriptor']
domains?: components['schemas']['Domain'][]
- created_at?: string
- updated_at?: string
- }
- Provider: {
id: string
saml?: components['schemas']['SamlDescriptor']
- domains?: components['schemas']['Domain'][]
- created_at?: string
updated_at?: string
}
- ListProvidersResponse: {
- items: components['schemas']['Provider'][]
+ UpdatePublicationBody: {
+ id?: number
+ name?: string
+ owner?: string
+ publish_delete?: boolean
+ publish_insert?: boolean
+ publish_truncate?: boolean
+ publish_update?: boolean
+ tables?: string[] | null
}
- GetProviderResponse: {
- id: string
- saml?: components['schemas']['SamlDescriptor']
- domains?: components['schemas']['Domain'][]
- created_at?: string
- updated_at?: string
+ UpdateRestrictionsBody: {
+ no_notification?: boolean
+ restriction_data?: components['schemas']['RestrictionData']
+ /** @enum {string} */
+ restriction_status: 'grace_period' | 'grace_period_over' | 'null' | 'restricted'
}
- UpdateProviderBody: {
- metadata_xml?: string
- metadata_url?: string
- domains?: string[]
- attribute_mapping?: components['schemas']['AttributeMapping']
+ UpdateRestrictionsResponse: {
+ message?: string
+ restriction_data?: components['schemas']['RestrictionData']
+ /** @enum {string} */
+ restriction_status?: 'grace_period' | 'grace_period_over' | 'null' | 'restricted'
+ slug: string
}
- UpdateProviderResponse: {
- id: string
- saml?: components['schemas']['SamlDescriptor']
- domains?: components['schemas']['Domain'][]
- created_at?: string
- updated_at?: string
+ UpdateRoleBody: {
+ can_bypass_rls?: boolean
+ can_create_db?: boolean
+ can_create_role?: boolean
+ can_login?: boolean
+ config?: Record<string, never>
+ connection_limit?: number
+ inherit_role?: boolean
+ is_replication_role?: boolean
+ is_superuser?: boolean
+ name?: string
+ password?: string
+ valid_until?: string
}
- DeleteProviderResponse: {
- id: string
- saml?: components['schemas']['SamlDescriptor']
- domains?: components['schemas']['Domain'][]
- created_at?: string
- updated_at?: string
+ UpdateSchemaBody: {
+ name?: string
+ owner?: string
}
- V1RunQueryBody: {
- query: string
+ UpdateSecretsConfigBody: {
+ change_tracking_id: string
+ jwt_secret: string
}
- V1Backup: {
+ UpdateSecretsResponse: {
+ message: string
+ }
+ UpdateStorageBucketBody: {
+ allowed_mime_types: string[]
+ file_size_limit: number
+ public: boolean
+ }
+ UpdateStorageConfigBody: {
+ fileSizeLimit: number
+ }
+ UpdateStorageConfigResponse: {
+ fileSizeLimit: number
+ }
+ UpdateSubscriptionBody: {
+ payment_method?: string
/** @enum {string} */
- status: 'COMPLETED' | 'FAILED' | 'PENDING' | 'REMOVED' | 'ARCHIVED'
- is_physical_backup: boolean
- inserted_at: string
+ tier: 'tier_payg' | 'tier_pro' | 'tier_free' | 'tier_team' | 'tier_enterprise'
}
- V1PhysicalBackup: {
- earliest_physical_backup_date_unix?: number
- latest_physical_backup_date_unix?: number
+ UpdateSubscriptionV2AdminBody: {
+ payment_method?: string
+ price_id?: string
+ skip_free_plan_validations?: boolean
+ /** @enum {string} */
+ tier: 'tier_payg' | 'tier_pro' | 'tier_free' | 'tier_team' | 'tier_enterprise'
}
- V1BackupsResponse: {
- region: string
- walg_enabled: boolean
- pitr_enabled: boolean
- backups: components['schemas']['V1Backup'][]
- physical_backup_data: components['schemas']['V1PhysicalBackup']
+ UpdateSupavisorConfigBody: {
+ default_pool_size?: number | null
+ /**
+ * @deprecated
+ * @description This field is deprecated and is ignored in this request
+ * @enum {string}
+ */
+ pool_mode?: 'transaction' | 'session'
}
- V1RestorePitrBody: {
- recovery_time_target_unix: number
+ UpdateSupavisorConfigResponse: {
+ default_pool_size: number | null
+ /** @enum {string} */
+ pool_mode: 'transaction' | 'session'
}
- FunctionSlugResponse: {
- id: string
- slug: string
- name: string
+ UpdateTableBody: {
+ comment?: string
+ id?: number
+ name?: string
/** @enum {string} */
- status: 'ACTIVE' | 'REMOVED' | 'THROTTLED'
- version: number
- created_at: number
- updated_at: number
- verify_jwt?: boolean
- import_map?: boolean
- entrypoint_path?: string
- import_map_path?: string
+ replica_identity?: 'DEFAULT' | 'INDEX' | 'FULL' | 'NOTHING'
+ replica_identity_index?: string
+ rls_enabled?: boolean
+ rls_forced?: boolean
+ schema?: string
}
- V1StorageBucketResponse: {
- id: string
- name: string
- owner: string
- created_at: string
- updated_at: string
- public: boolean
+ UpdateTriggerBody: {
+ /** @enum {string} */
+ activation?: 'AFTER' | 'BEFORE'
+ /** @enum {string} */
+ enabled_mode?: 'ORIGIN' | 'REPLICA' | 'ALWAYS' | 'DISABLED'
+ events?: ('INSERT' | 'UPDATE' | 'DELETE')[]
+ function_args?: string[]
+ function_name?: string
+ function_schema?: string
+ id?: number
+ name?: string
+ /** @enum {string} */
+ orientation?: 'ROW' | 'STATEMENT'
+ schema?: string
+ table?: string
+ table_id?: number
+ }
+ UpdateVercelConnectionsBody: {
+ env_sync_targets?: ('production' | 'preview' | 'development')[]
}
- OrganizationResponseV1: {
- id: string
+ UpgradeDatabaseBody: {
+ target_version: number
+ }
+ UpsertContentBody: {
+ content?: Record<string, never>
+ description?: string
+ id?: string
name: string
+ owner_id?: number
+ project_id: number
+ /** @enum {string} */
+ type: 'sql' | 'report' | 'log_sql'
+ /** @enum {string} */
+ visibility: 'user' | 'project' | 'org' | 'public'
}
- CreateOrganizationBodyV1: {
+ UpsertContentBodyV2: {
+ content?: Record<string, never>
+ description?: string
+ folder_id?: string
+ id?: string
name: string
+ owner_id?: number
+ project_id: number
+ /** @enum {string} */
+ type: 'sql' | 'report' | 'log_sql'
+ /** @enum {string} */
+ visibility: 'user' | 'project' | 'org' | 'public'
}
- V1OrganizationMemberResponse: {
- user_id: string
- user_name: string
+ UserBody: {
+ aud?: string
+ banned_until?: string
+ confirmation_sent_at?: string
+ confirmation_token?: string
+ confirmed_at?: string
+ created_at?: string
+ deleted_at?: string
email?: string
- role_name: string
- mfa_enabled: boolean
+ email_change?: string
+ email_change_confirm_status?: number
+ email_change_sent_at?: string
+ email_change_token_current?: string
+ email_change_token_new?: string
+ email_confirmed_at?: string
+ encrypted_password?: string
+ id?: string
+ instance_id?: string
+ invited_at?: string
+ is_anonymous?: boolean
+ is_sso_user?: boolean
+ is_super_admin?: boolean
+ last_sign_in_at?: string
+ phone?: string
+ phone_change?: string
+ phone_change_sent_at?: string
+ phone_change_token?: string
+ phone_confirmed_at?: string
+ raw_app_meta_data?: Record<string, never>
+ raw_user_meta_data?: Record<string, never>
+ reauthentication_sent_at?: string
+ reauthentication_token?: string
+ recovery_sent_at?: string
+ recovery_token?: string
+ role?: string
+ updated_at?: string
}
- V1OrganizationSlugResponse: {
- plan?: components['schemas']['BillingPlanId']
- opt_in_tags: 'AI_SQL_GENERATOR_OPT_IN'[]
+ UserContentFolder: {
id: string
name: string
+ owner_id: number
+ parent_id?: string | null
+ project_id: number
}
- OAuthTokenBody: {
+ UserContentObject: {
+ content: Record<string, never>
+ description?: string
+ id: string
+ inserted_at: string
+ last_updated_by?: number
+ name: string
+ owner_id: number
+ project_id: number
/** @enum {string} */
- grant_type: 'authorization_code' | 'refresh_token'
- client_id: string
- client_secret: string
- code?: string
- code_verifier?: string
- redirect_uri?: string
- refresh_token?: string
- }
- OAuthTokenResponse: {
+ type: 'sql' | 'report' | 'log_sql'
+ updated_at: string
/** @enum {string} */
- token_type: 'Bearer'
- access_token: string
- refresh_token: string
- expires_in: number
- }
- SnippetProject: {
- id: number
- name: string
- }
- SnippetUser: {
- id: number
- username: string
+ visibility: 'user' | 'project' | 'org' | 'public'
}
- SnippetMeta: {
+ UserContentObjectMeta: {
+ description?: string
+ folder_id?: string
id: string
inserted_at: string
- updated_at: string
+ last_updated_by?: number
+ name: string
+ owner_id: number
+ project_id: number
/** @enum {string} */
- type: 'sql'
+ type: 'sql' | 'report' | 'log_sql'
+ updated_at: string
/** @enum {string} */
visibility: 'user' | 'project' | 'org' | 'public'
- name: string
- description?: string
- project: components['schemas']['SnippetProject']
- owner: components['schemas']['SnippetUser']
- updated_by: components['schemas']['SnippetUser']
- }
- SnippetList: {
- data: components['schemas']['SnippetMeta'][]
}
- SnippetContent: {
- favorite: boolean
- schema_version: string
- sql: string
- }
- SnippetResponse: {
+ UserContentObjectV2: {
+ content: Record<string, never>
+ description?: string
+ folder_id?: string
id: string
inserted_at: string
- updated_at: string
+ last_updated_by?: number
+ name: string
+ owner_id: number
+ project_id: number
/** @enum {string} */
- type: 'sql'
+ type: 'sql' | 'report' | 'log_sql'
+ updated_at: string
/** @enum {string} */
visibility: 'user' | 'project' | 'org' | 'public'
- name: string
- description?: string
- project: components['schemas']['SnippetProject']
- owner: components['schemas']['SnippetUser']
- updated_by: components['schemas']['SnippetUser']
- content: components['schemas']['SnippetContent']
}
- ServiceHealthResponse: {
- /**
- * @description Service name
- * @enum {string}
- */
- name: 'auth' | 'db' | 'pooler' | 'realtime' | 'rest' | 'storage'
- /** @description Whether the service is healthy */
- healthy: boolean
- /**
- * @description Service health status
- * @example COMING_UP
- * @enum {string}
- */
- status: 'COMING_UP' | 'ACTIVE_HEALTHY' | 'UNHEALTHY'
- /** @description Service health check error */
- error?: string
+ UsersResponse: {
+ total: number
+ users: components['schemas']['UserBody'][]
}
- ResourceWithServicesStatusResponse: {
- /** @description Supabase project instance compute size */
- compute: string
- /** @description Unique ID representing the fly extension */
- id: string
- /**
- * @description Supabase project status
- * @example ACTIVE_HEALTHY
- * @enum {string}
- */
- status:
- | 'ACTIVE_HEALTHY'
- | 'ACTIVE_UNHEALTHY'
- | 'COMING_UP'
- | 'GOING_DOWN'
- | 'INACTIVE'
- | 'INIT_FAILED'
- | 'REMOVED'
- | 'RESTARTING'
- | 'UNKNOWN'
- | 'UPGRADING'
- | 'PAUSING'
- | 'RESTORING'
- | 'RESTORE_FAILED'
- | 'PAUSE_FAILED'
- /**
- * @description Supabase organization id
- * @example fly_123456789
- */
- supabase_org_id: string
- /** @description Supabase project services health status */
- services: components['schemas']['ServiceHealthResponse'][]
+ V1Backup: {
+ inserted_at: string
+ is_physical_backup: boolean
+ /** @enum {string} */
+ status: 'COMPLETED' | 'FAILED' | 'PENDING' | 'REMOVED' | 'ARCHIVED'
}
- /**
- * @description Organization subscription plan
- * @enum {string}
- */
- SelfServePlanId: 'free' | 'pro' | 'team'
- FlyResourceProvisioningBody: {
- /** @description A UNIX epoch timestamp value */
- timestamp: number
- /** @description A random unique string identifying the individual request */
- nonce: string
- /** @description The full request target URL */
- url: string
- /** @description Name of the extension */
- name: string
- /** @description Unique ID representing the extension */
- id: string
- /** @description Unique ID representing an organization */
- organization_id: string
- /** @description Display name for an organization */
- organization_name: string
- /** @description Obfuscated email that routes to the provisioning user */
- user_email: string
- /** @description Unique ID representing an user */
- user_id: string
- /** @description The three-letter, primary Fly.io region where the target app intends to write from */
- primary_region: string
- /** @description An IPv6 address on the customer network assigned to this extension */
- ip_address: string
- /**
- * @description An array of Fly.io region codes where read replicas should be provisioned
- * @default []
- */
- read_regions: string[]
- /** @description Database password (Optional, don't send to generate one) */
- db_pass?: string
- /** @example large */
- desired_instance_size?: components['schemas']['DesiredInstanceSize']
- /** @example pro */
- organization_plan?: components['schemas']['SelfServePlanId']
- user_name: string
+ V1BackupsResponse: {
+ backups: components['schemas']['V1Backup'][]
+ physical_backup_data: components['schemas']['V1PhysicalBackup']
+ pitr_enabled: boolean
+ region: string
+ walg_enabled: boolean
+ }
+ V1CreateFunctionBody: {
+ body: string
+ name: string
+ slug: string
+ verify_jwt?: boolean
}
- ResourceProvisioningConfigResponse: {
- /**
- * @description PSQL connection string
- * @example postgresql://postgres:[email protected]:5432/postgres
- */
- DATABASE_URL: string
+ V1CreateProjectBody: {
+ /** @description Database password */
+ db_pass: string
+ desired_instance_size?: components['schemas']['DesiredInstanceSize']
/**
- * @description Pooler connection string
- * @example postgres://postgres.abcdefghijklmnop:[email protected]:6543/postgres
+ * @deprecated
+ * @description This field is deprecated and is ignored in this request
*/
- DATABASE_POOLER_URL: string
- }
- ResourceProvisioningResponse: {
- /** @description Supabase envs config */
- config: components['schemas']['ResourceProvisioningConfigResponse']
+ kps_enabled?: boolean
+ /** @description Name of your project, should not contain dots */
+ name: string
+ /** @description Slug of your organization */
+ organization_id: string
/**
- * @description The target Fly application for internal traffic
- * @example ext-db-pgshhamktpsgnptvcadw
+ * @deprecated
+ * @description Subscription plan is now set on organization level and is ignored in this request
+ * @example free
+ * @enum {string}
*/
- fly_app_name: string
+ plan?: 'free' | 'pro'
/**
- * @description Supabase project id
- * @example pgshhamktpsgnptvcadw
+ * @description Region you want your server to reside in
+ * @example us-east-1
+ * @enum {string}
*/
- id: string
- /** @description Welcome message */
- message: string
+ region:
+ | 'us-east-1'
+ | 'us-west-1'
+ | 'us-west-2'
+ | 'ap-east-1'
+ | 'ap-southeast-1'
+ | 'ap-northeast-1'
+ | 'ap-northeast-2'
+ | 'ap-southeast-2'
+ | 'eu-west-1'
+ | 'eu-west-2'
+ | 'eu-west-3'
+ | 'eu-central-1'
+ | 'ca-central-1'
+ | 'ap-south-1'
+ | 'sa-east-1'
/**
- * @description Supabase organization id
- * @example fly_123456789
+ * @description Template URL used to create the project from the CLI.
+ * @example https://github.com/supabase/supabase/tree/master/examples/slack-clone/nextjs-slack-clone
*/
- supabase_org_id: string
+ template_url?: string
}
- FlyOrganization: {
- plan: components['schemas']['BillingPlanId']
+ V1DatabaseResponse: {
+ /** @description Database host */
+ host: string
+ /** @description Database version */
+ version: string
+ }
+ V1OrganizationMemberResponse: {
+ email?: string
+ mfa_enabled: boolean
+ role_name: string
+ user_id: string
+ user_name: string
+ }
+ V1OrganizationSlugResponse: {
id: string
- supabase_org_id: string
name: string
- free_db_eligible: boolean
+ opt_in_tags: 'AI_SQL_GENERATOR_OPT_IN'[]
+ plan?: components['schemas']['BillingPlanId']
}
- OrganizationExtensionStatus: {
- /** @description Supabase project instance compute size */
- compute: string
- /** @description Unique ID representing the fly extension */
+ V1PgbouncerConfigResponse: {
+ connection_string?: string
+ default_pool_size?: number
+ ignore_startup_parameters?: string
+ max_client_conn?: number
+ /** @enum {string} */
+ pool_mode?: 'transaction' | 'session' | 'statement'
+ }
+ V1PhysicalBackup: {
+ earliest_physical_backup_date_unix?: number
+ latest_physical_backup_date_unix?: number
+ }
+ V1PostgrestConfigResponse: {
+ db_extra_search_path: string
+ /** @description If `null`, the value is automatically configured based on compute size. */
+ db_pool: number | null
+ db_schema: string
+ max_rows: number
+ }
+ V1ProjectRefResponse: {
+ id: number
+ name: string
+ ref: string
+ }
+ V1ProjectResponse: {
+ /**
+ * @description Creation timestamp
+ * @example 2023-03-29T16:32:59Z
+ */
+ created_at: string
+ database?: components['schemas']['V1DatabaseResponse']
+ /** @description Id of your project */
id: string
+ /** @description Name of your project */
+ name: string
+ /** @description Slug of your organization */
+ organization_id: string
/**
- * @description Supabase project status
- * @example ACTIVE_HEALTHY
- * @enum {string}
+ * @description Region of your project
+ * @example us-east-1
*/
+ region: string
+ /** @enum {string} */
status:
| 'ACTIVE_HEALTHY'
| 'ACTIVE_UNHEALTHY'
@@ -5906,62 +5910,63 @@ export interface components {
| 'RESTORING'
| 'RESTORE_FAILED'
| 'PAUSE_FAILED'
- /**
- * @description Supabase organization id
- * @example fly_123456789
- */
- supabase_org_id: string
}
- FlyUpdateOrganizationSubscriptionBody: {
- /** @description A UNIX epoch timestamp value */
- timestamp: number
- /** @description A random unique string identifying the individual request */
- nonce: string
- /** @description The full request target URL */
- url: string
- /** @example pro */
- plan: components['schemas']['SelfServePlanId']
+ V1RestorePitrBody: {
+ recovery_time_target_unix: number
}
- ResourceBillingItem: {
- /**
- * @description Non-Unique identifier of the item
- * @example usage_egress
- */
- itemIdentifier: string
- /**
- * @description Descriptive name of the billing item
- * @example Pro Plan
- */
- itemName: string
+ V1RunQueryBody: {
+ query: string
+ }
+ V1ServiceHealthResponse: {
+ error?: string
+ healthy: boolean
+ info?:
+ | components['schemas']['AuthHealthResponse']
+ | components['schemas']['RealtimeHealthResponse']
/** @enum {string} */
- type: 'usage' | 'plan' | 'addon' | 'proration' | 'compute_credits'
- /**
- * @description In case of a usage item, the free usage included in the customers plan
- * @example 100
- */
- freeUnitsInPlan?: number
- /**
- * @description In case of a usage item, the total usage
- * @example 100
- */
- usageTotal?: number
- /**
- * @description In case of a usage item, the billable usage amount, free usage has been deducted
- * @example 100
- */
- usageBillable?: number
- /**
- * @description Costs of the item in cents
- * @example 100
- */
- costs: number
+ name: 'auth' | 'db' | 'pooler' | 'realtime' | 'rest' | 'storage'
+ /** @enum {string} */
+ status: 'COMING_UP' | 'ACTIVE_HEALTHY' | 'UNHEALTHY'
}
- ResourceBillingResponse: {
- /** @description Whether the user is exceeding the included quotas in the plan - only relevant for users on usage-capped plans. */
- exceedsPlanLimits: boolean
- /** @description Whether the user is can have over-usage, which will be billed - this will be false on usage-capped plans. */
- overusageAllowed: boolean
- items: components['schemas']['ResourceBillingItem'][]
+ V1StorageBucketResponse: {
+ created_at: string
+ id: string
+ name: string
+ owner: string
+ public: boolean
+ updated_at: string
+ }
+ V1UpdateFunctionBody: {
+ body?: string
+ name?: string
+ verify_jwt?: boolean
+ }
+ ValidateQueryBody: {
+ query: string
+ }
+ ValidateQueryResponse: {
+ valid: boolean
+ }
+ VanitySubdomainBody: {
+ vanity_subdomain: string
+ }
+ VanitySubdomainConfigResponse: {
+ custom_domain?: string
+ /** @enum {string} */
+ status: 'not-used' | 'custom-domain-used' | 'active'
+ }
+ VercelProjectDeployHooks: {
+ createdAt?: number
+ id: string
+ name: string
+ ref: string
+ url: string
+ }
+ VercelProjectLink: {
+ deployHooks: components['schemas']['VercelProjectDeployHooks'][]
+ gitCredentialId?: string
+ productionBranch?: string
+ type?: string
}
}
responses: never
@@ -5970,231 +5975,146 @@ export interface components {
headers: never
pathItems: never
}
-
-export type $defs = Record<string, never>
-
-export type external = Record<string, never>
-
-export interface operations {
- /** Get notifications */
- NotificationsController_getNotificationsV2: {
- parameters: {
- query: {
- status: 'new' | 'seen' | 'archived'
- priority: 'Critical' | 'Warning' | 'Info'
- org_slug?: string[]
- project_ref?: string[]
- offset: number
- limit: number
- }
- }
+
+export type $defs = Record<string, never>
+
+export type external = Record<string, never>
+
+export interface operations {
+ /** Redirects to Supabase dashboard after completing Fly sso */
+ CallbackController_redirectToDashboardFlyioExtensionScreen: {
responses: {
200: {
- content: {
- 'application/json': components['schemas']['NotificationResponseV2'][]
- }
- }
- /** @description Failed to retrieve notifications */
- 500: {
content: never
}
}
}
- /** Delete notifications */
- NotificationsController_deleteNotifications: {
+ /** Creates a database */
+ FlyExtensionsController_provisionResource: {
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateNotificationsBodyV1']
+ 'application/json': components['schemas']['FlyResourceProvisioningBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['NotificationResponseV1'][]
+ 'application/json': components['schemas']['ResourceProvisioningResponse']
}
}
- /** @description Failed to delete notifications */
- 500: {
- content: never
- }
}
}
- /** Update notifications */
- NotificationsController_updateNotificationsV2: {
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateNotificationBodyV2'][]
+ /** Gets database status */
+ ExtensionController_getResourceStatus: {
+ parameters: {
+ path: {
+ extension_id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['NotificationResponseV2'][]
+ 'application/json': components['schemas']['ResourceWithServicesStatusResponse']
}
}
- /** @description Failed to update notifications */
- 500: {
- content: never
- }
}
}
- /** Get an aggregated data of interest across all notifications for the user */
- NotificationsController_getNotificationsSummary: {
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['NotificationsSummary']
- }
+ /** Deletes a database */
+ ExtensionController_deleteResource: {
+ parameters: {
+ path: {
+ extension_id: string
}
}
- }
- /** Archives all notifications */
- NotificationsController_archiveAllNotifications: {
responses: {
200: {
content: never
}
- /** @description Failed to archive all notifications */
- 500: {
- content: never
- }
- }
- }
- /** Reset password for email */
- ResetPasswordController_resetPassword: {
- requestBody: {
- content: {
- 'application/json': components['schemas']['ResetPasswordBody']
- }
- }
- responses: {
- 201: {
- content: never
- }
}
}
- /** Send feedback */
- SendFeedbackController_sendFeedback: {
- requestBody: {
- content: {
- 'application/json': components['schemas']['SendFeedbackBody']
+ /** Starts Fly single sign on */
+ ExtensionController_startFlyioSSO: {
+ parameters: {
+ path: {
+ extension_id: string
}
}
responses: {
- 201: {
- content: {
- 'application/json': components['schemas']['SendFeedbackResponse']
- }
- }
- /** @description Failed to send feedback */
- 500: {
+ 200: {
content: never
}
}
}
- /** Send exit survey to HubSpot */
- SendExitSurveyController_sendExitSurvey: {
- requestBody: {
- content: {
- 'application/json': components['schemas']['SendExitSurveyBody']
+ /** Gets details of the organization linked to the provided Fly organization id */
+ FlyOrganizationsController_getOrganization: {
+ parameters: {
+ path: {
+ organization_id: string
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['SendFeedbackResponse']
+ 'application/json': components['schemas']['FlyOrganization']
}
}
- /** @description Failed to send exit survey */
- 500: {
- content: never
- }
}
}
- /** Send upgrade survey to survey_responses table */
- SendUpgradeSurveyController_sendUpgradeSurvey: {
- requestBody: {
- content: {
- 'application/json': components['schemas']['SendUpgradeSurveyBody']
+ /** Gets the organizations current unbilled charges */
+ FlyBillingController_getResourceBilling: {
+ parameters: {
+ path: {
+ organization_id: string
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['SendFeedbackResponse']
+ 'application/json': components['schemas']['ResourceBillingResponse']
}
}
- /** @description Failed to send upgrade survey */
- 500: {
- content: never
- }
}
}
- /** Send feedback on docs */
- SendDocsFeedbackController_sendDocsFeedback: {
- requestBody: {
- content: {
- 'application/json': components['schemas']['SendDocsFeedbackBody']
+ /** Gets all databases that belong to the given Fly organization id */
+ FlyOrganizationsController_getOrgExtensions: {
+ parameters: {
+ path: {
+ organization_id: string
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['SendFeedbackResponse']
+ 'application/json': components['schemas']['OrganizationExtensionStatus'][]
}
}
- /** @description Failed to send feedback for docs */
- 500: {
- content: never
- }
}
}
- /** Sign up with email and password */
- SignUpController_signUp: {
- requestBody: {
- content: {
- 'application/json': components['schemas']['SignUpBody']
- }
- }
- responses: {
- 201: {
- content: never
+ /** Starts Fly single sign on */
+ FlyOrganizationsController_startFlyioSSO: {
+ parameters: {
+ path: {
+ organization_id: string
}
}
- }
- /** Get infrastructure status */
- StatusController_getStatus: {
responses: {
200: {
content: never
}
- /** @description Failed to retrieve infrastructure status */
- 500: {
- content: never
- }
- }
- }
- /**
- * Gets resource warnings for all projects accessible by the user
- * @description Only returns the minimal project info
- */
- ProjectsResourceWarningsController_getProjectsResourceWarnings: {
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['ProjectResourceWarningsResponse'][]
- }
- }
}
}
- /** Redirects to Fly sso flow */
- TermsOfServiceController_flyTosAccepted: {
+ /** Updates organization subscription linked to the provided Fly organization id */
+ FlyOrganizationsController_updateOrganization: {
parameters: {
- query: {
- extension_id: string
+ path: {
organization_id: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['FlyUpdateOrganizationSubscriptionBody']
+ }
+ }
responses: {
200: {
content: never
@@ -6428,58 +6348,117 @@ export interface operations {
}
responses: {
200: {
- content: {
- 'application/json': Record<string, never>
- }
- }
- 403: {
+ content: {
+ 'application/json': Record<string, never>
+ }
+ }
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete user */
+ 500: {
+ content: never
+ }
+ }
+ }
+ /** Delete all factors associated to a user */
+ FactorsController_deleteFactors: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ id: string
+ }
+ }
+ responses: {
+ 200: {
+ content: {
+ 'application/json': Record<string, never>
+ }
+ }
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete factors */
+ 500: {
+ content: never
+ }
+ }
+ }
+ /** Create CLI login session */
+ CliLoginController_createCliLoginSession: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['CreateCliLoginSessionBody']
+ }
+ }
+ responses: {
+ 201: {
+ content: never
+ }
+ /** @description Failed to create CLI login session */
+ 500: {
+ content: never
+ }
+ }
+ }
+ /** Retrieve CLI login session */
+ CliLoginController_getCliLoginSession: {
+ parameters: {
+ path: {
+ session_id: string
+ }
+ }
+ responses: {
+ 200: {
content: never
}
- /** @description Failed to delete user */
+ /** @description Failed to retrieve CLI login session */
500: {
content: never
}
}
}
- /** Delete all factors associated to a user */
- FactorsController_deleteFactors: {
+ /** Gets project backups */
+ BackupsController_getBackups: {
parameters: {
path: {
/** @description Project ref */
ref: string
- id: string
}
}
responses: {
200: {
content: {
- 'application/json': Record<string, never>
+ 'application/json': components['schemas']['BackupsResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to delete factors */
+ /** @description Failed to get project backups */
500: {
content: never
}
}
}
- /** Gets project backups */
- BackupsController_getBackups: {
+ /** Download project backup */
+ BackupsController_downloadBackup: {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['DownloadBackupBody']
+ }
+ }
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['BackupsResponse']
+ 'application/json': components['schemas']['DownloadBackupResponse']
}
}
- /** @description Failed to get project backups */
+ /** @description Failed to download project backup */
500: {
content: never
}
@@ -6503,8 +6482,8 @@ export interface operations {
}
}
}
- /** Download project backup */
- BackupsController_downloadBackup: {
+ /** Restore project to a previous point in time */
+ BackupsController_restorePointInTimeBackup: {
parameters: {
path: {
/** @description Project ref */
@@ -6513,16 +6492,14 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['DownloadBackupBody']
+ 'application/json': components['schemas']['PointInTimeRestoreBody']
}
}
responses: {
201: {
- content: {
- 'application/json': components['schemas']['DownloadBackupResponse']
- }
+ content: never
}
- /** @description Failed to download project backup */
+ /** @description Failed to restore project to a previous point in time */
500: {
content: never
}
@@ -6574,24 +6551,22 @@ export interface operations {
}
}
}
- /** Restore project to a previous point in time */
- BackupsController_restorePointInTimeBackup: {
+ /** Enables Database Webhooks on the project */
+ HooksController_enableHooks: {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['PointInTimeRestoreBody']
- }
- }
responses: {
201: {
content: never
}
- /** @description Failed to restore project to a previous point in time */
+ 403: {
+ content: never
+ }
+ /** @description Failed to enable Database Webhooks on the project */
500: {
content: never
}
@@ -6628,802 +6603,657 @@ export interface operations {
}
}
}
- /** Enables Database Webhooks on the project */
- HooksController_enableHooks: {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
+ /** Send feedback on docs */
+ SendDocsFeedbackController_sendDocsFeedback: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['SendDocsFeedbackBody']
}
}
responses: {
201: {
- content: never
- }
- 403: {
- content: never
- }
- /** @description Failed to enable Database Webhooks on the project */
- 500: {
- content: never
- }
- }
- }
- /** Gets user's organizations */
- OrganizationsController_getOrganizations: {
- responses: {
- 200: {
content: {
- 'application/json': components['schemas']['OrganizationResponse'][]
+ 'application/json': components['schemas']['SendFeedbackResponse']
}
}
- /** @description Failed to retrieve user's organizations */
+ /** @description Failed to send feedback for docs */
500: {
content: never
}
}
}
- /** Creates an organization */
- OrganizationsController_createOrganizationWithTier: {
+ /** Send exit survey to HubSpot */
+ SendExitSurveyController_sendExitSurvey: {
requestBody: {
content: {
- 'application/json': components['schemas']['CreateOrganizationBody']
+ 'application/json': components['schemas']['SendExitSurveyBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['OrganizationResponse']
+ 'application/json': components['schemas']['SendFeedbackResponse']
}
}
- /** @description Unexpected error creating an organization */
+ /** @description Failed to send exit survey */
500: {
content: never
}
}
}
- /** Gets organization linked to fly organization id */
- OrganizationsController_getOrganizationByFlyOrganizationId: {
- parameters: {
- path: {
- fly_organization_id: string
+ /** Send feedback */
+ SendFeedbackController_sendFeedback: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['SendFeedbackBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['GetOrganizationByFlyOrganizationIdResponse']
+ 'application/json': components['schemas']['SendFeedbackResponse']
}
}
- }
- }
- /** Deletes organization */
- OrganizationSlugController_deleteOrganization: {
- parameters: {
- path: {
- /** @description Organization slug */
- slug: string
- }
- }
- responses: {
- 200: {
- content: never
- }
- 403: {
- content: never
- }
- /** @description Failed to delete organization */
+ /** @description Failed to send feedback */
500: {
content: never
}
}
}
- /** Updates organization */
- OrganizationSlugController_updateOrganization: {
- parameters: {
- path: {
- /** @description Organization slug */
- slug: string
- }
- }
+ /** Send upgrade survey to survey_responses table */
+ SendUpgradeSurveyController_sendUpgradeSurvey: {
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateOrganizationBody']
+ 'application/json': components['schemas']['SendUpgradeSurveyBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['OrganizationSlugResponse']
+ 'application/json': components['schemas']['SendFeedbackResponse']
}
}
- /** @description Failed to update organization */
+ /** @description Failed to send upgrade survey */
500: {
content: never
}
}
}
- /** Gets the Stripe customer */
- CustomerController_getCustomer: {
+ /** Gets user's integrations */
+ IntegrationsController_getUserInstallations: {
parameters: {
- path: {
- /** @description Organization slug */
- slug: string
+ query: {
+ /** @description Filter results by integration name. Optional */
+ integration_name: unknown
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['CustomerResponse']
+ 'application/json': components['schemas']['GetUserOrganizationIntegrationResponse'][]
}
}
- /** @description Failed to retrieve the Stripe customer */
+ /** @description Failed to get user's integrations */
500: {
content: never
}
}
}
- /** Updates the billing customer */
- updateCustomerV2: {
+ /** Gets integration with the given organization slug */
+ IntegrationsController_getUserInstallationForOrg: {
parameters: {
path: {
- /** @description Organization slug */
slug: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['BillingCustomerUpdateBody']
- }
- }
responses: {
- 204: {
- content: never
- }
- 403: {
- content: never
+ 200: {
+ content: {
+ 'application/json': components['schemas']['GetOrganizationIntegrationResponse'][]
+ }
}
- /** @description Failed to update the billing customer */
+ /** @description Failed to get integration with the given organization slug */
500: {
content: never
}
}
}
- /** Gets the given organization's roles */
- OrganizationRolesController_getAllRolesV2: {
- parameters: {
- path: {
- /** @description Organization slug */
- slug: string
- }
- }
+ /** Get GitHub authorization */
+ GitHubAuthorizationsController_getGitHubAuthorization: {
responses: {
200: {
content: {
- 'application/json': components['schemas']['OrganizationRoleResponseV2']
+ 'application/json': components['schemas']['GitHubAuthorization']
}
}
- /** @description Failed to retrieve the organization's roles */
+ /** @description Failed to get GitHub authorization */
500: {
content: never
}
}
}
- /** Gets the given organization's tax IDs */
- TaxIdsController_getTaxIds: {
- parameters: {
- path: {
- /** @description Organization slug */
- slug: string
+ /** Create GitHub authorization */
+ GitHubAuthorizationsController_createGitHubAuthorization: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['CreateGitHubAuthorizationBody']
}
}
responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['TaxIdResponse']
- }
- }
- 403: {
+ 201: {
content: never
}
- /** @description Failed to retrieve the organization's tax IDs */
+ /** @description Failed to create GitHub authorization */
500: {
content: never
}
}
}
- /** Creates or updates a tax ID for the given organization */
- TaxIdsController_updateTaxId: {
+ /** List GitHub connection branches */
+ GitHubBranchesController_listConnectionBranches: {
parameters: {
- path: {
- /** @description Organization slug */
- slug: string
+ query?: {
+ per_page?: number
+ page?: number
}
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['CreateTaxIdBody']
+ path: {
+ connectionId: number
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['TaxIdV2Response']
+ 'application/json': Record<string, never>[]
}
}
- 403: {
- content: never
- }
- /** @description Failed to create the tax ID */
+ /** @description Failed to list GitHub connection branches */
500: {
content: never
}
}
}
- /** Creates a tax ID for the given organization */
- TaxIdsController_createTaxId: {
+ /** Get GitHub connection branch */
+ GitHubBranchesController_getConnectionBranch: {
parameters: {
path: {
- /** @description Organization slug */
- slug: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['CreateTaxIdBody']
+ connectionId: number
+ branchName: string
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['CreateTaxIdResponse']
+ 'application/json': Record<string, never>
}
}
- 403: {
- content: never
- }
- /** @description Failed to create the tax ID */
+ /** @description Failed to get GitHub connection branch */
500: {
content: never
}
}
}
- /** Delete the tax ID with the given ID */
- TaxIdsController_deleteTaxId: {
+ /** List organization GitHub connections */
+ GitHubConnectionsController_listOrganizationGitHubConnections: {
parameters: {
- path: {
- /** @description Organization slug */
- slug: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['DeleteTaxIdBody']
+ query: {
+ organization_id: number
}
}
responses: {
200: {
- content: never
- }
- 403: {
- content: never
+ content: {
+ 'application/json': components['schemas']['ListGitHubConnectionsResponse']
+ }
}
- /** @description Failed to delete the tax ID */
+ /** @description Failed to list organization GitHub connections */
500: {
content: never
}
}
}
- /** Transfers the organization to the given member */
- TransferController_transferOrganization: {
+ /** Connects a GitHub project to a supabase project */
+ GitHubConnectionsController_createGitHubConnection: {
requestBody: {
content: {
- 'application/json': components['schemas']['TransferOrganizationBody']
+ 'application/json': components['schemas']['CreateGitHubConnectionsBody']
}
}
responses: {
201: {
content: never
}
- /** @description Failed to update owner */
+ /** @description Failed to create project connections */
500: {
content: never
}
}
}
- /** Gets daily organization stats */
- OrgDailyStatsController_getDailyStats: {
+ /** Deletes github project connection */
+ GitHubConnectionsController_deleteGitHubConnection: {
parameters: {
- query: {
- metric:
- | 'EGRESS'
- | 'DATABASE_SIZE'
- | 'STORAGE_SIZE'
- | 'MONTHLY_ACTIVE_USERS'
- | 'MONTHLY_ACTIVE_SSO_USERS'
- | 'FUNCTION_INVOCATIONS'
- | 'FUNCTION_COUNT'
- | 'STORAGE_IMAGES_TRANSFORMED'
- | 'REALTIME_MESSAGE_COUNT'
- | 'REALTIME_PEAK_CONNECTIONS'
- | 'COMPUTE_HOURS_BRANCH'
- | 'COMPUTE_HOURS_XS'
- | 'COMPUTE_HOURS_SM'
- | 'COMPUTE_HOURS_MD'
- | 'COMPUTE_HOURS_L'
- | 'COMPUTE_HOURS_XL'
- | 'COMPUTE_HOURS_2XL'
- | 'COMPUTE_HOURS_4XL'
- | 'COMPUTE_HOURS_8XL'
- | 'COMPUTE_HOURS_12XL'
- | 'COMPUTE_HOURS_16XL'
- | 'CUSTOM_DOMAIN'
- | 'PITR_7'
- | 'PITR_14'
- | 'PITR_28'
- | 'IPV4'
- interval: string
- endDate: string
- startDate: string
- projectRef?: string
- }
path: {
- /** @description Organization slug */
- slug: string
+ connection_id: string
}
}
responses: {
- 200: {
- content: {
- 'application/json': Record<string, never>
- }
+ 204: {
+ content: never
}
- /** @description Failed to get daily organization stats */
+ /** @description Failed to delete github integration project connection */
500: {
content: never
}
}
}
- /** Gets daily organization stats for compute */
- OrgDailyStatsController_getDailyStatsCompute: {
+ /** Updates a GitHub connection for a supabase project */
+ GitHubConnectionsController_updateGitHubConnection: {
parameters: {
- query: {
- endDate: string
- startDate: string
- projectRef?: string
- }
path: {
- /** @description Organization slug */
- slug: string
+ connection_id: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateGitHubConnectionsBody']
}
}
responses: {
- 200: {
+ 204: {
content: never
}
- /** @description Failed to get daily organization stats for compute */
+ /** @description Failed to update GitHub connection */
500: {
content: never
}
}
}
- /** Gets usage stats */
- OrgUsageController_getOrgUsage: {
- parameters: {
- query?: {
- project_ref?: string
- start?: string
- end?: string
- }
- path: {
- /** @description Organization slug */
- slug: string
- }
- }
+ /** Gets GitHub repositories for user */
+ GitHubRepositoriesController_listRepositories: {
responses: {
200: {
- content: {
- 'application/json': components['schemas']['OrgUsageResponse']
- }
+ content: never
}
- /** @description Failed to get usage stats */
+ /** @description Failed to get GitHub repositories for user */
500: {
content: never
}
}
}
- /** Get standard security questionnaire URL */
- OrgDocumentsController_getStandardSecurityQuestionnaireUrl: {
- parameters: {
- path: {
- /** @description Organization slug */
- slug: string
+ /**
+ * Create vercel integration
+ * @description Exchanges a vercel code for an access token and saves the access token to the new integration record
+ */
+ VercelIntegrationController_createVercelIntegration: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['CreateVercelIntegrationBody']
}
}
responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['OrgDocumentUrlResponse']
- }
+ 201: {
+ content: never
+ }
+ /** @description Failed to create vercel integration */
+ 500: {
+ content: never
}
}
}
- /** Get SOC2 Type 2 report URL */
- OrgDocumentsController_getSoc2Type2ReportUrl: {
+ /** Removes Vercel organization integration with the given id */
+ VercelIntegrationController_removeVercelIntegration: {
parameters: {
path: {
- /** @description Organization slug */
- slug: string
+ organization_integration_id: string
}
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['OrgDocumentUrlResponse']
- }
+ content: never
+ }
+ /** @description Failed to remove Vercel organization integration with the given id */
+ 500: {
+ content: never
}
}
}
- /** Gets an organization's audit logs */
- OrgAuditLogsController_getAuditLogs: {
- parameters: {
- query?: {
- /** @description Start timestamp */
- iso_timestamp_start?: string
- /** @description End timestamp */
- iso_timestamp_end?: string
- }
- path: {
- /** @description Organization slug */
- slug: string
+ /** Connects a Vercel project to a supabase project */
+ VercelConnectionsController_createVercelConnection: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['CreateVercelConnectionsBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['AuditLogsResponse']
+ 'application/json': components['schemas']['CreateVercelConnectionResponse']
}
}
- /** @description Failed to get an organization's audit logs */
+ /** @description Failed to create project connection */
500: {
content: never
}
}
}
- /**
- * Gets invited users
- * @deprecated
- */
- OrganizationInviteController_getInvitedUsers: {
+ /** Deletes vercel project connection */
+ VercelConnectionsController_deleteVercelConnection: {
parameters: {
path: {
- /** @description Organization slug */
- slug: string
+ connection_id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['Invite'][]
+ 'application/json': components['schemas']['DeleteVercelConnectionResponse']
}
}
- /** @description Failed to get invited users */
+ /** @description Failed to delete vercel integration project connection */
500: {
content: never
}
}
}
- /**
- * Invites user
- * @deprecated
- */
- OrganizationInviteController_inviteUser: {
+ /** Updates a Vercel connection for a supabase project */
+ VercelConnectionsController_updateVercelConnection: {
parameters: {
path: {
- /** @description Organization slug */
- slug: string
+ connection_id: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['InviteUserBody']
+ 'application/json': components['schemas']['UpdateVercelConnectionsBody']
}
}
responses: {
- 201: {
- content: {
- 'application/json': components['schemas']['SendInviteResponse']
- }
+ 204: {
+ content: never
}
- /** @description Failed to invite user */
+ /** @description Failed to update Vercel connection */
500: {
content: never
}
}
}
- /**
- * Delete invited user
- * @deprecated
- */
- OrganizationInviteController_deleteInvitedUser: {
+ /** Syncs supabase project envs with given connection id */
+ VercelConnectionsController_syncVercelConnectionEnvironments: {
parameters: {
- query: {
- invited_id: number
- }
path: {
- /** @description Organization slug */
- slug: string
+ connection_id: string
}
}
responses: {
- 200: {
+ 201: {
content: never
}
- /** @description Failed to delete invited user */
+ /** @description Failed to sync supabase project envs with given connection id */
500: {
content: never
}
}
}
- /**
- * Gets invite
- * @deprecated
- */
- JoinController_getInvite: {
- parameters: {
- query: {
- token: string
- }
+ /** Gets installed vercel project connections for the given organization integration */
+ VercelConnectionsController_getVercelConnections: {
+ parameters: {
path: {
- /** @description Organization slug */
- slug: string
+ organization_integration_id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['InviteResponse']
+ 'application/json': components['schemas']['GetVercelConnections'][]
}
}
- /** @description Failed to get invite */
+ /** @description Failed to get installed vercel connections for the given organization integration */
500: {
content: never
}
}
}
- /**
- * Joins organization
- * @deprecated
- */
- JoinController_joinOrganization: {
+ /** Gets vercel projects with the given organization integration id */
+ VercelProjectController_getVercelProjects: {
parameters: {
query: {
- token: string
+ search?: string
+ from?: string
+ limit: string
}
path: {
- /** @description Organization slug */
- slug: string
+ organization_integration_id: string
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['JoinResponse']
+ 'application/json': components['schemas']['GetVercelProjectsResponse']
}
}
- /** @description Failed to join organization */
+ /** @description Failed to get vercel projects with the given organization integration id */
500: {
content: never
}
}
}
- /** Gets organization's members */
- MembersController_getMembers: {
+ /** Get notifications */
+ NotificationsController_getNotificationsV2: {
parameters: {
- path: {
- /** @description Organization slug */
- slug: string
+ query: {
+ status: 'new' | 'seen' | 'archived'
+ priority: 'Critical' | 'Warning' | 'Info'
+ org_slug?: string[]
+ project_ref?: string[]
+ offset: number
+ limit: number
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['Member'][]
+ 'application/json': components['schemas']['NotificationResponseV2'][]
}
}
- /** @description Failed to retrieve organization's members */
+ /** @description Failed to retrieve notifications */
500: {
content: never
}
}
}
- /** Removes organization member */
- MembersController_deleteMember: {
- parameters: {
- path: {
- /** @description Organization slug */
- slug: string
- gotrue_id: string
+ /** Delete notifications */
+ NotificationsController_deleteNotifications: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateNotificationsBodyV1']
}
}
responses: {
200: {
- content: never
+ content: {
+ 'application/json': components['schemas']['NotificationResponseV1'][]
+ }
}
- /** @description Failed to remove organization member */
+ /** @description Failed to delete notifications */
500: {
content: never
}
}
}
- /** Updates organization member role */
- MembersController_updateMemberRoleV2: {
- parameters: {
- path: {
- /** @description Organization slug */
- slug: string
- gotrue_id: string
- }
- }
+ /** Update notifications */
+ NotificationsController_updateNotificationsV2: {
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateMemberRoleBodyV2']
+ 'application/json': components['schemas']['UpdateNotificationBodyV2'][]
}
}
responses: {
200: {
- content: never
+ content: {
+ 'application/json': components['schemas']['NotificationResponseV2'][]
+ }
}
- /** @description Failed to update organization member role */
+ /** @description Failed to update notifications */
500: {
content: never
}
}
}
- /** Removes organization member */
- MembersController_deleteMemberRole: {
- parameters: {
- path: {
- /** @description Organization slug */
- slug: string
- gotrue_id: string
- role_id: string
- }
- }
+ /** Archives all notifications */
+ NotificationsController_archiveAllNotifications: {
responses: {
200: {
content: never
}
- /** @description Failed to remove organization member */
+ /** @description Failed to archive all notifications */
500: {
content: never
}
}
}
- /** Gets organization members who have reached their free project limit */
- ReachedFreeProjectLimitController_getMembersWhoReachedFreeProjectLimit: {
- parameters: {
- path: {
- /** @description Organization slug */
- slug: string
+ /** Get an aggregated data of interest across all notifications for the user */
+ NotificationsController_getNotificationsSummary: {
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['NotificationsSummary']
+ }
}
}
+ }
+ /** Gets user's organizations */
+ OrganizationsController_getOrganizations: {
responses: {
200: {
content: {
- 'application/json': components['schemas']['MemberWithFreeProjectLimit'][]
+ 'application/json': components['schemas']['OrganizationResponse'][]
}
}
- /** @description Failed to retrieve organization members who have reached their free project limit */
+ /** @description Failed to retrieve user's organizations */
500: {
content: never
}
}
}
- /** Gets organization invitations */
- InvitationsController_getAllInvitations: {
- parameters: {
- path: {
- /** @description Organization slug */
- slug: string
+ /** Creates an organization */
+ OrganizationsController_createOrganizationWithTier: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['CreateOrganizationBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['InvitationResponse']
+ 'application/json': components['schemas']['OrganizationResponse']
}
}
- /** @description Failed to get organization invitations */
+ /** @description Unexpected error creating an organization */
500: {
content: never
}
}
}
- /** Creates organization invitation */
- InvitationsController_createInvitation: {
+ /** Deletes organization */
+ OrganizationSlugController_deleteOrganization: {
parameters: {
path: {
/** @description Organization slug */
slug: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['CreateInvitationBody']
- }
- }
responses: {
- 201: {
+ 200: {
content: never
}
- /** @description Failed to create organization invitation */
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete organization */
500: {
content: never
}
}
}
- /** Gets organization invitation by token */
- InvitationsController_getInvitationByToken: {
+ /** Updates organization */
+ OrganizationSlugController_updateOrganization: {
parameters: {
path: {
/** @description Organization slug */
slug: string
- token: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateOrganizationBody']
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['InvitationByTokenResponse']
+ 'application/json': components['schemas']['OrganizationSlugResponse']
}
}
- /** @description Failed to get organization invitation by token */
+ /** @description Failed to update organization */
500: {
content: never
}
}
}
- /** Accepts organization invitation by token */
- InvitationsController_acceptInvitationByToken: {
+ /** Gets an organization's audit logs */
+ OrgAuditLogsController_getAuditLogs: {
parameters: {
+ query?: {
+ /** @description Start timestamp */
+ iso_timestamp_start?: string
+ /** @description End timestamp */
+ iso_timestamp_end?: string
+ }
path: {
/** @description Organization slug */
slug: string
- token: string
}
}
responses: {
- 201: {
- content: never
+ 200: {
+ content: {
+ 'application/json': components['schemas']['AuditLogsResponse']
+ }
}
- /** @description Failed to accept organization invitation by token */
+ /** @description Failed to get an organization's audit logs */
500: {
content: never
}
}
}
- /** Deletes organization invitation with given id */
- InvitationsController_deleteInvitation: {
+ /** Gets invoices for the given organization */
+ OrgInvoicesController_getInvoices: {
parameters: {
+ query: {
+ limit: string
+ offset: string
+ }
path: {
/** @description Organization slug */
slug: string
- id: number
}
}
responses: {
200: {
+ content: {
+ 'application/json': components['schemas']['Invoice'][]
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to delete organization invitation with given id */
+ /** @description Failed to retrieve invoices */
500: {
content: never
}
}
}
- /** Gets Stripe payment methods for the given organization */
- getPaymentMethodsV2: {
+ /** Gets the total count of invoices for the given organization */
+ OrgInvoicesController_countInvoices: {
parameters: {
path: {
/** @description Organization slug */
@@ -7432,94 +7262,86 @@ export interface operations {
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['PaymentsResponse']
+ headers: {
+ /** @description total count value */
+ 'X-Total-Count'?: unknown
}
+ content: never
}
403: {
content: never
}
- /** @description Failed to get Stripe payment methods */
+ /** @description Failed to retrieve the total count of invoices */
500: {
content: never
}
}
}
- /** Detach payment method with the given card ID */
- PaymentsController_detachPaymentMethod: {
+ /** Gets invoice with the given invoice ID */
+ OrgInvoicesController_getInvoice: {
parameters: {
path: {
/** @description Organization slug */
slug: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['DetachPaymentMethodBody']
+ invoiceId: string
}
}
responses: {
200: {
- content: never
+ content: {
+ 'application/json': components['schemas']['Invoice']
+ }
}
403: {
content: never
}
- /** @description Failed to detach Stripe payment method */
+ /** @description Failed to retrieve invoice */
500: {
content: never
}
}
}
- /** Mark given payment method as default for organization */
- PaymentsController_markPaymentMethodAsDefault: {
+ /** Gets the upcoming invoice */
+ OrgInvoicesController_getUpcomingInvoice: {
parameters: {
path: {
/** @description Organization slug */
slug: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['MarkDefaultPaymentMethodBody']
- }
- }
responses: {
200: {
- content: never
+ content: {
+ 'application/json': components['schemas']['UpcomingInvoice']
+ }
}
403: {
content: never
}
- /** @description Failed to mark payment method as default */
+ /** @description Failed to retrieve upcoming invoice */
500: {
content: never
}
}
}
- /** Sets up a payment method */
- SetupIntentOrgController_setUpPaymentMethod: {
+ /** Gets subscription plans */
+ OrgPlansController_getAvailablePlans: {
parameters: {
path: {
/** @description Organization slug */
slug: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['HCaptchaBody']
- }
- }
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['SetupIntentResponse']
+ 'application/json': components['schemas']['PlansResponse']
}
}
403: {
content: never
}
- /** @description Failed to set up a payment method */
+ /** @description Failed to get subscription plans */
500: {
content: never
}
@@ -7621,8 +7443,8 @@ export interface operations {
}
}
}
- /** Gets subscription plans */
- OrgPlansController_getAvailablePlans: {
+ /** Gets the Stripe customer */
+ CustomerController_getCustomer: {
parameters: {
path: {
/** @description Organization slug */
@@ -7632,21 +7454,77 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PlansResponse']
+ 'application/json': components['schemas']['CustomerResponse']
}
}
+ /** @description Failed to retrieve the Stripe customer */
+ 500: {
+ content: never
+ }
+ }
+ }
+ /** Updates the billing customer */
+ updateCustomerV2: {
+ parameters: {
+ path: {
+ /** @description Organization slug */
+ slug: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['BillingCustomerUpdateBody']
+ }
+ }
+ responses: {
+ 204: {
+ content: never
+ }
403: {
content: never
}
- /** @description Failed to get subscription plans */
+ /** @description Failed to update the billing customer */
500: {
content: never
}
}
}
- /** Gets the upcoming invoice */
- OrgInvoicesController_getUpcomingInvoice: {
+ /** Gets daily organization stats */
+ OrgDailyStatsController_getDailyStats: {
parameters: {
+ query: {
+ metric:
+ | 'EGRESS'
+ | 'DATABASE_SIZE'
+ | 'STORAGE_SIZE'
+ | 'MONTHLY_ACTIVE_USERS'
+ | 'MONTHLY_ACTIVE_SSO_USERS'
+ | 'FUNCTION_INVOCATIONS'
+ | 'FUNCTION_COUNT'
+ | 'STORAGE_IMAGES_TRANSFORMED'
+ | 'REALTIME_MESSAGE_COUNT'
+ | 'REALTIME_PEAK_CONNECTIONS'
+ | 'COMPUTE_HOURS_BRANCH'
+ | 'COMPUTE_HOURS_XS'
+ | 'COMPUTE_HOURS_SM'
+ | 'COMPUTE_HOURS_MD'
+ | 'COMPUTE_HOURS_L'
+ | 'COMPUTE_HOURS_XL'
+ | 'COMPUTE_HOURS_2XL'
+ | 'COMPUTE_HOURS_4XL'
+ | 'COMPUTE_HOURS_8XL'
+ | 'COMPUTE_HOURS_12XL'
+ | 'COMPUTE_HOURS_16XL'
+ | 'CUSTOM_DOMAIN'
+ | 'PITR_7'
+ | 'PITR_14'
+ | 'PITR_28'
+ | 'IPV4'
+ interval: string
+ endDate: string
+ startDate: string
+ projectRef?: string
+ }
path: {
/** @description Organization slug */
slug: string
@@ -7655,25 +7533,57 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['UpcomingInvoice']
+ 'application/json': Record<string, never>
}
}
- 403: {
+ /** @description Failed to get daily organization stats */
+ 500: {
content: never
}
- /** @description Failed to retrieve upcoming invoice */
+ }
+ }
+ /** Gets daily organization stats for compute */
+ OrgDailyStatsController_getDailyStatsCompute: {
+ parameters: {
+ query: {
+ endDate: string
+ startDate: string
+ projectRef?: string
+ }
+ path: {
+ /** @description Organization slug */
+ slug: string
+ }
+ }
+ responses: {
+ 200: {
+ content: never
+ }
+ /** @description Failed to get daily organization stats for compute */
500: {
content: never
}
}
}
- /** Gets invoices for the given organization */
- OrgInvoicesController_getInvoices: {
+ /** Get SOC2 Type 2 report URL */
+ OrgDocumentsController_getSoc2Type2ReportUrl: {
parameters: {
- query: {
- limit: string
- offset: string
+ path: {
+ /** @description Organization slug */
+ slug: string
+ }
+ }
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['OrgDocumentUrlResponse']
+ }
}
+ }
+ }
+ /** Get standard security questionnaire URL */
+ OrgDocumentsController_getStandardSecurityQuestionnaireUrl: {
+ parameters: {
path: {
/** @description Organization slug */
slug: string
@@ -7682,698 +7592,630 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['Invoice'][]
+ 'application/json': components['schemas']['OrgDocumentUrlResponse']
}
}
- 403: {
- content: never
+ }
+ }
+ /** Gets organization's members */
+ MembersController_getMembers: {
+ parameters: {
+ path: {
+ /** @description Organization slug */
+ slug: string
}
- /** @description Failed to retrieve invoices */
+ }
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['Member'][]
+ }
+ }
+ /** @description Failed to retrieve organization's members */
500: {
content: never
}
}
}
- /** Gets the total count of invoices for the given organization */
- OrgInvoicesController_countInvoices: {
+ /** Removes organization member */
+ MembersController_deleteMember: {
parameters: {
path: {
/** @description Organization slug */
slug: string
+ gotrue_id: string
}
}
responses: {
200: {
- headers: {
- /** @description total count value */
- 'X-Total-Count'?: unknown
- }
content: never
}
- 403: {
+ /** @description Failed to remove organization member */
+ 500: {
content: never
}
- /** @description Failed to retrieve the total count of invoices */
+ }
+ }
+ /** Updates organization member role */
+ MembersController_updateMemberRoleV2: {
+ parameters: {
+ path: {
+ /** @description Organization slug */
+ slug: string
+ gotrue_id: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateMemberRoleBodyV2']
+ }
+ }
+ responses: {
+ 200: {
+ content: never
+ }
+ /** @description Failed to update organization member role */
500: {
content: never
}
}
}
- /** Gets invoice with the given invoice ID */
- OrgInvoicesController_getInvoice: {
+ /** Removes organization member */
+ MembersController_deleteMemberRole: {
parameters: {
path: {
/** @description Organization slug */
slug: string
- invoiceId: string
+ gotrue_id: string
+ role_id: string
}
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['Invoice']
- }
- }
- 403: {
content: never
}
- /** @description Failed to retrieve invoice */
+ /** @description Failed to remove organization member */
500: {
content: never
}
}
}
- /** Retrieve column privileges */
- ColumnPrivilegesController_getColumnPrivileges: {
+ /** Gets organization invitations */
+ InvitationsController_getAllInvitations: {
parameters: {
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresColumnPrivileges'][]
+ 'application/json': components['schemas']['InvitationResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to retrieve column privileges */
+ /** @description Failed to get organization invitations */
500: {
content: never
}
}
}
- /** Grant column privileges */
- ColumnPrivilegesController_grantColumnPrivileges: {
+ /** Creates organization invitation */
+ InvitationsController_createInvitation: {
parameters: {
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['GrantColumnPrivilegesBody'][]
+ 'application/json': components['schemas']['CreateInvitationBody']
}
}
responses: {
201: {
+ content: never
+ }
+ /** @description Failed to create organization invitation */
+ 500: {
+ content: never
+ }
+ }
+ }
+ /** Deletes organization invitation with given id */
+ InvitationsController_deleteInvitation: {
+ parameters: {
+ path: {
+ /** @description Organization slug */
+ slug: string
+ id: number
+ }
+ }
+ responses: {
+ 200: {
+ content: never
+ }
+ /** @description Failed to delete organization invitation with given id */
+ 500: {
+ content: never
+ }
+ }
+ }
+ /** Gets organization invitation by token */
+ InvitationsController_getInvitationByToken: {
+ parameters: {
+ path: {
+ /** @description Organization slug */
+ slug: string
+ token: string
+ }
+ }
+ responses: {
+ 200: {
content: {
- 'application/json': components['schemas']['PostgresColumnPrivileges'][]
+ 'application/json': components['schemas']['InvitationByTokenResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to grant column privileges */
+ /** @description Failed to get organization invitation by token */
500: {
content: never
}
}
}
- /** Revoke column privileges */
- ColumnPrivilegesController_revokeColumnPrivileges: {
+ /** Accepts organization invitation by token */
+ InvitationsController_acceptInvitationByToken: {
parameters: {
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['RevokeColumnPrivilegesBody'][]
+ /** @description Organization slug */
+ slug: string
+ token: string
}
}
responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['PostgresColumnPrivileges'][]
- }
- }
- 403: {
+ 201: {
content: never
}
- /** @description Failed to revoke column privileges */
+ /** @description Failed to accept organization invitation by token */
500: {
content: never
}
}
}
- /** Gets project pg.columns */
- ColumnsController_getColumns: {
+ /**
+ * Gets invited users
+ * @deprecated
+ */
+ OrganizationInviteController_getInvitedUsers: {
parameters: {
- query: {
- included_schemas: string
- excluded_schemas: string
- }
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresColumn'][]
+ 'application/json': components['schemas']['Invite'][]
}
}
- 403: {
- content: never
- }
- /** @description Failed to get pg.columns */
+ /** @description Failed to get invited users */
500: {
content: never
}
}
}
- /** Creates project pg.column */
- ColumnsController_createColumn: {
+ /**
+ * Invites user
+ * @deprecated
+ */
+ OrganizationInviteController_inviteUser: {
parameters: {
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['CreateColumnBody']
+ 'application/json': components['schemas']['InviteUserBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['PostgresColumn']
+ 'application/json': components['schemas']['SendInviteResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to create pg.column */
+ /** @description Failed to invite user */
500: {
content: never
}
}
}
- /** Deletes project pg.column with the given ID */
- ColumnsController_deleteColumn: {
+ /**
+ * Delete invited user
+ * @deprecated
+ */
+ OrganizationInviteController_deleteInvitedUser: {
parameters: {
query: {
- /** @description Column ID */
- id: string
- cascade?: string
- }
- header: {
- 'x-connection-encrypted': string
+ invited_id: number
}
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['PostgresColumn']
- }
- }
- 403: {
content: never
}
- /** @description Failed to delete pg.column with the given ID */
+ /** @description Failed to delete invited user */
500: {
content: never
}
}
}
- /** Updates project pg.column with the given ID */
- ColumnsController_updateColumn: {
+ /**
+ * Gets invite
+ * @deprecated
+ */
+ JoinController_getInvite: {
parameters: {
query: {
- /** @description Column ID */
- id: string
- }
- header: {
- 'x-connection-encrypted': string
+ token: string
}
path: {
- /** @description Project ref */
- ref: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateColumnBody']
+ /** @description Organization slug */
+ slug: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresColumn']
+ 'application/json': components['schemas']['InviteResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to update pg.column with the given ID */
+ /** @description Failed to get invite */
500: {
content: never
}
}
}
- /** Gets project pg.extensions */
- ExtensionsController_getExtensions: {
+ /**
+ * Joins organization
+ * @deprecated
+ */
+ JoinController_joinOrganization: {
parameters: {
- header: {
- 'x-connection-encrypted': string
+ query: {
+ token: string
}
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['PostgresExtension'][]
+ 'application/json': components['schemas']['JoinResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to get pg.extensions */
+ /** @description Failed to join organization */
500: {
content: never
}
}
}
- /** Creates project pg.extension */
- ExtensionsController_createExtension: {
+ /** Gets organization members who have reached their free project limit */
+ ReachedFreeProjectLimitController_getMembersWhoReachedFreeProjectLimit: {
parameters: {
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['CreateExtensionBody']
+ /** @description Organization slug */
+ slug: string
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['PostgresExtension']
+ 'application/json': components['schemas']['MemberWithFreeProjectLimit'][]
}
}
- 403: {
- content: never
- }
- /** @description Failed to create pg.extension */
+ /** @description Failed to retrieve organization members who have reached their free project limit */
500: {
content: never
}
}
}
- /** Deletes project pg.extension with the given ID */
- ExtensionsController_deleteExtension: {
+ /** Gets Stripe payment methods for the given organization */
+ getPaymentMethodsV2: {
parameters: {
- query: {
- /** @description Extension ID */
- id: string
- }
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresExtension']
+ 'application/json': components['schemas']['PaymentsResponse']
}
}
403: {
content: never
}
- /** @description Failed to delete pg.extension with the given ID */
+ /** @description Failed to get Stripe payment methods */
500: {
content: never
}
}
}
- /** Retrieve database foreign tables */
- ForeignTablesController_getForeignTables: {
+ /** Detach payment method with the given card ID */
+ PaymentsController_detachPaymentMethod: {
parameters: {
- query: {
- id: string
- limit: string
- offset: string
- include_columns: string
- }
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['DetachPaymentMethodBody']
}
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['PostgresForeignTable'][]
- }
+ content: never
}
403: {
content: never
}
- /** @description Failed to retrieve database foreign tables */
+ /** @description Failed to detach Stripe payment method */
500: {
content: never
}
}
}
- /** Gets project pg.functions */
- FunctionsController_getFunctions: {
+ /** Mark given payment method as default for organization */
+ PaymentsController_markPaymentMethodAsDefault: {
parameters: {
- query: {
- included_schemas: string
- excluded_schemas: string
- }
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['MarkDefaultPaymentMethodBody']
}
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['PostgresFunction'][]
- }
+ content: never
}
403: {
content: never
}
- /** @description Failed to get pg.functions */
+ /** @description Failed to mark payment method as default */
500: {
content: never
}
}
}
- /**
- * Create a function
- * @description Creates a function and adds it to the specified project.
- */
- FunctionsController_createFunction: {
+ /** Sets up a payment method */
+ SetupIntentOrgController_setUpPaymentMethod: {
parameters: {
- query?: {
- slug?: string
- name?: string
- verify_jwt?: boolean
- import_map?: boolean
- entrypoint_path?: string
- import_map_path?: string
- }
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['V1CreateFunctionBody']
- 'application/vnd.denoland.eszip': components['schemas']['V1CreateFunctionBody']
+ 'application/json': components['schemas']['HCaptchaBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['FunctionResponse']
+ 'application/json': components['schemas']['SetupIntentResponse']
}
}
403: {
content: never
}
- /** @description Failed to create project's function */
+ /** @description Failed to set up a payment method */
500: {
content: never
}
}
}
- /** Deletes project pg.function with the given ID */
- FunctionsController_deleteFunction: {
+ /** Gets the given organization's roles */
+ OrganizationRolesController_getAllRolesV2: {
parameters: {
- query: {
- /** @description Function ID */
- id: number
+ path: {
+ /** @description Organization slug */
+ slug: string
}
- header: {
- 'x-connection-encrypted': string
+ }
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['OrganizationRoleResponseV2']
+ }
+ }
+ /** @description Failed to retrieve the organization's roles */
+ 500: {
+ content: never
}
+ }
+ }
+ /** Gets the given organization's tax IDs */
+ TaxIdsController_getTaxIds: {
+ parameters: {
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresFunction']
+ 'application/json': components['schemas']['TaxIdResponse']
}
}
403: {
content: never
}
- /** @description Failed to delete pg.function with the given ID */
+ /** @description Failed to retrieve the organization's tax IDs */
500: {
content: never
}
}
}
- /** Updates project pg.function with the given ID */
- FunctionsController_updateFunction: {
+ /** Creates or updates a tax ID for the given organization */
+ TaxIdsController_updateTaxId: {
parameters: {
- query: {
- /** @description Function ID */
- id: number
- }
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateFunctionBody']
+ 'application/json': components['schemas']['CreateTaxIdBody']
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresFunction']
+ 'application/json': components['schemas']['TaxIdV2Response']
}
}
403: {
content: never
}
- /** @description Failed to update pg.function with the given ID */
+ /** @description Failed to create the tax ID */
500: {
content: never
}
}
}
- /** Retrieve database materialized views */
- MaterializedViewsController_getMaterializedViews: {
+ /** Creates a tax ID for the given organization */
+ TaxIdsController_createTaxId: {
parameters: {
- query: {
- id: string
- included_schemas: string
- excluded_schemas: string
- limit: string
- offset: string
- include_columns: string
- }
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['CreateTaxIdBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['PostgresMaterializedView'][]
+ 'application/json': components['schemas']['CreateTaxIdResponse']
}
}
403: {
content: never
}
- /** @description Failed to retrieve database materialized views */
+ /** @description Failed to create the tax ID */
500: {
content: never
}
}
}
- /** Gets project pg.policies */
- PoliciesController_getPolicies: {
+ /** Delete the tax ID with the given ID */
+ TaxIdsController_deleteTaxId: {
parameters: {
- query: {
- included_schemas: string
- excluded_schemas: string
- }
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['DeleteTaxIdBody']
}
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['PostgresPolicy'][]
- }
+ content: never
}
403: {
content: never
}
- /** @description Failed to get pg.policies */
+ /** @description Failed to delete the tax ID */
500: {
content: never
}
}
}
- /** Creates project pg.policy */
- PoliciesController_createPolicy: {
- parameters: {
- header: {
- 'x-connection-encrypted': string
- }
- path: {
- /** @description Project ref */
- ref: string
- }
- }
+ /** Transfers the organization to the given member */
+ TransferController_transferOrganization: {
requestBody: {
content: {
- 'application/json': components['schemas']['CreatePolicyBody']
+ 'application/json': components['schemas']['TransferOrganizationBody']
}
}
responses: {
201: {
- content: {
- 'application/json': components['schemas']['PostgresPolicy']
- }
- }
- 403: {
content: never
}
- /** @description Failed to create pg.policy */
+ /** @description Failed to update owner */
500: {
content: never
}
}
}
- /** Deletes project pg.policy with the given ID */
- PoliciesController_deletePolicy: {
+ /** Gets usage stats */
+ OrgUsageController_getOrgUsage: {
parameters: {
- query: {
- /** @description Policy ID */
- id: number
- }
- header: {
- 'x-connection-encrypted': string
+ query?: {
+ project_ref?: string
+ start?: string
+ end?: string
}
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresPolicy']
+ 'application/json': components['schemas']['OrgUsageResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to delete pg.policy with the given ID */
+ /** @description Failed to get usage stats */
500: {
content: never
}
}
}
- /** Updates project pg.policy with the given ID */
- PoliciesController_updatePolicy: {
+ /** Gets organization linked to fly organization id */
+ OrganizationsController_getOrganizationByFlyOrganizationId: {
parameters: {
- query: {
- /** @description Policy ID */
- id: number
- }
- header: {
- 'x-connection-encrypted': string
- }
path: {
- /** @description Project ref */
- ref: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdatePolicyBody']
+ fly_organization_id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresPolicy']
+ 'application/json': components['schemas']['GetOrganizationByFlyOrganizationIdResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to update pg.policy with the given ID */
- 500: {
- content: never
- }
}
}
- /** Gets project pg.publications */
- PublicationsController_getPublications: {
+ /** Retrieve column privileges */
+ ColumnPrivilegesController_getColumnPrivileges: {
parameters: {
header: {
'x-connection-encrypted': string
@@ -8386,20 +8228,20 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresPublication'][]
+ 'application/json': components['schemas']['PostgresColumnPrivileges'][]
}
}
403: {
content: never
}
- /** @description Failed to get pg.publications */
+ /** @description Failed to retrieve column privileges */
500: {
content: never
}
}
}
- /** Gets project pg.publications */
- PublicationsController_createPublication: {
+ /** Grant column privileges */
+ ColumnPrivilegesController_grantColumnPrivileges: {
parameters: {
header: {
'x-connection-encrypted': string
@@ -8411,31 +8253,27 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['CreatePublicationBody']
+ 'application/json': components['schemas']['GrantColumnPrivilegesBody'][]
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['PostgresPublication']
+ 'application/json': components['schemas']['PostgresColumnPrivileges'][]
}
}
403: {
content: never
}
- /** @description Failed to create pg.publication */
+ /** @description Failed to grant column privileges */
500: {
content: never
}
}
}
- /** Deletes project pg.publication with the given ID */
- PublicationsController_deletePublication: {
+ /** Revoke column privileges */
+ ColumnPrivilegesController_revokeColumnPrivileges: {
parameters: {
- query: {
- /** @description Publication ID */
- id: number
- }
header: {
'x-connection-encrypted': string
}
@@ -8444,27 +8282,32 @@ export interface operations {
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['RevokeColumnPrivilegesBody'][]
+ }
+ }
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresPublication']
+ 'application/json': components['schemas']['PostgresColumnPrivileges'][]
}
}
403: {
content: never
}
- /** @description Failed to delete pg.publication with the given ID */
+ /** @description Failed to revoke column privileges */
500: {
content: never
}
}
}
- /** Updates project pg.publication with the given ID */
- PublicationsController_updatePublication: {
+ /** Gets project pg.columns */
+ ColumnsController_getColumns: {
parameters: {
query: {
- /** @description Publication ID */
- id: number
+ included_schemas: string
+ excluded_schemas: string
}
header: {
'x-connection-encrypted': string
@@ -8474,28 +8317,23 @@ export interface operations {
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdatePublicationBody']
- }
- }
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresPublication']
+ 'application/json': components['schemas']['PostgresColumn'][]
}
}
403: {
content: never
}
- /** @description Failed to update pg.publication with the given ID */
+ /** @description Failed to get pg.columns */
500: {
content: never
}
}
}
- /** Run sql query */
- QueryController_runQuery: {
+ /** Creates project pg.column */
+ ColumnsController_createColumn: {
parameters: {
header: {
'x-connection-encrypted': string
@@ -8507,52 +8345,65 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['RunQueryBody']
+ 'application/json': components['schemas']['CreateColumnBody']
}
}
responses: {
201: {
content: {
- 'application/json': Record<string, never>
+ 'application/json': components['schemas']['PostgresColumn']
}
}
403: {
content: never
}
- /** @description Failed to run sql query */
+ /** @description Failed to create pg.column */
500: {
content: never
}
}
}
- /** Format sql query */
- QueryController_formatQuery: {
+ /** Deletes project pg.column with the given ID */
+ ColumnsController_deleteColumn: {
parameters: {
+ query: {
+ /** @description Column ID */
+ id: string
+ cascade?: string
+ }
+ header: {
+ 'x-connection-encrypted': string
+ }
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['FormatQueryBody']
- }
- }
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': string
+ 'application/json': components['schemas']['PostgresColumn']
}
}
- /** @description Failed to format sql query */
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete pg.column with the given ID */
500: {
content: never
}
}
}
- /** Validate sql query */
- QueryController_validateQuery: {
+ /** Updates project pg.column with the given ID */
+ ColumnsController_updateColumn: {
parameters: {
+ query: {
+ /** @description Column ID */
+ id: string
+ }
+ header: {
+ 'x-connection-encrypted': string
+ }
path: {
/** @description Project ref */
ref: string
@@ -8560,23 +8411,26 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['ValidateQueryBody']
+ 'application/json': components['schemas']['UpdateColumnBody']
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['ValidateQueryResponse']
+ 'application/json': components['schemas']['PostgresColumn']
}
}
- /** @description Failed to validate sql query */
+ 403: {
+ content: never
+ }
+ /** @description Failed to update pg.column with the given ID */
500: {
content: never
}
}
}
- /** Gets project pg.roles */
- RolesController_getRoles: {
+ /** Gets project pg.extensions */
+ ExtensionsController_getExtensions: {
parameters: {
header: {
'x-connection-encrypted': string
@@ -8589,20 +8443,20 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresRole'][]
+ 'application/json': components['schemas']['PostgresExtension'][]
}
}
403: {
content: never
}
- /** @description Failed to get pg.roles */
+ /** @description Failed to get pg.extensions */
500: {
content: never
}
}
}
- /** Creates project pg.role */
- RolesController_createRole: {
+ /** Creates project pg.extension */
+ ExtensionsController_createExtension: {
parameters: {
header: {
'x-connection-encrypted': string
@@ -8614,29 +8468,29 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['CreateRoleBody']
+ 'application/json': components['schemas']['CreateExtensionBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['PostgresRole']
+ 'application/json': components['schemas']['PostgresExtension']
}
}
403: {
content: never
}
- /** @description Failed to create pg.role */
+ /** @description Failed to create pg.extension */
500: {
content: never
}
}
}
- /** Deletes project pg.role with the given ID */
- RolesController_deleteRole: {
+ /** Deletes project pg.extension with the given ID */
+ ExtensionsController_deleteExtension: {
parameters: {
query: {
- /** @description Role ID */
+ /** @description Extension ID */
id: string
}
header: {
@@ -8650,24 +8504,26 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresRole']
+ 'application/json': components['schemas']['PostgresExtension']
}
}
403: {
content: never
}
- /** @description Failed to delete pg.role with the given ID */
+ /** @description Failed to delete pg.extension with the given ID */
500: {
content: never
}
}
}
- /** Updates project pg.role with the given ID */
- RolesController_updateRole: {
+ /** Retrieve database foreign tables */
+ ForeignTablesController_getForeignTables: {
parameters: {
query: {
- /** @description Role ID */
- id: number
+ id: string
+ limit: string
+ offset: string
+ include_columns: string
}
header: {
'x-connection-encrypted': string
@@ -8677,29 +8533,28 @@ export interface operations {
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateRoleBody']
- }
- }
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresRole']
+ 'application/json': components['schemas']['PostgresForeignTable'][]
}
}
403: {
content: never
}
- /** @description Failed to update pg.role with the given ID */
+ /** @description Failed to retrieve database foreign tables */
500: {
content: never
}
}
}
- /** Gets project pg.schemas */
- SchemasController_getSchemas: {
+ /** Gets project pg.functions */
+ FunctionsController_getFunctions: {
parameters: {
+ query: {
+ included_schemas: string
+ excluded_schemas: string
+ }
header: {
'x-connection-encrypted': string
}
@@ -8711,23 +8566,31 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresSchema'][]
+ 'application/json': components['schemas']['PostgresFunction'][]
}
}
403: {
content: never
}
- /** @description Failed to get pg.schemas */
+ /** @description Failed to get pg.functions */
500: {
content: never
}
}
}
- /** Creates project pg.schema */
- SchemasController_createSchema: {
+ /**
+ * Create a function
+ * @description Creates a function and adds it to the specified project.
+ */
+ FunctionsController_createFunction: {
parameters: {
- header: {
- 'x-connection-encrypted': string
+ query?: {
+ slug?: string
+ name?: string
+ verify_jwt?: boolean
+ import_map?: boolean
+ entrypoint_path?: string
+ import_map_path?: string
}
path: {
/** @description Project ref */
@@ -8736,29 +8599,30 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['CreateSchemaBody']
+ 'application/json': components['schemas']['V1CreateFunctionBody']
+ 'application/vnd.denoland.eszip': components['schemas']['V1CreateFunctionBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['PostgresSchema']
+ 'application/json': components['schemas']['FunctionResponse']
}
}
403: {
content: never
}
- /** @description Failed to create pg.schema */
+ /** @description Failed to create project's function */
500: {
content: never
}
}
}
- /** Deletes project pg.schema with the given ID */
- SchemasController_deleteSchema: {
+ /** Deletes project pg.function with the given ID */
+ FunctionsController_deleteFunction: {
parameters: {
query: {
- /** @description Schema ID */
+ /** @description Function ID */
id: number
}
header: {
@@ -8772,23 +8636,23 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresSchema']
+ 'application/json': components['schemas']['PostgresFunction']
}
}
403: {
content: never
}
- /** @description Failed to delete pg.schema with the given ID */
+ /** @description Failed to delete pg.function with the given ID */
500: {
content: never
}
}
}
- /** Updates project pg.schema with the given ID */
- SchemasController_updateSchema: {
+ /** Updates project pg.function with the given ID */
+ FunctionsController_updateFunction: {
parameters: {
query: {
- /** @description Schema ID */
+ /** @description Function ID */
id: number
}
header: {
@@ -8801,27 +8665,35 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateSchemaBody']
+ 'application/json': components['schemas']['UpdateFunctionBody']
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresSchema']
+ 'application/json': components['schemas']['PostgresFunction']
}
}
403: {
content: never
}
- /** @description Failed to update pg.schema with the given ID */
+ /** @description Failed to update pg.function with the given ID */
500: {
content: never
}
}
}
- /** Searches project pg.tables. Return maximum 50 results. */
- SearchController_searchTables: {
+ /** Retrieve database materialized views */
+ MaterializedViewsController_getMaterializedViews: {
parameters: {
+ query: {
+ id: string
+ included_schemas: string
+ excluded_schemas: string
+ limit: string
+ offset: string
+ include_columns: string
+ }
header: {
'x-connection-encrypted': string
}
@@ -8830,29 +8702,28 @@ export interface operations {
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['SearchTableBody']
- }
- }
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['Table'][]
+ 'application/json': components['schemas']['PostgresMaterializedView'][]
}
}
403: {
content: never
}
- /** @description Failed to search pg.tables */
+ /** @description Failed to retrieve database materialized views */
500: {
content: never
}
}
}
- /** Searches project pg.columns. Return maximum 50 results. */
- SearchController_searchColumns: {
+ /** Gets project pg.policies */
+ PoliciesController_getPolicies: {
parameters: {
+ query: {
+ included_schemas: string
+ excluded_schemas: string
+ }
header: {
'x-connection-encrypted': string
}
@@ -8861,28 +8732,23 @@ export interface operations {
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['SearchColumnBody']
- }
- }
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['Column'][]
+ 'application/json': components['schemas']['PostgresPolicy'][]
}
}
403: {
content: never
}
- /** @description Failed to search pg.columns */
+ /** @description Failed to get pg.policies */
500: {
content: never
}
}
}
- /** Retrieve table privileges */
- TablePrivilegesController_getTablePrivileges: {
+ /** Creates project pg.policy */
+ PoliciesController_createPolicy: {
parameters: {
header: {
'x-connection-encrypted': string
@@ -8892,24 +8758,33 @@ export interface operations {
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['CreatePolicyBody']
+ }
+ }
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['PostgresTablePrivileges'][]
+ 'application/json': components['schemas']['PostgresPolicy']
}
}
403: {
content: never
}
- /** @description Failed to retrieve table privileges */
+ /** @description Failed to create pg.policy */
500: {
content: never
}
}
}
- /** Grant table privileges */
- TablePrivilegesController_grantTablePrivileges: {
+ /** Deletes project pg.policy with the given ID */
+ PoliciesController_deletePolicy: {
parameters: {
+ query: {
+ /** @description Policy ID */
+ id: number
+ }
header: {
'x-connection-encrypted': string
}
@@ -8918,29 +8793,28 @@ export interface operations {
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['GrantTablePrivilegesBody'][]
- }
- }
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['PostgresTablePrivileges'][]
+ 'application/json': components['schemas']['PostgresPolicy']
}
}
403: {
content: never
}
- /** @description Failed to grant table privileges */
+ /** @description Failed to delete pg.policy with the given ID */
500: {
content: never
}
}
}
- /** Revoke table privileges */
- TablePrivilegesController_revokeTablePrivileges: {
+ /** Updates project pg.policy with the given ID */
+ PoliciesController_updatePolicy: {
parameters: {
+ query: {
+ /** @description Policy ID */
+ id: number
+ }
header: {
'x-connection-encrypted': string
}
@@ -8951,37 +8825,27 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['RevokeTablePrivilegesBody'][]
+ 'application/json': components['schemas']['UpdatePolicyBody']
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresTablePrivileges'][]
+ 'application/json': components['schemas']['PostgresPolicy']
}
}
403: {
content: never
}
- /** @description Failed to revoke table privileges */
+ /** @description Failed to update pg.policy with the given ID */
500: {
content: never
}
}
}
- /** Gets project pg.tables or pg.table with the given ID */
- TablesController_getTables: {
+ /** Gets project pg.publications */
+ PublicationsController_getPublications: {
parameters: {
- query: {
- /** @description Table ID */
- id?: string
- include_system_schemas: string
- included_schemas: string
- excluded_schemas: string
- limit: string
- offset: string
- include_columns: string
- }
header: {
'x-connection-encrypted': string
}
@@ -8993,20 +8857,20 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresTable'][]
+ 'application/json': components['schemas']['PostgresPublication'][]
}
}
403: {
content: never
}
- /** @description Failed to get pg.tables or pg.table with the given ID */
+ /** @description Failed to get pg.publications */
500: {
content: never
}
}
}
- /** Creates project pg.table */
- TablesController_createTable: {
+ /** Gets project pg.publications */
+ PublicationsController_createPublication: {
parameters: {
header: {
'x-connection-encrypted': string
@@ -9018,31 +8882,30 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['CreateTableBody']
+ 'application/json': components['schemas']['CreatePublicationBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['PostgresTable']
+ 'application/json': components['schemas']['PostgresPublication']
}
}
403: {
content: never
}
- /** @description Failed to create pg.table */
+ /** @description Failed to create pg.publication */
500: {
content: never
}
}
}
- /** Deletes project pg.table with the given ID */
- TablesController_deleteTable: {
+ /** Deletes project pg.publication with the given ID */
+ PublicationsController_deletePublication: {
parameters: {
query: {
- /** @description Table ID */
+ /** @description Publication ID */
id: number
- cascade: boolean
}
header: {
'x-connection-encrypted': string
@@ -9055,23 +8918,23 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresTable']
+ 'application/json': components['schemas']['PostgresPublication']
}
}
403: {
content: never
}
- /** @description Failed to delete pg.table with the given ID */
+ /** @description Failed to delete pg.publication with the given ID */
500: {
content: never
}
}
}
- /** Updates project pg.table with the given ID */
- TablesController_updateTable: {
+ /** Updates project pg.publication with the given ID */
+ PublicationsController_updatePublication: {
parameters: {
query: {
- /** @description Table ID */
+ /** @description Publication ID */
id: number
}
header: {
@@ -9084,31 +8947,27 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateTableBody']
+ 'application/json': components['schemas']['UpdatePublicationBody']
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresTable']
+ 'application/json': components['schemas']['PostgresPublication']
}
}
403: {
content: never
}
- /** @description Failed to update pg.table with the given ID */
+ /** @description Failed to update pg.publication with the given ID */
500: {
content: never
}
}
}
- /** Gets project pg.triggers */
- TriggersController_getTriggers: {
+ /** Run sql query */
+ QueryController_runQuery: {
parameters: {
- query: {
- included_schemas: string
- excluded_schemas: string
- }
header: {
'x-connection-encrypted': string
}
@@ -9117,27 +8976,29 @@ export interface operations {
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['RunQueryBody']
+ }
+ }
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['PostgresTrigger'][]
+ 'application/json': Record<string, never>
}
}
403: {
content: never
}
- /** @description Failed to get pg.triggers */
+ /** @description Failed to run sql query */
500: {
content: never
}
}
}
- /** Creates project pg.trigger */
- TriggersController_createTrigger: {
+ /** Format sql query */
+ QueryController_formatQuery: {
parameters: {
- header: {
- 'x-connection-encrypted': string
- }
path: {
/** @description Project ref */
ref: string
@@ -9145,31 +9006,49 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['CreateTriggerBody']
+ 'application/json': components['schemas']['FormatQueryBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['PostgresTrigger']
+ 'application/json': string
}
}
- 403: {
+ /** @description Failed to format sql query */
+ 500: {
content: never
}
- /** @description Failed to create pg.trigger */
+ }
+ }
+ /** Validate sql query */
+ QueryController_validateQuery: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['ValidateQueryBody']
+ }
+ }
+ responses: {
+ 201: {
+ content: {
+ 'application/json': components['schemas']['ValidateQueryResponse']
+ }
+ }
+ /** @description Failed to validate sql query */
500: {
content: never
}
}
}
- /** Deletes project pg.trigger with the given ID */
- TriggersController_deleteTrigger: {
+ /** Gets project pg.roles */
+ RolesController_getRoles: {
parameters: {
- query: {
- /** @description Trigger ID */
- id: number
- }
header: {
'x-connection-encrypted': string
}
@@ -9181,25 +9060,21 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresTrigger']
+ 'application/json': components['schemas']['PostgresRole'][]
}
}
403: {
content: never
}
- /** @description Failed to delete pg.trigger with the given ID */
+ /** @description Failed to get pg.roles */
500: {
content: never
}
}
}
- /** Updates project pg.trigger with the given ID */
- TriggersController_updateTrigger: {
+ /** Creates project pg.role */
+ RolesController_createRole: {
parameters: {
- query: {
- /** @description Trigger ID */
- id: number
- }
header: {
'x-connection-encrypted': string
}
@@ -9210,30 +9085,30 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateTriggerBody']
+ 'application/json': components['schemas']['CreateRoleBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['PostgresTrigger']
+ 'application/json': components['schemas']['PostgresRole']
}
}
403: {
content: never
}
- /** @description Failed to update pg.trigger with the given ID */
+ /** @description Failed to create pg.role */
500: {
content: never
}
}
}
- /** Gets project pg.types */
- TypesController_getTypes: {
+ /** Deletes project pg.role with the given ID */
+ RolesController_deleteRole: {
parameters: {
query: {
- included_schemas: string
- excluded_schemas: string
+ /** @description Role ID */
+ id: string
}
header: {
'x-connection-encrypted': string
@@ -9246,29 +9121,24 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresType'][]
+ 'application/json': components['schemas']['PostgresRole']
}
}
403: {
content: never
}
- /** @description Failed to get pg.types */
+ /** @description Failed to delete pg.role with the given ID */
500: {
content: never
}
}
}
- /** Retrieve database views */
- ViewsController_getViews: {
+ /** Updates project pg.role with the given ID */
+ RolesController_updateRole: {
parameters: {
query: {
- id: string
- include_system_schemas: string
- included_schemas: string
- excluded_schemas: string
- limit: string
- offset: string
- include_columns: string
+ /** @description Role ID */
+ id: number
}
header: {
'x-connection-encrypted': string
@@ -9278,294 +9148,314 @@ export interface operations {
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateRoleBody']
+ }
+ }
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresView'][]
+ 'application/json': components['schemas']['PostgresRole']
}
}
403: {
content: never
}
- /** @description Failed to retrieve database views */
+ /** @description Failed to update pg.role with the given ID */
500: {
content: never
}
}
}
- /** Gets the user's access tokens */
- AccessTokensController_getAccessTokens: {
+ /** Gets project pg.schemas */
+ SchemasController_getSchemas: {
+ parameters: {
+ header: {
+ 'x-connection-encrypted': string
+ }
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
responses: {
200: {
content: {
- 'application/json': components['schemas']['AccessToken'][]
+ 'application/json': components['schemas']['PostgresSchema'][]
}
}
- /** @description Failed to get user's access tokens */
+ 403: {
+ content: never
+ }
+ /** @description Failed to get pg.schemas */
500: {
content: never
}
}
}
- /** Creates a new access token */
- AccessTokensController_createAccessToken: {
+ /** Creates project pg.schema */
+ SchemasController_createSchema: {
+ parameters: {
+ header: {
+ 'x-connection-encrypted': string
+ }
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
requestBody: {
content: {
- 'application/json': components['schemas']['CreateAccessTokenBody']
+ 'application/json': components['schemas']['CreateSchemaBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['CreateAccessTokenResponse']
+ 'application/json': components['schemas']['PostgresSchema']
}
}
- /** @description Failed to create access token */
+ 403: {
+ content: never
+ }
+ /** @description Failed to create pg.schema */
500: {
content: never
}
}
}
- /** Gets the access token with the given ID */
- AccessTokensController_getAccessToken: {
+ /** Deletes project pg.schema with the given ID */
+ SchemasController_deleteSchema: {
parameters: {
- path: {
- /** @description Access token ID */
+ query: {
+ /** @description Schema ID */
id: number
}
+ header: {
+ 'x-connection-encrypted': string
+ }
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['AccessToken']
+ 'application/json': components['schemas']['PostgresSchema']
}
}
- /** @description Failed to get access token */
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete pg.schema with the given ID */
500: {
content: never
}
}
}
- /** Deletes the access token with the given ID */
- AccessTokensController_deleteAccessToken: {
+ /** Updates project pg.schema with the given ID */
+ SchemasController_updateSchema: {
parameters: {
- path: {
- /** @description Access token ID */
+ query: {
+ /** @description Schema ID */
id: number
}
+ header: {
+ 'x-connection-encrypted': string
+ }
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateSchemaBody']
+ }
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['AccessToken']
+ 'application/json': components['schemas']['PostgresSchema']
}
}
- /** @description Failed to delete access token */
+ 403: {
+ content: never
+ }
+ /** @description Failed to update pg.schema with the given ID */
500: {
content: never
}
}
}
- /** Gets a user's audit logs */
- UserAuditLogsController_getAuditLogs: {
+ /** Searches project pg.columns. Return maximum 50 results. */
+ SearchController_searchColumns: {
parameters: {
- query?: {
- /** @description Start timestamp */
- iso_timestamp_start?: string
- /** @description End timestamp */
- iso_timestamp_end?: string
- }
- }
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['AuditLogsResponse']
- }
+ header: {
+ 'x-connection-encrypted': string
}
- /** @description Failed to get a user's audit logs */
- 500: {
- content: never
+ path: {
+ /** @description Project ref */
+ ref: string
}
}
- }
- /** Search profiles by username, email with the given keywords */
- SearchProfileController_searchProfile: {
requestBody: {
content: {
- 'application/json': components['schemas']['SearchProfileBody']
+ 'application/json': components['schemas']['SearchColumnBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['Profile'][]
+ 'application/json': components['schemas']['Column'][]
}
}
- /** @description Failed to search profiles with the given keywords */
+ 403: {
+ content: never
+ }
+ /** @description Failed to search pg.columns */
500: {
content: never
}
}
}
- /** Gets the user's subscription statistics */
- SubscriptionsController_getSubscriptionsStatistics: {
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['SubscriptionStatisticsResponse']
- }
+ /** Searches project pg.tables. Return maximum 50 results. */
+ SearchController_searchTables: {
+ parameters: {
+ header: {
+ 'x-connection-encrypted': string
}
- /** @description Failed to retrieve user's subscription statistics */
- 500: {
- content: never
+ path: {
+ /** @description Project ref */
+ ref: string
}
}
- }
- /** Check password strength */
- PasswordCheckController_checkPassword: {
requestBody: {
content: {
- 'application/json': components['schemas']['PasswordCheckBody']
+ 'application/json': components['schemas']['SearchTableBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['PasswordCheckResponse']
+ 'application/json': components['schemas']['Table'][]
}
}
- /** @description Failed to check password strength */
+ 403: {
+ content: never
+ }
+ /** @description Failed to search pg.tables */
500: {
content: never
}
}
}
- /** Gets all the user's permissions */
- PermissionsController_getPermissions: {
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['Permission'][]
- }
+ /** Retrieve table privileges */
+ TablePrivilegesController_getTablePrivileges: {
+ parameters: {
+ header: {
+ 'x-connection-encrypted': string
}
- /** @description Failed to retrieve permissions */
- 500: {
- content: never
+ path: {
+ /** @description Project ref */
+ ref: string
}
}
- }
- /** Gets the user's profile */
- ProfileController_getProfile: {
responses: {
200: {
content: {
- 'application/json': components['schemas']['ProfileResponse']
+ 'application/json': components['schemas']['PostgresTablePrivileges'][]
}
}
- /** @description Failed to retrieve user's profile */
- 500: {
+ 403: {
content: never
}
- }
- }
- /** Creates user's profile */
- ProfileController_createProfile: {
- responses: {
- 201: {
- content: {
- 'application/json': components['schemas']['ProfileResponse']
- }
- }
- /** @description Failed to create user's profile */
+ /** @description Failed to retrieve table privileges */
500: {
content: never
}
}
}
- /** Deletes user's profile */
- ProfileController_deleteProfile: {
- responses: {
- 200: {
- content: never
- }
- /** @description Forbidden action */
- 403: {
- content: never
+ /** Grant table privileges */
+ TablePrivilegesController_grantTablePrivileges: {
+ parameters: {
+ header: {
+ 'x-connection-encrypted': string
}
- /** @description Failed to delete user's profile */
- 500: {
- content: never
+ path: {
+ /** @description Project ref */
+ ref: string
}
}
- }
- /** Updates user's profile */
- ProfileController_updateProfile: {
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateProfileBody']
+ 'application/json': components['schemas']['GrantTablePrivilegesBody'][]
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['ProfileResponse']
+ 'application/json': components['schemas']['PostgresTablePrivileges'][]
}
}
- /** @description Failed to update user's profile */
+ 403: {
+ content: never
+ }
+ /** @description Failed to grant table privileges */
500: {
content: never
}
}
}
- /**
- * Gets all projects that belong to the authenticated user
- * @description Only returns the minimal project info
- */
- ProjectsController_getProjects: {
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['ProjectInfo'][]
- }
+ /** Revoke table privileges */
+ TablePrivilegesController_revokeTablePrivileges: {
+ parameters: {
+ header: {
+ 'x-connection-encrypted': string
+ }
+ path: {
+ /** @description Project ref */
+ ref: string
}
}
- }
- /** Creates a project */
- ProjectsController_createProject: {
requestBody: {
content: {
- 'application/json': components['schemas']['CreateProjectBody']
+ 'application/json': components['schemas']['RevokeTablePrivilegesBody'][]
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['CreateProjectResponse']
+ 'application/json': components['schemas']['PostgresTablePrivileges'][]
}
}
- }
- }
- /** Gets project linked to fly extension id */
- ProjectsController_getProjectByFlyExtensionId: {
- parameters: {
- path: {
- fly_extension_id: string
+ 403: {
+ content: never
}
- }
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['GetProjectByFlyExtensionIdResponse']
- }
+ /** @description Failed to revoke table privileges */
+ 500: {
+ content: never
}
}
}
- /**
- * Gets project's content
- * @deprecated
- */
- ContentController_getContent: {
+ /** Gets project pg.tables or pg.table with the given ID */
+ TablesController_getTables: {
parameters: {
+ query: {
+ /** @description Table ID */
+ id?: string
+ include_system_schemas: string
+ included_schemas: string
+ excluded_schemas: string
+ limit: string
+ offset: string
+ include_columns: string
+ }
+ header: {
+ 'x-connection-encrypted': string
+ }
path: {
/** @description Project ref */
ref: string
@@ -9574,134 +9464,185 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['GetUserContentResponse']
+ 'application/json': components['schemas']['PostgresTable'][]
}
}
- /** @description Failed to retrieve project's content */
+ 403: {
+ content: never
+ }
+ /** @description Failed to get pg.tables or pg.table with the given ID */
500: {
content: never
}
}
}
- /** Updates project's content */
- ContentController_updateWholeContentV2: {
+ /** Creates project pg.table */
+ TablesController_createTable: {
+ parameters: {
+ header: {
+ 'x-connection-encrypted': string
+ }
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
requestBody: {
content: {
- 'application/json': components['schemas']['UpsertContentBodyV2']
+ 'application/json': components['schemas']['CreateTableBody']
}
}
responses: {
- 200: {
+ 201: {
+ content: {
+ 'application/json': components['schemas']['PostgresTable']
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to update project's content */
+ /** @description Failed to create pg.table */
500: {
content: never
}
}
}
- /** Creates project's content */
- ContentController_createContentV2: {
+ /** Deletes project pg.table with the given ID */
+ TablesController_deleteTable: {
parameters: {
+ query: {
+ /** @description Table ID */
+ id: number
+ cascade: boolean
+ }
+ header: {
+ 'x-connection-encrypted': string
+ }
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['CreateContentBodyV2']
- }
- }
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['UserContentObjectV2']
+ 'application/json': components['schemas']['PostgresTable']
}
}
- /** @description Failed to create project's content */
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete pg.table with the given ID */
500: {
content: never
}
}
}
- /** Deletes project's contents */
- ContentController_deleteContents: {
+ /** Updates project pg.table with the given ID */
+ TablesController_updateTable: {
parameters: {
query: {
- ids: string[]
+ /** @description Table ID */
+ id: number
+ }
+ header: {
+ 'x-connection-encrypted': string
}
path: {
/** @description Project ref */
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateTableBody']
+ }
+ }
responses: {
200: {
content: {
- 'application/json': components['schemas']['BulkDeleteUserContentResponse'][]
+ 'application/json': components['schemas']['PostgresTable']
}
}
- /** @description Failed to delete project's contents */
+ 403: {
+ content: never
+ }
+ /** @description Failed to update pg.table with the given ID */
500: {
content: never
}
}
}
- /**
- * Updates project's content
- * @deprecated
- */
- ContentController_updateContent: {
+ /** Gets project pg.triggers */
+ TriggersController_getTriggers: {
parameters: {
query: {
- id: string
+ included_schemas: string
+ excluded_schemas: string
}
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateContentBody']
+ header: {
+ 'x-connection-encrypted': string
+ }
+ path: {
+ /** @description Project ref */
+ ref: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['UserContentObject'][]
+ 'application/json': components['schemas']['PostgresTrigger'][]
}
}
- /** @description Failed to update project's content */
+ 403: {
+ content: never
+ }
+ /** @description Failed to get pg.triggers */
500: {
content: never
}
}
}
- /** Gets project's content by the given id */
- ContentController_getContentById: {
+ /** Creates project pg.trigger */
+ TriggersController_createTrigger: {
parameters: {
+ header: {
+ 'x-connection-encrypted': string
+ }
path: {
/** @description Project ref */
ref: string
- /** @description Content id */
- id: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['CreateTriggerBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['GetUserContentByIdResponse']
+ 'application/json': components['schemas']['PostgresTrigger']
}
}
- /** @description Failed to retrieve project's content by the given id */
+ 403: {
+ content: never
+ }
+ /** @description Failed to create pg.trigger */
500: {
content: never
}
}
}
- /** Gets project's content root folder */
- ContentFoldersController_getRootFolder: {
+ /** Deletes project pg.trigger with the given ID */
+ TriggersController_deleteTrigger: {
parameters: {
- query?: {
- type?: 'sql' | 'report' | 'log_sql'
+ query: {
+ /** @description Trigger ID */
+ id: number
+ }
+ header: {
+ 'x-connection-encrypted': string
}
path: {
/** @description Project ref */
@@ -9711,18 +9652,28 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['GetUserContentFolderResponse']
+ 'application/json': components['schemas']['PostgresTrigger']
}
}
- /** @description Failed to retrieve project's content root folder */
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete pg.trigger with the given ID */
500: {
content: never
}
}
}
- /** Creates project's content folder */
- ContentFoldersController_createFolder: {
+ /** Updates project pg.trigger with the given ID */
+ TriggersController_updateTrigger: {
parameters: {
+ query: {
+ /** @description Trigger ID */
+ id: number
+ }
+ header: {
+ 'x-connection-encrypted': string
+ }
path: {
/** @description Project ref */
ref: string
@@ -9730,404 +9681,424 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['CreateContentFolderBody']
+ 'application/json': components['schemas']['UpdateTriggerBody']
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['CreateUserContentFolderResponse']
+ 'application/json': components['schemas']['PostgresTrigger']
}
}
- /** @description Failed to create project's content folder */
+ 403: {
+ content: never
+ }
+ /** @description Failed to update pg.trigger with the given ID */
500: {
content: never
}
}
}
- /** Deletes project's content folders */
- ContentFoldersController_DeleteFolder: {
+ /** Gets project pg.types */
+ TypesController_getTypes: {
parameters: {
query: {
- ids: string[]
+ included_schemas: string
+ excluded_schemas: string
+ }
+ header: {
+ 'x-connection-encrypted': string
+ }
+ path: {
+ /** @description Project ref */
+ ref: string
}
}
responses: {
200: {
+ content: {
+ 'application/json': components['schemas']['PostgresType'][]
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to delete project's content folders */
+ /** @description Failed to get pg.types */
500: {
content: never
}
}
}
- /** Gets project's content folder */
- ContentFoldersController_getFolder: {
+ /** Retrieve database views */
+ ViewsController_getViews: {
parameters: {
+ query: {
+ id: string
+ include_system_schemas: string
+ included_schemas: string
+ excluded_schemas: string
+ limit: string
+ offset: string
+ include_columns: string
+ }
+ header: {
+ 'x-connection-encrypted': string
+ }
path: {
/** @description Project ref */
ref: string
- /** @description Content folder id */
- id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['GetUserContentFolderResponse']
+ 'application/json': components['schemas']['PostgresView'][]
}
}
- /** @description Failed to retrieve project's content folder */
+ 403: {
+ content: never
+ }
+ /** @description Failed to retrieve database views */
500: {
content: never
}
}
}
- /** Updates project's content folder */
- ContentFoldersController_updateFolder: {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
- /** @description Content folder id */
- id: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateContentFolderBody']
- }
- }
+ /** Gets the user's profile */
+ ProfileController_getProfile: {
responses: {
200: {
- content: never
+ content: {
+ 'application/json': components['schemas']['ProfileResponse']
+ }
}
- /** @description Failed to update project's content folder */
+ /** @description Failed to retrieve user's profile */
500: {
content: never
}
}
}
- /** Gets daily project stats */
- DailyStatsController_getDailyStats: {
- parameters: {
- query: {
- attribute: string
- interval: string
- endDate: string
- startDate: string
+ /** Creates user's profile */
+ ProfileController_createProfile: {
+ responses: {
+ 201: {
+ content: {
+ 'application/json': components['schemas']['ProfileResponse']
+ }
}
- path: {
- /** @description Project ref */
- ref: string
+ /** @description Failed to create user's profile */
+ 500: {
+ content: never
}
}
+ }
+ /** Deletes user's profile */
+ ProfileController_deleteProfile: {
responses: {
200: {
- content: {
- 'application/json': Record<string, never>
- }
+ content: never
}
- /** @description Failed to get daily project stats */
+ /** @description Forbidden action */
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete user's profile */
500: {
content: never
}
}
}
- /** Gets non-removed databases of a specified project */
- DatabasesController_getDatabases: {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
+ /** Updates user's profile */
+ ProfileController_updateProfile: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateProfileBody']
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['DatabaseDetailResponse'][]
+ 'application/json': components['schemas']['ProfileResponse']
}
}
- }
- }
- /** Gets statuses of databases within a project */
- DatabasesStatusesController_getStatus: {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
+ /** @description Failed to update user's profile */
+ 500: {
+ content: never
}
}
+ }
+ /** Gets the user's access tokens */
+ AccessTokensController_getAccessTokens: {
responses: {
200: {
content: {
- 'application/json': components['schemas']['DatabaseStatusResponse'][]
+ 'application/json': components['schemas']['AccessToken'][]
}
}
- /** @description Failed to get statuses of databases of a project */
+ /** @description Failed to get user's access tokens */
500: {
content: never
}
}
}
- /** Updates the database password */
- DbPasswordController_updatePassword: {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
+ /** Creates a new access token */
+ AccessTokensController_createAccessToken: {
requestBody: {
content: {
- 'application/json': components['schemas']['UpdatePasswordBody']
+ 'application/json': components['schemas']['CreateAccessTokenBody']
}
}
responses: {
- 200: {
- content: never
- }
- 403: {
- content: never
+ 201: {
+ content: {
+ 'application/json': components['schemas']['CreateAccessTokenResponse']
+ }
}
- /** @description Failed to update database password */
+ /** @description Failed to create access token */
500: {
content: never
}
}
}
- /** Gets project health check */
- HealthCheckController_projectHealthCheck: {
+ /** Gets the access token with the given ID */
+ AccessTokensController_getAccessToken: {
parameters: {
path: {
- /** @description Project ref */
- ref: string
+ /** @description Access token ID */
+ id: number
}
}
responses: {
200: {
- content: never
- }
- 403: {
- content: never
+ content: {
+ 'application/json': components['schemas']['AccessToken']
+ }
}
- /** @description Failed to get project health check */
+ /** @description Failed to get access token */
500: {
content: never
}
}
}
- /** Gets non-removed databases of a specified project */
- LoadBalancersController_getLoadBalancers: {
+ /** Deletes the access token with the given ID */
+ AccessTokensController_deleteAccessToken: {
parameters: {
path: {
- /** @description Project ref */
- ref: string
+ /** @description Access token ID */
+ id: number
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['LoadBalancerDetailResponse'][]
+ 'application/json': components['schemas']['AccessToken']
}
}
+ /** @description Failed to delete access token */
+ 500: {
+ content: never
+ }
}
}
- /** Gets project OpenApi */
- ProjectsApiController_projectOpenApi: {
+ /** Gets a user's audit logs */
+ UserAuditLogsController_getAuditLogs: {
parameters: {
- path: {
- /** @description Project ref */
- ref: string
+ query?: {
+ /** @description Start timestamp */
+ iso_timestamp_start?: string
+ /** @description End timestamp */
+ iso_timestamp_end?: string
}
}
responses: {
200: {
content: {
- 'application/json': Record<string, never>
+ 'application/json': components['schemas']['AuditLogsResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to get project OpenApi */
+ /** @description Failed to get a user's audit logs */
500: {
content: never
}
}
}
- /** Queries project Graphql */
- ProjectsApiController_projectGraphql: {
- parameters: {
- header: {
- 'x-graphql-authorization': string
- }
- path: {
- /** @description Project ref */
- ref: string
- }
- }
+ /** Check password strength */
+ PasswordCheckController_checkPassword: {
requestBody: {
content: {
- 'application/json': components['schemas']['Buffer']
+ 'application/json': components['schemas']['PasswordCheckBody']
}
}
responses: {
201: {
content: {
- 'application/json': Record<string, never>
+ 'application/json': components['schemas']['PasswordCheckResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to query project Graphql */
+ /** @description Failed to check password strength */
500: {
content: never
}
}
}
- /** Gets project's usage metrics */
- InfraMonitoringController_getUsageMetrics: {
- parameters: {
- query: {
- attribute:
- | 'cpu_usage'
- | 'max_cpu_usage'
- | 'avg_cpu_usage'
- | 'disk_io_budget'
- | 'disk_io_consumption'
- | 'ram_usage'
- | 'swap_usage'
- | 'physical_replication_lag_physical_replica_lag_seconds'
- startDate: string
- endDate: string
- interval?: '1m' | '5m' | '10m' | '30m' | '1h' | '1d'
- databaseIdentifier?: string
- }
- path: {
- /** @description Project ref */
- ref: string
- }
- }
+ /** Gets all the user's permissions */
+ PermissionsController_getPermissions: {
responses: {
200: {
content: {
- 'application/json': Record<string, never>
+ 'application/json': components['schemas']['Permission'][]
}
}
- /** @description Failed to get project's usage metrics */
+ /** @description Failed to retrieve permissions */
500: {
content: never
}
}
}
- /** Pauses the project */
- PauseController_pauseProject: {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
+ /** Search profiles by username, email with the given keywords */
+ SearchProfileController_searchProfile: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['SearchProfileBody']
}
}
responses: {
201: {
- content: never
+ content: {
+ 'application/json': components['schemas']['Profile'][]
+ }
}
- /** @description Failed to pause the project */
+ /** @description Failed to search profiles with the given keywords */
500: {
content: never
}
}
}
- /** Gets the latest pause event for a project if a project is paused */
- PauseController_getProject: {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
+ /** Gets the user's subscription statistics */
+ SubscriptionsController_getSubscriptionsStatistics: {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PauseStatusResponse']
+ 'application/json': components['schemas']['SubscriptionStatisticsResponse']
}
}
+ /** @description Failed to retrieve user's subscription statistics */
+ 500: {
+ content: never
+ }
}
}
- /** Resize database disk */
- ResizeController_resizeDatabase: {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
+ /**
+ * Gets all projects that belong to the authenticated user
+ * @description Only returns the minimal project info
+ */
+ ProjectsController_getProjects: {
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['ProjectInfo'][]
+ }
}
}
+ }
+ /** Creates a project */
+ ProjectsController_createProject: {
requestBody: {
content: {
- 'application/json': components['schemas']['ResizeBody']
+ 'application/json': components['schemas']['CreateProjectBody']
}
}
responses: {
201: {
- content: never
+ content: {
+ 'application/json': components['schemas']['CreateProjectResponse']
+ }
}
- /** @description Failed to resize database disk */
- 500: {
- content: never
+ }
+ }
+ /**
+ * Gets resource warnings for all projects accessible by the user
+ * @description Only returns the minimal project info
+ */
+ ProjectsResourceWarningsController_getProjectsResourceWarnings: {
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['ProjectResourceWarningsResponse'][]
+ }
}
}
}
- /** Restarts project */
- RestartController_restartProject: {
+ /** Gets a specific project that belongs to the authenticated user */
+ ProjectsRefController_getProject: {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['RestartProjectInfo']
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['ProjectDetailResponse']
+ }
+ }
+ }
+ }
+ /** Deletes the given project */
+ ProjectsRefController_deleteProject: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
}
}
responses: {
- 201: {
- content: never
+ 200: {
+ content: {
+ 'application/json': components['schemas']['ProjectRefResponse']
+ }
}
403: {
content: never
}
- /** @description Failed to restart project */
- 500: {
- content: never
- }
}
}
- /** Run project lints */
- ProjectRunLintsController_runProjectLints: {
+ /** Updates the given project */
+ ProjectsRefController_updateProject: {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateProjectBody']
+ }
+ }
responses: {
200: {
content: {
- 'application/json': components['schemas']['ProjectLintResponse'][]
+ 'application/json': components['schemas']['ProjectRefResponse']
}
}
403: {
content: never
}
+ /** @description Failed to update project */
+ 500: {
+ content: never
+ }
}
}
- /** Gets a specific project that belongs to the authenticated user */
- ProjectsRefController_getProject: {
+ /** Gets a project's function invocation statistics */
+ FunctionInvocationLogsController_getStatus: {
parameters: {
+ query: {
+ interval: '5min' | '15min' | '1hr' | '1day' | '7day'
+ function_id: string
+ }
path: {
/** @description Project ref */
ref: string
@@ -10136,14 +10107,25 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['ProjectDetailResponse']
+ 'application/json': components['schemas']['AnalyticsResponse']
}
}
+ 403: {
+ content: never
+ }
+ /** @description Failed to get project's function invocation statistics */
+ 500: {
+ content: never
+ }
}
}
- /** Deletes the given project */
- ProjectsRefController_deleteProject: {
+ /** Gets a project's function request statistics */
+ FunctionRequestLogsController_getStatus: {
parameters: {
+ query: {
+ interval: '5min' | '15min' | '1hr' | '1day' | '7day'
+ function_id: string
+ }
path: {
/** @description Project ref */
ref: string
@@ -10152,87 +10134,104 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['ProjectRefResponse']
+ 'application/json': components['schemas']['AnalyticsResponse']
}
}
403: {
content: never
}
+ /** @description Failed to get project's function request statistics */
+ 500: {
+ content: never
+ }
}
}
- /** Updates the given project */
- ProjectsRefController_updateProject: {
+ /** Gets a project's function resource usage */
+ FunctionResourceLogsController_getStatus: {
parameters: {
+ query: {
+ interval: '5min' | '15min' | '1hr' | '1day' | '7day'
+ function_id: string
+ }
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateProjectBody']
- }
- }
responses: {
200: {
content: {
- 'application/json': components['schemas']['ProjectRefResponse']
+ 'application/json': components['schemas']['AnalyticsResponse']
}
}
403: {
content: never
}
- /** @description Failed to update project */
+ /** @description Failed to get project's function resource usage */
500: {
content: never
}
}
}
- /** Restores project */
- RestoreController_restoreProject: {
+ /** Gets project's logs */
+ LogsController_getApiPaths: {
parameters: {
+ query: {
+ sql: string
+ project: string
+ iso_timestamp_start: string
+ iso_timestamp_end: string
+ timestamp_start: string
+ timestamp_end: string
+ }
path: {
/** @description Project ref */
ref: string
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['RestoreProjectInfo']
+ 'application/json': components['schemas']['AnalyticsResponse']
}
}
- /** @description Failed to restore project */
+ 403: {
+ content: never
+ }
+ /** @description Failed to get project's logs */
500: {
content: never
}
}
}
- /** Restarts given services */
- RestartServicesController_restartServices: {
+ /** Gets project's usage api counts */
+ UsageApiController_getApiCounts: {
parameters: {
+ query: {
+ interval: 'minutely' | 'hourly' | 'daily'
+ }
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['RestartServicesBody']
- }
- }
responses: {
- 201: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['AnalyticsResponse']
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to restart given services */
+ /** @description Failed to get project's usage api counts */
500: {
content: never
}
}
}
- /** Gets project's settings */
- SettingsController_getProjectApi: {
+ /** Gets project's usage api requests count */
+ UsageApiController_getApiRequestsCount: {
parameters: {
path: {
/** @description Project ref */
@@ -10242,17 +10241,17 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['ProjectSettingsResponse']
+ 'application/json': components['schemas']['AnalyticsResponse']
}
}
- /** @description Failed to retrieve project's settings */
+ /** @description Failed to get project's usage api requests count */
500: {
content: never
}
}
}
- /** Gets project's status */
- ProjectStatusController_getStatus: {
+ /** Lists project's warehouse access tokens from logflare */
+ AccessTokenController_listAccessTokens: {
parameters: {
path: {
/** @description Project ref */
@@ -10261,151 +10260,145 @@ export interface operations {
}
responses: {
200: {
+ content: {
+ 'application/json': components['schemas']['LFAccessToken'][]
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to get project's status */
+ /** @description Failed to fetch warehouse access tokens */
500: {
content: never
}
}
}
- /**
- * Updates the project
- * @deprecated
- * @description Replaced by PATCH /platform/projects/:ref
- */
- UpdateController_updateProject: {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
+ /** Create a warehouse access token */
+ AccessTokenController_createAccessToken: {
+ responses: {
+ 201: {
+ content: {
+ 'application/json': components['schemas']['LFAccessToken']
+ }
}
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateProjectBody']
+ 403: {
+ content: never
+ }
+ /** @description Failed to create warehouse access token */
+ 500: {
+ content: never
}
}
+ }
+ /** Delete a warehouse access token */
+ AccessTokenController_deleteAccessToken: {
responses: {
- 201: {
+ 200: {
content: never
}
403: {
content: never
}
- /** @description Failed to update project */
+ /** @description Failed to delete warehouse access token */
500: {
content: never
}
}
}
- /** Previews transfering a project to a different organizations, shows eligibility and impact. */
- ProjectTransferController_previewTransfer: {
+ /** Lists project's warehouse collections from logflare */
+ CollectionController_listCollections: {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['TransferProjectBody']
- }
- }
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['PreviewProjectTransferResponse']
+ 'application/json': components['schemas']['LFSource'][]
}
}
403: {
content: never
}
- }
- }
- /** Transfers a project to a different organization. */
- ProjectTransferController_transferProject: {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['TransferProjectBody']
+ /** @description Failed to fetch warehouse collections */
+ 500: {
+ content: never
}
}
+ }
+ /** Create a warehouse collection */
+ CollectionController_createCollection: {
responses: {
201: {
- content: never
+ content: {
+ 'application/json': components['schemas']['LFSource']
+ }
}
403: {
content: never
}
- }
- }
- /** Gets a project's function invocation statistics */
- FunctionInvocationLogsController_getStatus: {
- parameters: {
- query: {
- interval: '5min' | '15min' | '1hr' | '1day' | '7day'
- function_id: string
- }
- path: {
- /** @description Project ref */
- ref: string
+ /** @description Failed to create warehouse collection */
+ 500: {
+ content: never
}
}
+ }
+ /** Get a warehouse collection */
+ CollectionController_getCollection: {
responses: {
200: {
content: {
- 'application/json': components['schemas']['AnalyticsResponse']
+ 'application/json': components['schemas']['LFSource']
}
}
403: {
content: never
}
- /** @description Failed to get project's function invocation statistics */
+ /** @description Failed to fetch warehouse collection */
500: {
content: never
}
}
}
- /** Gets a project's function request statistics */
- FunctionRequestLogsController_getStatus: {
- parameters: {
- query: {
- interval: '5min' | '15min' | '1hr' | '1day' | '7day'
- function_id: string
+ /** Delete a warehouse collection */
+ CollectionController_deleteCollection: {
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['LFSource']
+ }
}
- path: {
- /** @description Project ref */
- ref: string
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete warehouse collection */
+ 500: {
+ content: never
}
}
+ }
+ /** Update a warehouse collection */
+ CollectionController_updateCollection: {
responses: {
200: {
content: {
- 'application/json': components['schemas']['AnalyticsResponse']
+ 'application/json': components['schemas']['LFSource']
}
}
403: {
content: never
}
- /** @description Failed to get project's function request statistics */
+ /** @description Failed to update warehouse collection */
500: {
content: never
}
}
}
- /** Gets a project's function resource usage */
- FunctionResourceLogsController_getStatus: {
+ /** Lists project's warehouse endpoints from logflare */
+ EndpointController_listEndpoints: {
parameters: {
- query: {
- interval: '5min' | '15min' | '1hr' | '1day' | '7day'
- function_id: string
- }
path: {
/** @description Project ref */
ref: string
@@ -10414,77 +10407,69 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['AnalyticsResponse']
+ 'application/json': components['schemas']['LFEndpoint'][]
}
}
403: {
content: never
}
- /** @description Failed to get project's function resource usage */
+ /** @description Failed to fetch warehouse endpoints */
500: {
content: never
}
}
}
- /** Gets project's logs */
- LogsController_getApiPaths: {
- parameters: {
- query: {
- sql: string
- project: string
- iso_timestamp_start: string
- iso_timestamp_end: string
- timestamp_start: string
- timestamp_end: string
+ /** Create a warehouse endpoint */
+ EndpointController_createEndpoint: {
+ responses: {
+ 201: {
+ content: {
+ 'application/json': components['schemas']['LFEndpoint']
+ }
}
- path: {
- /** @description Project ref */
- ref: string
+ 403: {
+ content: never
+ }
+ /** @description Failed to create warehouse endpoint */
+ 500: {
+ content: never
}
}
+ }
+ /** Update a warehouse endpoint */
+ EndpointController_updateEndpoint: {
responses: {
200: {
content: {
- 'application/json': components['schemas']['AnalyticsResponse']
+ 'application/json': components['schemas']['LFEndpoint']
}
}
403: {
content: never
}
- /** @description Failed to get project's logs */
+ /** @description Failed to update warehouse endpoint */
500: {
content: never
}
}
}
- /** Gets project's usage api counts */
- UsageApiController_getApiCounts: {
- parameters: {
- query: {
- interval: 'minutely' | 'hourly' | 'daily'
- }
- path: {
- /** @description Project ref */
- ref: string
- }
- }
+ /** Delete a warehouse endpoint */
+ EndpointController_deleteEndpoint: {
responses: {
200: {
- content: {
- 'application/json': components['schemas']['AnalyticsResponse']
- }
+ content: never
}
403: {
content: never
}
- /** @description Failed to get project's usage api counts */
+ /** @description Failed to delete warehouse endpoint */
500: {
content: never
}
}
}
- /** Gets project's usage api requests count */
- UsageApiController_getApiRequestsCount: {
+ /** Lists project's warehouse queries from logflare */
+ WarehouseQueryController_runQuery: {
parameters: {
path: {
/** @description Project ref */
@@ -10493,11 +10478,12 @@ export interface operations {
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['AnalyticsResponse']
- }
+ content: never
}
- /** @description Failed to get project's usage api requests count */
+ 403: {
+ content: never
+ }
+ /** @description Failed to fetch warehouse endpoints */
500: {
content: never
}
@@ -10526,99 +10512,133 @@ export interface operations {
}
}
}
- /** Lists project's warehouse collections from logflare */
- CollectionController_listCollections: {
+ /** Queries project Graphql */
+ ProjectsApiController_projectGraphql: {
parameters: {
+ header: {
+ 'x-graphql-authorization': string
+ }
path: {
/** @description Project ref */
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['Buffer']
+ }
+ }
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['LFSource'][]
+ 'application/json': Record<string, never>
}
}
403: {
content: never
}
- /** @description Failed to fetch warehouse collections */
+ /** @description Failed to query project Graphql */
500: {
content: never
}
}
}
- /** Create a warehouse collection */
- CollectionController_createCollection: {
+ /** Gets project OpenApi */
+ ProjectsApiController_projectOpenApi: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['LFSource']
+ 'application/json': Record<string, never>
}
}
403: {
content: never
}
- /** @description Failed to create warehouse collection */
+ /** @description Failed to get project OpenApi */
500: {
content: never
}
}
}
- /** Get a warehouse collection */
- CollectionController_getCollection: {
+ /** Gets project addons */
+ ProjectAddonController_getProjectAddons: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
responses: {
200: {
content: {
- 'application/json': components['schemas']['LFSource']
+ 'application/json': components['schemas']['ProjectAddonsResponse']
}
}
403: {
content: never
}
- /** @description Failed to fetch warehouse collection */
+ /** @description Failed to get project addons */
500: {
content: never
}
}
}
- /** Delete a warehouse collection */
- CollectionController_deleteCollection: {
+ /** Updates project addon */
+ ProjectAddonController_updateAddon: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateAddonBody']
+ }
+ }
responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['LFSource']
- }
+ 201: {
+ content: never
}
403: {
content: never
}
- /** @description Failed to delete warehouse collection */
+ /** @description Failed to update project addon */
500: {
content: never
}
}
}
- /** Update a warehouse collection */
- CollectionController_updateCollection: {
+ /** Removes project addon */
+ ProjectAddonController_removeAddon: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ addon_variant: components['schemas']['AddonVariantId']
+ }
+ }
responses: {
200: {
- content: {
- 'application/json': components['schemas']['LFSource']
- }
+ content: never
}
403: {
content: never
}
- /** @description Failed to update warehouse collection */
+ /** @description Failed to remove project addon */
500: {
content: never
}
}
}
- /** Lists project's warehouse access tokens from logflare */
- AccessTokenController_listAccessTokens: {
+ /** Gets project's pgbouncer config */
+ PgbouncerConfigController_getPgbouncerConfig: {
parameters: {
path: {
/** @description Project ref */
@@ -10628,52 +10648,65 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['LFAccessToken'][]
+ 'application/json': components['schemas']['PgbouncerConfigResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to fetch warehouse access tokens */
+ /** @description Failed to retrieve project's pgbouncer config */
500: {
content: never
}
}
}
- /** Create a warehouse access token */
- AccessTokenController_createAccessToken: {
+ /** Updates project's pgbouncer config */
+ PgbouncerConfigController_updatePgbouncerConfig: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdatePgbouncerConfigBody']
+ }
+ }
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['LFAccessToken']
+ 'application/json': components['schemas']['UpdatePoolingConfigResponse']
}
}
403: {
content: never
}
- /** @description Failed to create warehouse access token */
+ /** @description Failed to update project's pgbouncer config */
500: {
content: never
}
}
}
- /** Delete a warehouse access token */
- AccessTokenController_deleteAccessToken: {
+ /** Gets project's pgbouncer status */
+ PgbouncerConfigController_getPgbouncerStatus: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
responses: {
200: {
- content: never
- }
- 403: {
- content: never
+ content: {
+ 'application/json': components['schemas']['PgbouncerStatusResponse']
+ }
}
- /** @description Failed to delete warehouse access token */
+ /** @description Failed to retrieve project's pgbouncer status */
500: {
content: never
}
}
}
- /** Lists project's warehouse endpoints from logflare */
- EndpointController_listEndpoints: {
+ /** Gets project's Postgres config */
+ 'v1-get-postgres-config': {
parameters: {
path: {
/** @description Project ref */
@@ -10683,90 +10716,118 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['LFEndpoint'][]
+ 'application/json': components['schemas']['PostgresConfigResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to fetch warehouse endpoints */
+ /** @description Failed to retrieve project's Postgres config */
500: {
content: never
}
}
}
- /** Create a warehouse endpoint */
- EndpointController_createEndpoint: {
+ /** Updates project's Postgres config */
+ 'v1-update-postgres-config': {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdatePostgresConfigBody']
+ }
+ }
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['LFEndpoint']
+ 'application/json': components['schemas']['PostgresConfigResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to create warehouse endpoint */
+ /** @description Failed to update project's Postgres config */
500: {
content: never
}
}
}
- /** Update a warehouse endpoint */
- EndpointController_updateEndpoint: {
+ /** Gets project's postgrest config */
+ PostgrestConfigController_getPostgRESTConfig: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
responses: {
200: {
content: {
- 'application/json': components['schemas']['LFEndpoint']
+ 'application/json': components['schemas']['PostgrestConfigResponse']
}
}
403: {
content: never
}
- /** @description Failed to update warehouse endpoint */
+ /** @description Failed to retrieve project's postgrest config */
500: {
content: never
}
}
}
- /** Delete a warehouse endpoint */
- EndpointController_deleteEndpoint: {
+ /** Updates project's postgrest config */
+ PostgrestConfigController_updatePostgRESTConfig: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdatePostgrestConfigBody']
+ }
+ }
responses: {
200: {
- content: never
+ content: {
+ 'application/json': components['schemas']['V1PostgrestConfigResponse']
+ }
}
403: {
content: never
}
- /** @description Failed to delete warehouse endpoint */
+ /** @description Failed to update project's postgrest config */
500: {
content: never
}
}
}
- /** Lists project's warehouse queries from logflare */
- WarehouseQueryController_runQuery: {
+ /** Updates project's secrets config */
+ SecretsConfigController_updateConfig: {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateSecretsConfigBody']
+ }
+ }
responses: {
200: {
- content: never
- }
- 403: {
- content: never
+ content: {
+ 'application/json': components['schemas']['UpdateSecretsResponse']
+ }
}
- /** @description Failed to fetch warehouse endpoints */
+ /** @description Failed to update project's secrets config */
500: {
content: never
}
}
}
- /** Gets project addons */
- ProjectAddonController_getProjectAddons: {
+ /** Gets project's storage config */
+ StorageConfigController_getConfig: {
parameters: {
path: {
/** @description Project ref */
@@ -10776,20 +10837,20 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['ProjectAddonsResponse']
+ 'application/json': components['schemas']['StorageConfigResponse']
}
}
403: {
content: never
}
- /** @description Failed to get project addons */
+ /** @description Failed to retrieve project's storage config */
500: {
content: never
}
}
}
- /** Updates project addon */
- ProjectAddonController_updateAddon: {
+ /** Updates project's storage config */
+ StorageConfigController_updateConfig: {
parameters: {
path: {
/** @description Project ref */
@@ -10798,115 +10859,143 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateAddonBody']
+ 'application/json': components['schemas']['UpdateStorageConfigBody']
}
}
responses: {
- 201: {
- content: never
+ 200: {
+ content: {
+ 'application/json': components['schemas']['UpdateStorageConfigResponse']
+ }
}
403: {
content: never
}
- /** @description Failed to update project addon */
+ /** @description Failed to update project's storage config */
500: {
content: never
}
}
}
- /** Removes project addon */
- ProjectAddonController_removeAddon: {
+ /** Gets project's supavisor config */
+ 'v1-get-supavisor-config': {
parameters: {
path: {
/** @description Project ref */
ref: string
- addon_variant: components['schemas']['AddonVariantId']
}
}
responses: {
200: {
- content: never
- }
- 403: {
- content: never
+ content: {
+ 'application/json': components['schemas']['SupavisorConfigResponse'][]
+ }
}
- /** @description Failed to remove project addon */
+ /** @description Failed to retrieve project's supavisor config */
500: {
content: never
}
}
}
- /** Gets project's pgbouncer config */
- PgbouncerConfigController_getPgbouncerConfig: {
+ /** Updates project's supavisor config */
+ 'v1-update-supavisor-config': {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateSupavisorConfigBody']
+ }
+ }
responses: {
200: {
content: {
- 'application/json': components['schemas']['PgbouncerConfigResponse']
+ 'application/json': components['schemas']['UpdateSupavisorConfigResponse']
}
}
- /** @description Failed to retrieve project's pgbouncer config */
+ 403: {
+ content: never
+ }
+ /** @description Failed to update project's supavisor config */
500: {
content: never
}
}
}
- /** Updates project's pgbouncer config */
- PgbouncerConfigController_updatePgbouncerConfig: {
+ /**
+ * Gets project's content
+ * @deprecated
+ */
+ ContentController_getContent: {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['GetUserContentResponse']
+ }
+ }
+ /** @description Failed to retrieve project's content */
+ 500: {
+ content: never
+ }
+ }
+ }
+ /** Updates project's content */
+ ContentController_updateWholeContentV2: {
requestBody: {
content: {
- 'application/json': components['schemas']['UpdatePgbouncerConfigBody']
+ 'application/json': components['schemas']['UpsertContentBodyV2']
}
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['UpdatePoolingConfigResponse']
- }
- }
- 403: {
content: never
}
- /** @description Failed to update project's pgbouncer config */
+ /** @description Failed to update project's content */
500: {
content: never
}
}
}
- /** Gets project's pgbouncer status */
- PgbouncerConfigController_getPgbouncerStatus: {
+ /** Creates project's content */
+ ContentController_createContentV2: {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['CreateContentBodyV2']
+ }
+ }
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['PgbouncerStatusResponse']
+ 'application/json': components['schemas']['UserContentObjectV2']
}
}
- /** @description Failed to retrieve project's pgbouncer status */
+ /** @description Failed to create project's content */
500: {
content: never
}
}
}
- /** Gets project's postgrest config */
- PostgrestConfigController_getPostgRESTConfig: {
+ /** Deletes project's contents */
+ ContentController_deleteContents: {
parameters: {
+ query: {
+ ids: string[]
+ }
path: {
/** @description Project ref */
ref: string
@@ -10915,49 +11004,48 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgrestConfigResponse']
+ 'application/json': components['schemas']['BulkDeleteUserContentResponse'][]
}
}
- 403: {
- content: never
- }
- /** @description Failed to retrieve project's postgrest config */
+ /** @description Failed to delete project's contents */
500: {
content: never
}
}
}
- /** Updates project's postgrest config */
- PostgrestConfigController_updatePostgRESTConfig: {
+ /**
+ * Updates project's content
+ * @deprecated
+ */
+ ContentController_updateContent: {
parameters: {
- path: {
- /** @description Project ref */
- ref: string
+ query: {
+ id: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdatePostgrestConfigBody']
+ 'application/json': components['schemas']['UpdateContentBody']
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['V1PostgrestConfigResponse']
+ 'application/json': components['schemas']['UserContentObject'][]
}
}
- 403: {
- content: never
- }
- /** @description Failed to update project's postgrest config */
+ /** @description Failed to update project's content */
500: {
content: never
}
}
}
- /** Gets project's Postgres config */
- 'v1-get-postgres-config': {
+ /** Gets project's content root folder */
+ ContentFoldersController_getRootFolder: {
parameters: {
+ query?: {
+ type?: 'sql' | 'report' | 'log_sql'
+ }
path: {
/** @description Project ref */
ref: string
@@ -10966,17 +11054,17 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgresConfigResponse']
+ 'application/json': components['schemas']['GetUserContentFolderResponse']
}
}
- /** @description Failed to retrieve project's Postgres config */
+ /** @description Failed to retrieve project's content root folder */
500: {
content: never
}
}
}
- /** Updates project's Postgres config */
- 'v1-update-postgres-config': {
+ /** Creates project's content folder */
+ ContentFoldersController_createFolder: {
parameters: {
path: {
/** @description Project ref */
@@ -10985,150 +11073,135 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdatePostgresConfigBody']
+ 'application/json': components['schemas']['CreateContentFolderBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['PostgresConfigResponse']
+ 'application/json': components['schemas']['CreateUserContentFolderResponse']
}
}
- /** @description Failed to update project's Postgres config */
+ /** @description Failed to create project's content folder */
500: {
content: never
}
}
}
- /** Updates project's secrets config */
- SecretsConfigController_updateConfig: {
+ /** Deletes project's content folders */
+ ContentFoldersController_DeleteFolder: {
parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateSecretsConfigBody']
+ query: {
+ ids: string[]
}
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['UpdateSecretsResponse']
- }
+ content: never
}
- /** @description Failed to update project's secrets config */
+ /** @description Failed to delete project's content folders */
500: {
content: never
}
}
}
- /** Gets project's storage config */
- StorageConfigController_getConfig: {
+ /** Gets project's content folder */
+ ContentFoldersController_getFolder: {
parameters: {
path: {
/** @description Project ref */
ref: string
+ /** @description Content folder id */
+ id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['StorageConfigResponse']
+ 'application/json': components['schemas']['GetUserContentFolderResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to retrieve project's storage config */
+ /** @description Failed to retrieve project's content folder */
500: {
content: never
}
}
}
- /** Updates project's storage config */
- StorageConfigController_updateConfig: {
+ /** Updates project's content folder */
+ ContentFoldersController_updateFolder: {
parameters: {
path: {
/** @description Project ref */
ref: string
+ /** @description Content folder id */
+ id: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateStorageConfigBody']
+ 'application/json': components['schemas']['UpdateContentFolderBody']
}
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['UpdateStorageConfigResponse']
- }
- }
- 403: {
content: never
}
- /** @description Failed to update project's storage config */
+ /** @description Failed to update project's content folder */
500: {
content: never
}
}
}
- /** Gets project's supavisor config */
- 'v1-get-supavisor-config': {
+ /** Gets project's content by the given id */
+ ContentController_getContentById: {
parameters: {
path: {
/** @description Project ref */
ref: string
+ /** @description Content id */
+ id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['SupavisorConfigResponse'][]
+ 'application/json': components['schemas']['GetUserContentByIdResponse']
}
}
- /** @description Failed to retrieve project's supavisor config */
+ /** @description Failed to retrieve project's content by the given id */
500: {
content: never
}
}
}
- /** Updates project's supavisor config */
- 'v1-update-supavisor-config': {
+ /** Gets daily project stats */
+ DailyStatsController_getDailyStats: {
parameters: {
+ query: {
+ attribute: string
+ interval: string
+ endDate: string
+ startDate: string
+ }
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateSupavisorConfigBody']
- }
- }
responses: {
200: {
content: {
- 'application/json': components['schemas']['UpdateSupavisorConfigResponse']
+ 'application/json': Record<string, never>
}
}
- 403: {
- content: never
- }
- /** @description Failed to update project's supavisor config */
+ /** @description Failed to get daily project stats */
500: {
content: never
}
}
}
- /**
- * Gets project's api info
- * @deprecated
- */
- ApiController_getProjectApi: {
+ /** Gets non-removed databases of a specified project */
+ DatabasesController_getDatabases: {
parameters: {
path: {
/** @description Project ref */
@@ -11138,17 +11211,13 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['ApiResponse']
+ 'application/json': components['schemas']['DatabaseDetailResponse'][]
}
}
- /** @description Failed to retrieve project's api info */
- 500: {
- content: never
- }
}
}
- /** Gets the last JWT secret update status */
- JwtSecretUpdateStatusController_getJwtSecretUpdateStatus: {
+ /** Gets statuses of databases within a project */
+ DatabasesStatusesController_getStatus: {
parameters: {
path: {
/** @description Project ref */
@@ -11158,71 +11227,82 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['JwtSecretUpdateStatus']
+ 'application/json': components['schemas']['DatabaseStatusResponse'][]
}
}
- /** @description Failed to retrieve JWT secret update status */
+ /** @description Failed to get statuses of databases of a project */
500: {
content: never
}
}
}
- /**
- * Gets project's settings
- * @deprecated
- */
- PropsSettingsController_getProjectApi: {
+ /** Updates the database password */
+ DbPasswordController_updatePassword: {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdatePasswordBody']
+ }
+ }
responses: {
200: {
- content: {
- 'application/json': components['schemas']['SettingsResponse']
- }
+ content: never
}
- /** @description Failed to retrieve project's settings */
+ 403: {
+ content: never
+ }
+ /** @description Failed to update database password */
500: {
content: never
}
}
}
- /** Gets bucket */
- StorageBucketIdController_getBucket: {
+ /** Gets project's usage metrics */
+ InfraMonitoringController_getUsageMetrics: {
parameters: {
+ query: {
+ attribute:
+ | 'cpu_usage'
+ | 'max_cpu_usage'
+ | 'avg_cpu_usage'
+ | 'disk_io_budget'
+ | 'disk_io_consumption'
+ | 'ram_usage'
+ | 'swap_usage'
+ | 'physical_replication_lag_physical_replica_lag_seconds'
+ startDate: string
+ endDate: string
+ interval?: '1m' | '5m' | '10m' | '30m' | '1h' | '1d'
+ databaseIdentifier?: string
+ }
path: {
/** @description Project ref */
ref: string
- /** @description Storage bucket id */
- id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['StorageBucket']
+ 'application/json': Record<string, never>
}
}
- 403: {
- content: never
- }
- /** @description Failed to get bucket */
+ /** @description Failed to get project's usage metrics */
500: {
content: never
}
}
}
- /** Deletes bucket */
- StorageBucketIdController_deleteBucket: {
+ /** Gets project health check */
+ HealthCheckController_projectHealthCheck: {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Storage bucket id */
- id: string
}
}
responses: {
@@ -11232,65 +11312,48 @@ export interface operations {
403: {
content: never
}
- /** @description Failed to delete bucket */
+ /** @description Failed to get project health check */
500: {
content: never
}
}
}
- /** Updates bucket */
- StorageBucketIdController_updateBucket: {
+ /** Gets non-removed databases of a specified project */
+ LoadBalancersController_getLoadBalancers: {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Storage bucket id */
- id: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateStorageBucketBody']
}
}
responses: {
200: {
- content: never
- }
- 403: {
- content: never
- }
- /** @description Failed to update bucket */
- 500: {
- content: never
+ content: {
+ 'application/json': components['schemas']['LoadBalancerDetailResponse'][]
+ }
}
}
}
- /** Removes all objects inside a single bucket. */
- StorageBucketIdController_emptyBucket: {
+ /** Pauses the project */
+ PauseController_pauseProject: {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Storage bucket id */
- id: string
}
}
responses: {
201: {
content: never
}
- 403: {
- content: never
- }
- /** @description Failed to empty bucket */
+ /** @description Failed to pause the project */
500: {
content: never
}
}
}
- /** Gets list of buckets */
- StorageBucketsController_getBuckets: {
+ /** Gets the latest pause event for a project if a project is paused */
+ PauseController_getProject: {
parameters: {
path: {
/** @description Project ref */
@@ -11300,20 +11363,13 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['StorageBucket'][]
+ 'application/json': components['schemas']['PauseStatusResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to get list of buckets */
- 500: {
- content: never
- }
}
}
- /** Create bucket */
- StorageBucketsController_createBucket: {
+ /** Resize database disk */
+ ResizeController_resizeDatabase: {
parameters: {
path: {
/** @description Project ref */
@@ -11322,875 +11378,935 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['CreateStorageBucketBody']
+ 'application/json': components['schemas']['ResizeBody']
}
}
responses: {
201: {
- content: {
- 'application/json': string
- }
- }
- 403: {
content: never
}
- /** @description Failed to create bucket */
+ /** @description Failed to resize database disk */
500: {
content: never
}
}
}
- /** Gets list of objects with the given bucket */
- StorageObjectsController_getObjects: {
+ /** Restarts project */
+ RestartController_restartProject: {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Storage bucket id */
- id: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['GetObjectsBody']
+ 'application/json': components['schemas']['RestartProjectInfo']
}
}
responses: {
201: {
- content: {
- 'application/json': components['schemas']['StorageObject'][]
- }
+ content: never
}
403: {
content: never
}
- /** @description Failed to get list of objects with the given bucket */
+ /** @description Failed to restart project */
500: {
content: never
}
}
}
- /** Creates URL for an asset in a public bucket */
- StorageObjectsController_createPublicUrl: {
+ /** Restarts given services */
+ RestartServicesController_restartServices: {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Storage bucket id */
- id: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['GetPublicUrlBody']
+ 'application/json': components['schemas']['RestartServicesBody']
}
}
responses: {
201: {
- content: {
- 'application/json': components['schemas']['PublicUrlResponse']
- }
- }
- 403: {
content: never
}
- /** @description Failed to create public URL */
+ /** @description Failed to restart given services */
500: {
content: never
}
}
}
- /** Downloads a file from a private bucket */
- StorageObjectsController_download: {
+ /** Restores project */
+ RestoreController_restoreProject: {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Storage bucket id */
- id: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['DownloadObjectBody']
}
}
responses: {
201: {
- content: never
- }
- 403: {
- content: never
+ content: {
+ 'application/json': components['schemas']['RestoreProjectInfo']
+ }
}
- /** @description Failed to download the file */
+ /** @description Failed to restore project */
500: {
content: never
}
}
}
- /** Creates a signed URL */
- StorageObjectsController_createSignedUrl: {
+ /** Run project lints */
+ ProjectRunLintsController_runProjectLints: {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Storage bucket id */
- id: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['GetSignedUrlBody']
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['SignedUrlResponse']
+ 'application/json': components['schemas']['ProjectLintResponse'][]
}
}
403: {
content: never
}
- /** @description Failed to create a signed URL */
- 500: {
- content: never
- }
}
}
- /** Gets multiple signed URLs */
- StorageObjectsController_createSignedUrls: {
+ /** Gets project's settings */
+ SettingsController_getProjectApi: {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Storage bucket id */
- id: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['GetSignedUrlsBody']
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['SignedUrlsResponse'][]
+ 'application/json': components['schemas']['ProjectSettingsResponse']
}
}
- 403: {
+ /** @description Failed to retrieve project's settings */
+ 500: {
content: never
}
- /** @description Failed to get multiple signed URLs */
+ }
+ }
+ /** Gets project's status */
+ ProjectStatusController_getStatus: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ responses: {
+ 200: {
+ content: never
+ }
+ /** @description Failed to get project's status */
500: {
content: never
}
}
}
- /** Copys object */
- StorageObjectsController_copyObject: {
+ /** Transfers a project to a different organization. */
+ ProjectTransferController_transferProject: {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Storage bucket id */
- id: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['CopyObjectBody']
+ 'application/json': components['schemas']['TransferProjectBody']
}
}
responses: {
201: {
- content: {
- 'application/json': components['schemas']['CopyObjectResponse']
- }
- }
- 403: {
content: never
}
- /** @description Failed to copy object */
- 500: {
+ 403: {
content: never
}
}
}
- /** Move object */
- StorageObjectsController_moveObject: {
+ /** Previews transfering a project to a different organizations, shows eligibility and impact. */
+ ProjectTransferController_previewTransfer: {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Storage bucket id */
- id: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['MoveObjectBody']
+ 'application/json': components['schemas']['TransferProjectBody']
}
}
responses: {
201: {
- content: never
+ content: {
+ 'application/json': components['schemas']['PreviewProjectTransferResponse']
+ }
}
403: {
content: never
}
- /** @description Failed to move object */
- 500: {
- content: never
- }
}
}
- /** Deletes objects */
- StorageObjectsController_deleteObjects: {
+ /**
+ * Updates the project
+ * @deprecated
+ * @description Replaced by PATCH /platform/projects/:ref
+ */
+ UpdateController_updateProject: {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Storage bucket id */
- id: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['DeleteObjectsBody']
+ 'application/json': components['schemas']['UpdateProjectBody']
}
}
responses: {
- 200: {
+ 201: {
content: never
}
403: {
content: never
}
- /** @description Failed to delete objects */
+ /** @description Failed to update project */
500: {
content: never
}
}
}
- /** Gets project storage credentials */
- StorageS3CredentialsController_getAllCredentials: {
+ /** Gets project linked to fly extension id */
+ ProjectsController_getProjectByFlyExtensionId: {
parameters: {
path: {
- /** @description Project ref */
- ref: string
+ fly_extension_id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['GetStorageCredentialsResponse']
+ 'application/json': components['schemas']['GetProjectByFlyExtensionIdResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to get project storage credentials */
- 500: {
- content: never
- }
}
}
- /** Creates project storage credential */
- StorageS3CredentialsController_createCredential: {
+ /**
+ * Gets project's api info
+ * @deprecated
+ */
+ ApiController_getProjectApi: {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['CreateStorageCredentialBody']
- }
- }
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['CreateStorageCredentialResponse']
+ 'application/json': components['schemas']['ApiResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to create project storage credential */
+ /** @description Failed to retrieve project's api info */
500: {
content: never
}
}
}
- /** Deletes project storage credential */
- StorageS3CredentialsController_deleteCredential: {
+ /** Gets the last JWT secret update status */
+ JwtSecretUpdateStatusController_getJwtSecretUpdateStatus: {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Storage credential id */
- id: string
}
}
responses: {
- 204: {
- content: never
- }
- 403: {
- content: never
+ 200: {
+ content: {
+ 'application/json': components['schemas']['JwtSecretUpdateStatus']
+ }
}
- /** @description Failed to delete project storage credential */
+ /** @description Failed to retrieve JWT secret update status */
500: {
content: never
}
}
}
- /** Gets information about overdue invoices that relate to the authenticated user */
- InvoicesController_getOverdueInvoices: {
+ /**
+ * Gets project's settings
+ * @deprecated
+ */
+ PropsSettingsController_getProjectApi: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
responses: {
200: {
content: {
- 'application/json': components['schemas']['OverdueInvoiceCount'][]
+ 'application/json': components['schemas']['SettingsResponse']
}
}
+ /** @description Failed to retrieve project's settings */
+ 500: {
+ content: never
+ }
}
}
- /** Sets up a payment method */
- SetupIntentController_setUpPaymentMethod: {
+ /** Reset password for email */
+ ResetPasswordController_resetPassword: {
requestBody: {
content: {
- 'application/json': components['schemas']['HCaptchaBody']
+ 'application/json': components['schemas']['ResetPasswordBody']
}
}
responses: {
201: {
- content: {
- 'application/json': components['schemas']['SetupIntentResponse']
- }
- }
- /** @description Failed to set up a payment method */
- 500: {
content: never
}
}
}
- /** Sends analytics server event */
- TelemetryEventController_sendServerEvent: {
+ /** Sign up with email and password */
+ SignUpController_signUp: {
requestBody: {
content: {
- 'application/json': components['schemas']['TelemetryEventBody']
+ 'application/json': components['schemas']['SignUpBody']
}
}
responses: {
201: {
content: never
}
- /** @description Failed to send analytics server event */
- 500: {
- content: never
- }
}
}
- /** Send analytics identify event */
- TelemetryIdentifyController_identify: {
- requestBody: {
- content: {
- 'application/json': components['schemas']['TelemetryIdentifyBody']
- }
- }
+ /** Get infrastructure status */
+ StatusController_getStatus: {
responses: {
- 201: {
+ 200: {
content: never
}
- /** @description Failed to send analytics identify event */
+ /** @description Failed to retrieve infrastructure status */
500: {
content: never
}
}
}
- /** Send server page event */
- TelemetryPageController_sendServerPage: {
- requestBody: {
- content: {
- 'application/json': components['schemas']['TelemetryPageBody']
+ /** Gets list of buckets */
+ StorageBucketsController_getBuckets: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
}
}
responses: {
- 201: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['StorageBucket'][]
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to send server page event */
+ /** @description Failed to get list of buckets */
500: {
content: never
}
}
}
- /** Sends server activity */
- TelemetryActivityController_sendServerActivity: {
+ /** Create bucket */
+ StorageBucketsController_createBucket: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
requestBody: {
content: {
- 'application/json': components['schemas']['TelemetryActivityBody']
+ 'application/json': components['schemas']['CreateStorageBucketBody']
}
}
responses: {
201: {
+ content: {
+ 'application/json': string
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to send server activity */
+ /** @description Failed to create bucket */
500: {
content: never
}
}
}
- /** Send pageview event */
- TelemetryPageviewController_sendServerPageViewed: {
- requestBody: {
- content: {
- 'application/json': components['schemas']['TelemetryPageviewBody']
+ /** Gets bucket */
+ StorageBucketIdController_getBucket: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ /** @description Storage bucket id */
+ id: string
}
}
responses: {
- 201: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['StorageBucket']
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to send pageview event */
+ /** @description Failed to get bucket */
500: {
content: never
}
}
}
- /** Gets the Vercel access token for the given code */
- VercelAccessTokenController_getAccessToken: {
+ /** Deletes bucket */
+ StorageBucketIdController_deleteBucket: {
parameters: {
- query: {
- code: string
+ path: {
+ /** @description Project ref */
+ ref: string
+ /** @description Storage bucket id */
+ id: string
}
}
responses: {
200: {
content: never
}
- /** @description Failed to get Vercel access token */
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete bucket */
500: {
content: never
}
}
}
- /** Gets the list of Vercel projects */
- VercelProjectsController_getVercelProjects: {
+ /** Updates bucket */
+ StorageBucketIdController_updateBucket: {
parameters: {
- query: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ /** @description Storage bucket id */
id: string
- teamId: string
}
- header: {
- vercel_authorization: string
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateStorageBucketBody']
}
}
responses: {
200: {
- content: {
- 'application/json': Record<string, never>[]
- }
+ content: never
}
- /** @description Failed to get projects */
+ 403: {
+ content: never
+ }
+ /** @description Failed to update bucket */
500: {
content: never
}
}
}
- /** Gets the Vercel project with the given ID */
- VercelProjectsController_getVercelProject: {
+ /** Removes all objects inside a single bucket. */
+ StorageBucketIdController_emptyBucket: {
parameters: {
- query: {
- id: string
- teamId: string
- }
- header: {
- vercel_authorization: string
- }
path: {
+ /** @description Project ref */
+ ref: string
+ /** @description Storage bucket id */
id: string
- teamId: string
}
}
responses: {
- 200: {
- content: {
- 'application/json': Record<string, never>
- }
+ 201: {
+ content: never
+ }
+ 403: {
+ content: never
}
- /** @description Failed to get project */
+ /** @description Failed to empty bucket */
500: {
content: never
}
}
}
- /** Gets the environment variables for the given project ID on behalf of the given team ID */
- VercelEnvironmentVariablesController_getEnvironmentVariables: {
+ /** Deletes objects */
+ StorageObjectsController_deleteObjects: {
parameters: {
- query: {
- projectId: string
- teamId?: string
+ path: {
+ /** @description Project ref */
+ ref: string
+ /** @description Storage bucket id */
+ id: string
}
- header: {
- vercel_authorization: string
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['DeleteObjectsBody']
}
}
responses: {
200: {
- content: {
- 'application/json': Record<string, never>[]
- }
+ content: never
}
- /** @description Failed to get Vercel environment variables */
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete objects */
500: {
content: never
}
}
}
- /** Creates the environment variable for the given project ID on behalf of the given team ID */
- VercelEnvironmentVariablesController_createEnvironmentVariable: {
+ /** Copys object */
+ StorageObjectsController_copyObject: {
parameters: {
- query: {
- projectId: string
- teamId?: string
- }
- header: {
- vercel_authorization: string
+ path: {
+ /** @description Project ref */
+ ref: string
+ /** @description Storage bucket id */
+ id: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['CreateVercelEnvironmentVariableBody']
+ 'application/json': components['schemas']['CopyObjectBody']
}
}
responses: {
201: {
content: {
- 'application/json': Record<string, never>
+ 'application/json': components['schemas']['CopyObjectResponse']
}
}
- /** @description Failed to get the environment variables */
+ 403: {
+ content: never
+ }
+ /** @description Failed to copy object */
500: {
content: never
}
}
}
- /** Gets user's integrations */
- IntegrationsController_getUserInstallations: {
+ /** Downloads a file from a private bucket */
+ StorageObjectsController_download: {
parameters: {
- query: {
- /** @description Filter results by integration name. Optional */
- integration_name: unknown
+ path: {
+ /** @description Project ref */
+ ref: string
+ /** @description Storage bucket id */
+ id: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['DownloadObjectBody']
}
}
responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['GetUserOrganizationIntegrationResponse'][]
- }
+ 201: {
+ content: never
}
- /** @description Failed to get user's integrations */
+ 403: {
+ content: never
+ }
+ /** @description Failed to download the file */
500: {
content: never
}
}
}
- /** Gets integration with the given organization slug */
- IntegrationsController_getUserInstallationForOrg: {
+ /** Gets list of objects with the given bucket */
+ StorageObjectsController_getObjects: {
parameters: {
path: {
- slug: string
- }
- }
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['GetOrganizationIntegrationResponse'][]
- }
- }
- /** @description Failed to get integration with the given organization slug */
- 500: {
- content: never
+ /** @description Project ref */
+ ref: string
+ /** @description Storage bucket id */
+ id: string
}
}
- }
- /**
- * Create vercel integration
- * @description Exchanges a vercel code for an access token and saves the access token to the new integration record
- */
- VercelIntegrationController_createVercelIntegration: {
requestBody: {
content: {
- 'application/json': components['schemas']['CreateVercelIntegrationBody']
+ 'application/json': components['schemas']['GetObjectsBody']
}
}
responses: {
201: {
+ content: {
+ 'application/json': components['schemas']['StorageObject'][]
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to create vercel integration */
+ /** @description Failed to get list of objects with the given bucket */
500: {
content: never
}
}
}
- /** Removes Vercel organization integration with the given id */
- VercelIntegrationController_removeVercelIntegration: {
+ /** Move object */
+ StorageObjectsController_moveObject: {
parameters: {
path: {
- organization_integration_id: string
+ /** @description Project ref */
+ ref: string
+ /** @description Storage bucket id */
+ id: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['MoveObjectBody']
}
}
responses: {
- 200: {
+ 201: {
content: never
}
- /** @description Failed to remove Vercel organization integration with the given id */
+ 403: {
+ content: never
+ }
+ /** @description Failed to move object */
500: {
content: never
}
}
}
- /** Gets vercel projects with the given organization integration id */
- VercelProjectController_getVercelProjects: {
+ /** Creates URL for an asset in a public bucket */
+ StorageObjectsController_createPublicUrl: {
parameters: {
- query: {
- search?: string
- from?: string
- limit: string
- }
path: {
- organization_integration_id: string
+ /** @description Project ref */
+ ref: string
+ /** @description Storage bucket id */
+ id: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['GetPublicUrlBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['GetVercelProjectsResponse']
+ 'application/json': components['schemas']['PublicUrlResponse']
}
}
- /** @description Failed to get vercel projects with the given organization integration id */
+ 403: {
+ content: never
+ }
+ /** @description Failed to create public URL */
500: {
content: never
}
}
}
- /** Gets installed vercel project connections for the given organization integration */
- VercelConnectionsController_getVercelConnections: {
+ /** Creates a signed URL */
+ StorageObjectsController_createSignedUrl: {
parameters: {
path: {
- organization_integration_id: string
+ /** @description Project ref */
+ ref: string
+ /** @description Storage bucket id */
+ id: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['GetSignedUrlBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['GetVercelConnections'][]
+ 'application/json': components['schemas']['SignedUrlResponse']
}
}
- /** @description Failed to get installed vercel connections for the given organization integration */
+ 403: {
+ content: never
+ }
+ /** @description Failed to create a signed URL */
500: {
content: never
}
}
}
- /** Connects a Vercel project to a supabase project */
- VercelConnectionsController_createVercelConnection: {
+ /** Gets multiple signed URLs */
+ StorageObjectsController_createSignedUrls: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ /** @description Storage bucket id */
+ id: string
+ }
+ }
requestBody: {
content: {
- 'application/json': components['schemas']['CreateVercelConnectionsBody']
+ 'application/json': components['schemas']['GetSignedUrlsBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['CreateVercelConnectionResponse']
+ 'application/json': components['schemas']['SignedUrlsResponse'][]
}
}
- /** @description Failed to create project connection */
+ 403: {
+ content: never
+ }
+ /** @description Failed to get multiple signed URLs */
500: {
content: never
}
}
}
- /** Syncs supabase project envs with given connection id */
- VercelConnectionsController_syncVercelConnectionEnvironments: {
+ /** Gets project storage credentials */
+ StorageS3CredentialsController_getAllCredentials: {
parameters: {
path: {
- connection_id: string
+ /** @description Project ref */
+ ref: string
}
}
responses: {
- 201: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['GetStorageCredentialsResponse']
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to sync supabase project envs with given connection id */
+ /** @description Failed to get project storage credentials */
500: {
content: never
}
}
}
- /** Deletes vercel project connection */
- VercelConnectionsController_deleteVercelConnection: {
+ /** Creates project storage credential */
+ StorageS3CredentialsController_createCredential: {
parameters: {
path: {
- connection_id: string
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['CreateStorageCredentialBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['DeleteVercelConnectionResponse']
+ 'application/json': components['schemas']['CreateStorageCredentialResponse']
}
}
- /** @description Failed to delete vercel integration project connection */
- 500: {
+ 403: {
content: never
}
- }
- }
- /** Updates a Vercel connection for a supabase project */
- VercelConnectionsController_updateVercelConnection: {
- parameters: {
- path: {
- connection_id: string
+ /** @description Failed to create project storage credential */
+ 500: {
+ content: never
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateVercelConnectionsBody']
+ }
+ /** Deletes project storage credential */
+ StorageS3CredentialsController_deleteCredential: {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ /** @description Storage credential id */
+ id: string
}
}
responses: {
204: {
content: never
}
- /** @description Failed to update Vercel connection */
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete project storage credential */
500: {
content: never
}
}
}
- /** Get GitHub authorization */
- GitHubAuthorizationsController_getGitHubAuthorization: {
+ /** Gets information about overdue invoices that relate to the authenticated user */
+ InvoicesController_getOverdueInvoices: {
responses: {
200: {
content: {
- 'application/json': components['schemas']['GitHubAuthorization']
+ 'application/json': components['schemas']['OverdueInvoiceCount'][]
}
}
- /** @description Failed to get GitHub authorization */
+ }
+ }
+ /** Sets up a payment method */
+ SetupIntentController_setUpPaymentMethod: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['HCaptchaBody']
+ }
+ }
+ responses: {
+ 201: {
+ content: {
+ 'application/json': components['schemas']['SetupIntentResponse']
+ }
+ }
+ /** @description Failed to set up a payment method */
500: {
content: never
}
}
}
- /** Create GitHub authorization */
- GitHubAuthorizationsController_createGitHubAuthorization: {
+ /** Sends server activity */
+ TelemetryActivityController_sendServerActivity: {
requestBody: {
content: {
- 'application/json': components['schemas']['CreateGitHubAuthorizationBody']
+ 'application/json': components['schemas']['TelemetryActivityBody']
}
}
responses: {
201: {
content: never
}
- /** @description Failed to create GitHub authorization */
+ /** @description Failed to send server activity */
500: {
content: never
}
}
}
- /** List organization GitHub connections */
- GitHubConnectionsController_listOrganizationGitHubConnections: {
- parameters: {
- query: {
- organization_id: number
+ /** Sends analytics server event */
+ TelemetryEventController_sendServerEvent: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['TelemetryEventBody']
}
}
responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['ListGitHubConnectionsResponse']
- }
+ 201: {
+ content: never
}
- /** @description Failed to list organization GitHub connections */
+ /** @description Failed to send analytics server event */
500: {
content: never
}
}
}
- /** Connects a GitHub project to a supabase project */
- GitHubConnectionsController_createGitHubConnection: {
+ /** Send analytics identify event */
+ TelemetryIdentifyController_identify: {
requestBody: {
content: {
- 'application/json': components['schemas']['CreateGitHubConnectionsBody']
+ 'application/json': components['schemas']['TelemetryIdentifyBody']
}
}
responses: {
201: {
content: never
}
- /** @description Failed to create project connections */
+ /** @description Failed to send analytics identify event */
500: {
content: never
}
}
}
- /** Deletes github project connection */
- GitHubConnectionsController_deleteGitHubConnection: {
- parameters: {
- path: {
- connection_id: string
+ /** Send server page event */
+ TelemetryPageController_sendServerPage: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['TelemetryPageBody']
}
}
responses: {
- 204: {
+ 201: {
content: never
}
- /** @description Failed to delete github integration project connection */
+ /** @description Failed to send server page event */
500: {
content: never
}
}
}
- /** Updates a GitHub connection for a supabase project */
- GitHubConnectionsController_updateGitHubConnection: {
- parameters: {
- path: {
- connection_id: string
- }
- }
+ /** Send pageview event */
+ TelemetryPageviewController_sendServerPageViewed: {
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateGitHubConnectionsBody']
+ 'application/json': components['schemas']['TelemetryPageviewBody']
}
}
responses: {
- 204: {
+ 201: {
content: never
}
- /** @description Failed to update GitHub connection */
+ /** @description Failed to send pageview event */
500: {
content: never
}
}
}
- /** List GitHub connection branches */
- GitHubBranchesController_listConnectionBranches: {
+ /** Redirects to Fly sso flow */
+ TermsOfServiceController_flyTosAccepted: {
parameters: {
- query?: {
- per_page?: number
- page?: number
+ query: {
+ extension_id: string
+ organization_id: string
}
- path: {
- connectionId: number
+ }
+ responses: {
+ 200: {
+ content: never
+ }
+ }
+ }
+ /** Gets the list of Vercel projects */
+ VercelProjectsController_getVercelProjects: {
+ parameters: {
+ query: {
+ id: string
+ teamId: string
+ }
+ header: {
+ vercel_authorization: string
}
}
responses: {
@@ -12199,18 +12315,25 @@ export interface operations {
'application/json': Record<string, never>[]
}
}
- /** @description Failed to list GitHub connection branches */
+ /** @description Failed to get projects */
500: {
content: never
}
}
}
- /** Get GitHub connection branch */
- GitHubBranchesController_getConnectionBranch: {
+ /** Gets the Vercel project with the given ID */
+ VercelProjectsController_getVercelProject: {
parameters: {
+ query: {
+ id: string
+ teamId: string
+ }
+ header: {
+ vercel_authorization: string
+ }
path: {
- connectionId: number
- branchName: string
+ id: string
+ teamId: string
}
}
responses: {
@@ -12219,53 +12342,75 @@ export interface operations {
'application/json': Record<string, never>
}
}
- /** @description Failed to get GitHub connection branch */
+ /** @description Failed to get project */
500: {
content: never
}
}
}
- /** Gets GitHub repositories for user */
- GitHubRepositoriesController_listRepositories: {
+ /** Gets the environment variables for the given project ID on behalf of the given team ID */
+ VercelEnvironmentVariablesController_getEnvironmentVariables: {
+ parameters: {
+ query: {
+ projectId: string
+ teamId?: string
+ }
+ header: {
+ vercel_authorization: string
+ }
+ }
responses: {
200: {
- content: never
+ content: {
+ 'application/json': Record<string, never>[]
+ }
}
- /** @description Failed to get GitHub repositories for user */
+ /** @description Failed to get Vercel environment variables */
500: {
content: never
}
}
}
- /** Create CLI login session */
- CliLoginController_createCliLoginSession: {
+ /** Creates the environment variable for the given project ID on behalf of the given team ID */
+ VercelEnvironmentVariablesController_createEnvironmentVariable: {
+ parameters: {
+ query: {
+ projectId: string
+ teamId?: string
+ }
+ header: {
+ vercel_authorization: string
+ }
+ }
requestBody: {
content: {
- 'application/json': components['schemas']['CreateCliLoginSessionBody']
+ 'application/json': components['schemas']['CreateVercelEnvironmentVariableBody']
}
}
responses: {
201: {
- content: never
+ content: {
+ 'application/json': Record<string, never>
+ }
}
- /** @description Failed to create CLI login session */
+ /** @description Failed to get the environment variables */
500: {
content: never
}
}
}
- /** Retrieve CLI login session */
- CliLoginController_getCliLoginSession: {
+ /** Gets the Vercel access token for the given code */
+ VercelAccessTokenController_getAccessToken: {
parameters: {
- path: {
- session_id: string
+ query: {
+ code: string
}
}
responses: {
200: {
content: never
}
- /** @description Failed to retrieve CLI login session */
+ /** @description Failed to get Vercel access token */
500: {
content: never
}
@@ -12323,256 +12468,224 @@ export interface operations {
}
}
}
- /** Reset JWT if leaked keys found by GitHub secret scanning */
- GithubSecretAlertController_resetJwt: {
+ /** Reset JWT if leaked keys found by GitHub secret scanning */
+ GithubSecretAlertController_resetJwt: {
+ parameters: {
+ header: {
+ 'github-public-key-identifier': string
+ 'github-public-key-signature': string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': string
+ }
+ }
+ responses: {
+ 200: {
+ content: never
+ }
+ /** @description Failed to reset JWT */
+ 500: {
+ content: never
+ }
+ }
+ }
+ /** Get API health status */
+ HealthController_getStatus: {
+ responses: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['HealthResponse']
+ }
+ }
+ /** @description Failed to retrieve API health status */
+ 500: {
+ content: never
+ }
+ }
+ }
+ /** Processes GitHub event */
+ GitHubWebhooksController_processEvent: {
+ parameters: {
+ header: {
+ 'x-github-delivery': string
+ 'x-github-event': string
+ 'x-hub-signature-256': string
+ }
+ }
+ responses: {
+ 201: {
+ content: never
+ }
+ /** @description Failed to process GitHub event */
+ 500: {
+ content: never
+ }
+ }
+ }
+ /** Processes Vercel event */
+ VercelWebhooksController_processEvent: {
parameters: {
header: {
- 'github-public-key-identifier': string
- 'github-public-key-signature': string
- }
- }
- requestBody: {
- content: {
- 'application/json': string
+ 'x-vercel-signature': string
}
}
responses: {
- 200: {
+ 201: {
content: never
}
- /** @description Failed to reset JWT */
+ /** @description Failed to process Vercel event */
500: {
content: never
}
}
}
- /**
- * Delete a function
- * @description Deletes a function with the specified slug from the specified project.
- */
- 'v1-delete-a-function': {
+ /** Gets the partner usage and costs */
+ PartnerBillingSystemController_getPartnerUsageAndCosts: {
parameters: {
path: {
- /** @description Project ref */
- ref: string
- /** @description Function slug */
- function_slug: string
+ /** @description Organization slug */
+ slug: string
}
}
responses: {
200: {
content: never
}
- 403: {
- content: never
- }
- /** @description Failed to delete function with given slug */
+ /** @description Failed to retrieve subscription */
500: {
content: never
}
}
}
- /**
- * Update a function
- * @description Updates a function with the specified slug and project.
- */
- 'v1-update-a-function': {
+ /** Gets the current subscription */
+ OrgSubscriptionSystemController_getSubscription: {
parameters: {
- query?: {
- slug?: string
- name?: string
- verify_jwt?: boolean
- import_map?: boolean
- entrypoint_path?: string
- import_map_path?: string
- }
path: {
- /** @description Project ref */
- ref: string
- /** @description Function slug */
- function_slug: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['V1UpdateFunctionBody']
- 'application/vnd.denoland.eszip': components['schemas']['V1UpdateFunctionBody']
+ /** @description Organization slug */
+ slug: string
}
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['FunctionResponse']
- }
- }
- 403: {
content: never
}
- /** @description Failed to update function with given slug */
+ /** @description Failed to retrieve subscription */
500: {
content: never
}
}
}
- /**
- * List all functions
- * @description Returns all functions you've previously added to the specified project.
- */
- 'v1-list-all-functions': {
+ /** Updates subscription */
+ OrgSubscriptionSystemController_updateSubscription: {
parameters: {
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateSubscriptionV2AdminBody']
}
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['FunctionResponse'][]
- }
- }
- 403: {
content: never
}
- /** @description Failed to retrieve project's functions */
+ /** @description Failed to update subscription */
500: {
content: never
}
}
}
- /**
- * Create a function
- * @description Creates a function and adds it to the specified project.
- */
- SystemFunctionsController_createFunction: {
+ /** Updates restriction status of an org */
+ OrgRestrictionsSystemController_updateRestriction: {
parameters: {
- query?: {
- slug?: string
- name?: string
- verify_jwt?: boolean
- import_map?: boolean
- entrypoint_path?: string
- import_map_path?: string
- }
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['V1CreateFunctionBody']
- 'application/vnd.denoland.eszip': components['schemas']['V1CreateFunctionBody']
+ 'application/json': components['schemas']['UpdateRestrictionsBody']
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['FunctionResponse']
+ 'application/json': components['schemas']['UpdateRestrictionsResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to create project's function */
+ /** @description Failed to update restriction status */
500: {
content: never
}
}
}
- /** Deletes all Edge Functions from a project */
- SystemFunctionsController_systemDeleteAllFunctions: {
+ /** Gets usage stats */
+ OrgUsageSystemController_getOrgUsage: {
parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
- responses: {
- 200: {
- content: never
+ query?: {
+ project_ref?: string
+ start?: string
+ end?: string
}
- }
- }
- /** Run project lints */
- SystemProjectRunLintsController_runProjectLints: {
- parameters: {
path: {
- /** @description Project ref */
- ref: string
+ /** @description Organization slug */
+ slug: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['ProjectLintResponse'][]
+ 'application/json': components['schemas']['OrgUsageResponse']
}
}
- 403: {
+ /** @description Failed to get usage stats */
+ 500: {
content: never
}
}
}
- /**
- * List all secrets
- * @description Returns all secrets you've previously added to the specified project.
- */
- 'v1-list-all-secrets': {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
+ /** Creates a partner organization */
+ AwsPartnerOrganizationsSystemController_createPartnerOrganization: {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['CreateAwsPartnerOrganizationBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['SecretResponse'][]
+ 'application/json': components['schemas']['AwsPartnerOrganizationResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to retrieve project's secrets */
+ /** @description Unexpected error creating a partner organization */
500: {
content: never
}
}
}
- /**
- * Bulk create secrets
- * @description Creates multiple secrets and adds them to the specified project.
- */
- 'v1-bulk-create-secrets': {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
+ /** Create a project */
+ SystemProjectsController_createProject: {
requestBody: {
content: {
- 'application/json': components['schemas']['CreateSecretBody'][]
+ 'application/json': components['schemas']['SystemCreateProjectBody']
}
}
responses: {
201: {
- content: never
- }
- 403: {
- content: never
- }
- /** @description Failed to create project's secrets */
- 500: {
- content: never
+ content: {
+ 'application/json': components['schemas']['SystemProjectResponse']
+ }
}
}
}
- /**
- * Bulk delete secrets
- * @description Deletes all secrets with the given names from the specified project
- */
- 'v1-bulk-delete-secrets': {
+ /** Updates project addon */
+ AddonsController_updateAddon: {
parameters: {
path: {
/** @description Project ref */
@@ -12581,81 +12694,54 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': string[]
+ 'application/json': components['schemas']['UpdateAddonAdminBody']
}
}
responses: {
- 200: {
- content: {
- 'application/json': Record<string, never>
- }
- }
- 403: {
+ 201: {
content: never
}
- /** @description Failed to delete secrets with given names */
+ /** @description Failed to update project addon */
500: {
content: never
}
}
}
- /** Refreshes secrets */
- SecretsRefreshController_refreshSecrets: {
+ /** Removes project addon */
+ AddonsController_removeAddon: {
parameters: {
path: {
/** @description Project ref */
ref: string
+ addon_variant: components['schemas']['AddonVariantId']
}
}
- responses: {
- 201: {
- content: never
- }
- /** @description Failed to refresh secrets */
- 500: {
- content: never
- }
- }
- }
- /** Get API health status */
- HealthController_getStatus: {
responses: {
200: {
- content: {
- 'application/json': components['schemas']['HealthResponse']
- }
+ content: never
}
- /** @description Failed to retrieve API health status */
+ /** @description Failed to remove project addon */
500: {
content: never
}
}
}
- /** Updates a project's health status. */
- HealthReportingController_updateStatus: {
+ /** Handle update project jwt on completion */
+ ProjectUpdateJwtController_completeUpdateJwt: {
parameters: {
path: {
/** @description Project ref */
ref: string
}
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['ReportStatusBody']
- }
- }
- responses: {
- 200: {
- content: never
- }
- /** @description Failed to update health status. */
- 500: {
+ }
+ responses: {
+ 201: {
content: never
}
}
}
- /** Records an HA event */
- HaEventsController_updateStatus: {
+ /** Allows a project to obtain temporary credentials. */
+ AwsCredentialsController_getTemporaryCredentials: {
parameters: {
path: {
/** @description Project ref */
@@ -12664,47 +12750,61 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['EventBody']
+ 'application/json': components['schemas']['CredentialsRequestBody']
}
}
responses: {
200: {
- content: never
+ content: {
+ 'application/json': components['schemas']['CredentialsResponseBody']
+ }
}
- /** @description Failed to record HA event. */
+ /** @description Failed to obtain temporary credentials. */
500: {
content: never
}
}
}
- /** Allows a project to obtain temporary credentials. */
- AwsCredentialsController_getTemporaryCredentials: {
+ /**
+ * List all functions
+ * @description Returns all functions you've previously added to the specified project.
+ */
+ 'v1-list-all-functions': {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['CredentialsRequestBody']
- }
- }
responses: {
200: {
content: {
- 'application/json': components['schemas']['CredentialsResponseBody']
+ 'application/json': components['schemas']['FunctionResponse'][]
}
}
- /** @description Failed to obtain temporary credentials. */
+ 403: {
+ content: never
+ }
+ /** @description Failed to retrieve project's functions */
500: {
content: never
}
}
}
- /** Updates project addon */
- AddonsController_updateAddon: {
+ /**
+ * Create a function
+ * @description Creates a function and adds it to the specified project.
+ */
+ SystemFunctionsController_createFunction: {
parameters: {
+ query?: {
+ slug?: string
+ name?: string
+ verify_jwt?: boolean
+ import_map?: boolean
+ entrypoint_path?: string
+ import_map_path?: string
+ }
path: {
/** @description Project ref */
ref: string
@@ -12712,226 +12812,271 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateAddonAdminBody']
+ 'application/json': components['schemas']['V1CreateFunctionBody']
+ 'application/vnd.denoland.eszip': components['schemas']['V1CreateFunctionBody']
}
}
responses: {
201: {
+ content: {
+ 'application/json': components['schemas']['FunctionResponse']
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to update project addon */
+ /** @description Failed to create project's function */
500: {
content: never
}
}
}
- /** Removes project addon */
- AddonsController_removeAddon: {
+ /** Deletes all Edge Functions from a project */
+ SystemFunctionsController_systemDeleteAllFunctions: {
parameters: {
path: {
/** @description Project ref */
ref: string
- addon_variant: components['schemas']['AddonVariantId']
}
}
responses: {
200: {
content: never
}
- /** @description Failed to remove project addon */
- 500: {
- content: never
- }
}
}
- /** Handle update project jwt on completion */
- ProjectUpdateJwtController_completeUpdateJwt: {
+ /**
+ * Delete a function
+ * @description Deletes a function with the specified slug from the specified project.
+ */
+ 'v1-delete-a-function': {
parameters: {
path: {
/** @description Project ref */
ref: string
+ /** @description Function slug */
+ function_slug: string
}
}
responses: {
- 201: {
+ 200: {
content: never
}
- }
- }
- /** Create a project */
- SystemProjectsController_createProject: {
- requestBody: {
- content: {
- 'application/json': components['schemas']['SystemCreateProjectBody']
+ 403: {
+ content: never
}
- }
- responses: {
- 201: {
- content: {
- 'application/json': components['schemas']['SystemProjectResponse']
- }
+ /** @description Failed to delete function with given slug */
+ 500: {
+ content: never
}
}
}
- /** Gets usage stats */
- OrgUsageSystemController_getOrgUsage: {
+ /**
+ * Update a function
+ * @description Updates a function with the specified slug and project.
+ */
+ 'v1-update-a-function': {
parameters: {
query?: {
- project_ref?: string
- start?: string
- end?: string
+ slug?: string
+ name?: string
+ verify_jwt?: boolean
+ import_map?: boolean
+ entrypoint_path?: string
+ import_map_path?: string
}
path: {
- /** @description Organization slug */
- slug: string
+ /** @description Project ref */
+ ref: string
+ /** @description Function slug */
+ function_slug: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['V1UpdateFunctionBody']
+ 'application/vnd.denoland.eszip': components['schemas']['V1UpdateFunctionBody']
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['OrgUsageResponse']
+ 'application/json': components['schemas']['FunctionResponse']
}
}
- /** @description Failed to get usage stats */
+ 403: {
+ content: never
+ }
+ /** @description Failed to update function with given slug */
500: {
content: never
}
}
}
- /** Gets the partner usage and costs */
- PartnerBillingSystemController_getPartnerUsageAndCosts: {
+ /** Records an HA event */
+ HaEventsController_updateStatus: {
parameters: {
path: {
- /** @description Organization slug */
- slug: string
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['EventBody']
}
}
responses: {
200: {
content: never
}
- /** @description Failed to retrieve subscription */
+ /** @description Failed to record HA event. */
500: {
content: never
}
}
}
- /** Gets the current subscription */
- OrgSubscriptionSystemController_getSubscription: {
+ /** Updates a project's health status. */
+ HealthReportingController_updateStatus: {
parameters: {
path: {
- /** @description Organization slug */
- slug: string
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['ReportStatusBody']
}
}
responses: {
200: {
content: never
}
- /** @description Failed to retrieve subscription */
+ /** @description Failed to update health status. */
500: {
content: never
}
}
}
- /** Updates subscription */
- OrgSubscriptionSystemController_updateSubscription: {
+ /** Run project lints */
+ SystemProjectRunLintsController_runProjectLints: {
parameters: {
path: {
- /** @description Organization slug */
- slug: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateSubscriptionV2AdminBody']
+ /** @description Project ref */
+ ref: string
}
}
responses: {
200: {
- content: never
+ content: {
+ 'application/json': components['schemas']['ProjectLintResponse'][]
+ }
}
- /** @description Failed to update subscription */
- 500: {
+ 403: {
content: never
}
}
}
- /** Updates restriction status of an org */
- OrgRestrictionsSystemController_updateRestriction: {
+ /**
+ * List all secrets
+ * @description Returns all secrets you've previously added to the specified project.
+ */
+ 'v1-list-all-secrets': {
parameters: {
path: {
- /** @description Organization slug */
- slug: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateRestrictionsBody']
+ /** @description Project ref */
+ ref: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['UpdateRestrictionsResponse']
+ 'application/json': components['schemas']['SecretResponse'][]
}
}
- /** @description Failed to update restriction status */
+ 403: {
+ content: never
+ }
+ /** @description Failed to retrieve project's secrets */
500: {
content: never
}
}
}
- /** Creates a partner organization */
- AwsPartnerOrganizationsSystemController_createPartnerOrganization: {
+ /**
+ * Bulk create secrets
+ * @description Creates multiple secrets and adds them to the specified project.
+ */
+ 'v1-bulk-create-secrets': {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
requestBody: {
content: {
- 'application/json': components['schemas']['CreateAwsPartnerOrganizationBody']
+ 'application/json': components['schemas']['CreateSecretBody'][]
}
}
responses: {
201: {
- content: {
- 'application/json': components['schemas']['AwsPartnerOrganizationResponse']
- }
+ content: never
}
- /** @description Unexpected error creating a partner organization */
+ 403: {
+ content: never
+ }
+ /** @description Failed to create project's secrets */
500: {
content: never
}
}
}
- /** Processes Vercel event */
- VercelWebhooksController_processEvent: {
+ /**
+ * Bulk delete secrets
+ * @description Deletes all secrets with the given names from the specified project
+ */
+ 'v1-bulk-delete-secrets': {
parameters: {
- header: {
- 'x-vercel-signature': string
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': string[]
}
}
responses: {
- 201: {
+ 200: {
+ content: {
+ 'application/json': Record<string, never>
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to process Vercel event */
+ /** @description Failed to delete secrets with given names */
500: {
content: never
}
}
}
- /** Processes GitHub event */
- GitHubWebhooksController_processEvent: {
+ /** Refreshes secrets */
+ SecretsRefreshController_refreshSecrets: {
parameters: {
- header: {
- 'x-github-delivery': string
- 'x-github-event': string
- 'x-hub-signature-256': string
+ path: {
+ /** @description Project ref */
+ ref: string
}
}
responses: {
201: {
content: never
}
- /** @description Failed to process GitHub event */
+ /** @description Failed to refresh secrets */
500: {
content: never
}
@@ -13075,245 +13220,137 @@ export interface operations {
}
}
}
- /**
- * List all projects
- * @description Returns a list of all projects you've previously created.
- */
- 'v1-list-all-projects': {
+ /** [Beta] Authorize user through oauth */
+ 'v1-authorize-user': {
+ parameters: {
+ query: {
+ client_id: string
+ response_type: 'code' | 'token' | 'id_token token'
+ redirect_uri: string
+ scope?: string
+ state?: string
+ response_mode?: string
+ code_challenge?: string
+ code_challenge_method?: 'plain' | 'sha256' | 'S256'
+ }
+ }
responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['V1ProjectResponse'][]
- }
+ 303: {
+ content: never
}
}
}
- /** Create a project */
- 'v1-create-a-project': {
+ /** [Beta] Exchange auth code for user's access and refresh token */
+ 'v1-exchange-oauth-token': {
requestBody: {
content: {
- 'application/json': components['schemas']['V1CreateProjectBody']
+ 'application/x-www-form-urlencoded': components['schemas']['OAuthTokenBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['V1ProjectResponse']
- }
- }
- }
- }
- /** Get project api keys */
- 'v1-get-project-api-keys': {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['ApiKeyResponse'][]
+ 'application/json': components['schemas']['OAuthTokenResponse']
}
}
- 403: {
- content: never
- }
}
}
/**
- * List all database branches
- * @description Returns all database branches of the specified project.
+ * List all organizations
+ * @description Returns a list of organizations that you currently belong to.
*/
- 'v1-list-all-branches': {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
+ 'v1-list-all-organizations': {
responses: {
200: {
content: {
- 'application/json': components['schemas']['BranchResponse'][]
+ 'application/json': components['schemas']['OrganizationResponseV1'][]
}
}
- /** @description Failed to retrieve database branches */
+ /** @description Unexpected error listing organizations */
500: {
content: never
}
}
}
- /**
- * Create a database branch
- * @description Creates a database branch from the specified project.
- */
- 'v1-create-a-branch': {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
+ /** Create an organization */
+ 'v1-create-an-organization': {
requestBody: {
content: {
- 'application/json': components['schemas']['CreateBranchBody']
+ 'application/json': components['schemas']['CreateOrganizationBodyV1']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['BranchResponse']
+ 'application/json': components['schemas']['OrganizationResponseV1']
}
}
- /** @description Failed to create database branch */
- 500: {
- content: never
- }
- }
- }
- /**
- * Disables preview branching
- * @description Disables preview branching for the specified project
- */
- 'v1-disable-preview-branching': {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
- responses: {
- 200: {
- content: never
- }
- /** @description Failed to disable preview branching */
+ /** @description Unexpected error creating an organization */
500: {
content: never
}
}
}
- /** [Beta] Gets project's custom hostname config */
- 'v1-get-hostname-config': {
+ /** Gets information about the organization */
+ 'v1-get-an-organization': {
parameters: {
path: {
- /** @description Project ref */
- ref: string
+ slug: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['UpdateCustomHostnameResponse']
+ 'application/json': components['schemas']['V1OrganizationSlugResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to retrieve project's custom hostname config */
- 500: {
- content: never
- }
}
}
- /** [Beta] Deletes a project's custom hostname configuration */
- 'v1-Delete hostname config': {
+ /** List members of an organization */
+ 'v1-list-organization-members': {
parameters: {
path: {
- /** @description Project ref */
- ref: string
+ slug: string
}
}
responses: {
200: {
- content: never
- }
- 403: {
- content: never
- }
- /** @description Failed to delete project custom hostname configuration */
- 500: {
- content: never
- }
- }
- }
- /** [Beta] Updates project's custom hostname configuration */
- 'v1-update-hostname-config': {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateCustomHostnameBody']
- }
- }
- responses: {
- 201: {
content: {
- 'application/json': components['schemas']['UpdateCustomHostnameResponse']
+ 'application/json': components['schemas']['V1OrganizationMemberResponse'][]
}
}
- 403: {
- content: never
- }
- /** @description Failed to update project custom hostname configuration */
- 500: {
- content: never
- }
}
}
- /** [Beta] Attempts to verify the DNS configuration for project's custom hostname configuration */
- 'v1-verify-dns-config': {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
- }
- }
+ /**
+ * List all projects
+ * @description Returns a list of all projects you've previously created.
+ */
+ 'v1-list-all-projects': {
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['UpdateCustomHostnameResponse']
+ 'application/json': components['schemas']['V1ProjectResponse'][]
}
}
- 403: {
- content: never
- }
- /** @description Failed to verify project custom hostname configuration */
- 500: {
- content: never
- }
}
}
- /** [Beta] Activates a custom hostname for a project. */
- 'v1-activate-custom-hostname': {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
+ /** Create a project */
+ 'v1-create-a-project': {
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['V1CreateProjectBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['UpdateCustomHostnameResponse']
+ 'application/json': components['schemas']['V1ProjectResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to activate project custom hostname configuration */
- 500: {
- content: never
- }
}
}
- /** [Beta] Gets project's network bans */
- 'v1-list-all-network-bans': {
+ /** Deletes the given project */
+ 'v1-Delete a project': {
parameters: {
path: {
/** @description Project ref */
@@ -13321,48 +13358,40 @@ export interface operations {
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['NetworkBanResponse']
+ 'application/json': components['schemas']['V1ProjectRefResponse']
}
}
403: {
content: never
}
- /** @description Failed to retrieve project's network bans */
- 500: {
- content: never
- }
}
}
- /** [Beta] Remove network bans. */
- 'v1-delete-network-bans': {
+ /** Get project api keys */
+ 'v1-get-project-api-keys': {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['RemoveNetworkBanRequest']
- }
- }
responses: {
200: {
- content: never
+ content: {
+ 'application/json': components['schemas']['ApiKeyResponse'][]
+ }
}
403: {
content: never
}
- /** @description Failed to remove network bans. */
- 500: {
- content: never
- }
}
}
- /** [Beta] Gets project's network restrictions */
- 'v1-get-network-restrictions': {
+ /**
+ * List all database branches
+ * @description Returns all database branches of the specified project.
+ */
+ 'v1-list-all-branches': {
parameters: {
path: {
/** @description Project ref */
@@ -13372,20 +13401,20 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['NetworkRestrictionsResponse']
+ 'application/json': components['schemas']['BranchResponse'][]
}
}
- 403: {
- content: never
- }
- /** @description Failed to retrieve project's network restrictions */
+ /** @description Failed to retrieve database branches */
500: {
content: never
}
}
}
- /** [Beta] Updates project's network restrictions */
- 'v1-update-network-restrictions': {
+ /**
+ * Create a database branch
+ * @description Creates a database branch from the specified project.
+ */
+ 'v1-create-a-branch': {
parameters: {
path: {
/** @description Project ref */
@@ -13394,26 +13423,44 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['NetworkRestrictionsRequest']
+ 'application/json': components['schemas']['CreateBranchBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['NetworkRestrictionsResponse']
+ 'application/json': components['schemas']['BranchResponse']
}
}
- 403: {
+ /** @description Failed to create database branch */
+ 500: {
content: never
}
- /** @description Failed to update project network restrictions */
+ }
+ }
+ /**
+ * Disables preview branching
+ * @description Disables preview branching for the specified project
+ */
+ 'v1-disable-preview-branching': {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ responses: {
+ 200: {
+ content: never
+ }
+ /** @description Failed to disable preview branching */
500: {
content: never
}
}
}
- /** [Beta] Gets project's pgsodium config */
- 'v1-get-pgsodium-config': {
+ /** Gets project's auth config */
+ 'v1-get-auth-service-config': {
parameters: {
path: {
/** @description Project ref */
@@ -13423,20 +13470,20 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PgsodiumConfigResponse']
+ 'application/json': components['schemas']['AuthConfigResponse']
}
}
403: {
content: never
}
- /** @description Failed to retrieve project's pgsodium config */
+ /** @description Failed to retrieve project's auth config */
500: {
content: never
}
}
}
- /** [Beta] Updates project's pgsodium config. Updating the root_key can cause all data encrypted with the older key to become inaccessible. */
- 'v1-update-pgsodium-config': {
+ /** Updates a project's auth config */
+ 'v1-update-auth-service-config': {
parameters: {
path: {
/** @description Project ref */
@@ -13445,26 +13492,26 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdatePgsodiumConfigBody']
+ 'application/json': components['schemas']['UpdateAuthConfigBody']
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['PgsodiumConfigResponse']
+ 'application/json': components['schemas']['AuthConfigResponse']
}
}
403: {
content: never
}
- /** @description Failed to update project's pgsodium config */
+ /** @description Failed to update project's auth config */
500: {
content: never
}
}
}
- /** Gets project's postgrest config */
- 'v1-get-postgrest-service-config': {
+ /** Lists all SSO providers */
+ 'v1-list-all-sso-provider': {
parameters: {
path: {
/** @description Project ref */
@@ -13474,20 +13521,20 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['PostgrestConfigWithJWTSecretResponse']
+ 'application/json': components['schemas']['ListProvidersResponse']
}
}
403: {
content: never
}
- /** @description Failed to retrieve project's postgrest config */
- 500: {
+ /** @description SAML 2.0 support is not enabled for this project */
+ 404: {
content: never
}
}
}
- /** Updates project's postgrest config */
- 'v1-update-postgrest-service-config': {
+ /** Creates a new SSO provider */
+ 'v1-create-a-sso-provider': {
parameters: {
path: {
/** @description Project ref */
@@ -13496,103 +13543,104 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdatePostgrestConfigBody']
+ 'application/json': components['schemas']['CreateProviderBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['V1PostgrestConfigResponse']
+ 'application/json': components['schemas']['CreateProviderResponse']
}
}
403: {
content: never
}
- /** @description Failed to update project's postgrest config */
- 500: {
+ /** @description SAML 2.0 support is not enabled for this project */
+ 404: {
content: never
}
}
}
- /** Deletes the given project */
- 'v1-Delete a project': {
+ /** Gets a SSO provider by its UUID */
+ 'v1-get-a-sso-provider': {
parameters: {
path: {
/** @description Project ref */
ref: string
+ provider_id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['V1ProjectRefResponse']
+ 'application/json': components['schemas']['GetProviderResponse']
}
}
403: {
content: never
}
+ /** @description Either SAML 2.0 was not enabled for this project, or the provider does not exist */
+ 404: {
+ content: never
+ }
}
}
- /** [Beta] Get project's SSL enforcement configuration. */
- 'v1-get-ssl-enforcement-config': {
+ /** Updates a SSO provider by its UUID */
+ 'v1-update-a-sso-provider': {
parameters: {
path: {
/** @description Project ref */
ref: string
+ provider_id: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['UpdateProviderBody']
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['SslEnforcementResponse']
+ 'application/json': components['schemas']['UpdateProviderResponse']
}
}
403: {
content: never
}
- /** @description Failed to retrieve project's SSL enforcement config */
- 500: {
+ /** @description Either SAML 2.0 was not enabled for this project, or the provider does not exist */
+ 404: {
content: never
}
}
}
- /** [Beta] Update project's SSL enforcement configuration. */
- 'v1-update-ssl-enforcement-config': {
+ /** Removes a SSO provider by its UUID */
+ 'v1-delete-a-sso-provider': {
parameters: {
path: {
/** @description Project ref */
ref: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['SslEnforcementRequest']
+ provider_id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['SslEnforcementResponse']
+ 'application/json': components['schemas']['DeleteProviderResponse']
}
}
403: {
content: never
}
- /** @description Failed to update project's SSL enforcement configuration. */
- 500: {
+ /** @description Either SAML 2.0 was not enabled for this project, or the provider does not exist */
+ 404: {
content: never
}
}
}
- /**
- * Generate TypeScript types
- * @description Returns the TypeScript types of your schema for use with supabase-js.
- */
- 'v1-generate-typescript-types': {
+ /** Get project's pgbouncer config */
+ 'v1-get-project-pgbouncer-config': {
parameters: {
- query?: {
- included_schemas?: string
- }
path: {
/** @description Project ref */
ref: string
@@ -13601,20 +13649,17 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['TypescriptResponse']
+ 'application/json': components['schemas']['V1PgbouncerConfigResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to generate TypeScript types */
+ /** @description Failed to retrieve project's pgbouncer config */
500: {
content: never
}
}
}
- /** [Beta] Gets current vanity subdomain config */
- 'v1-get-vanity-subdomain-config': {
+ /** [Beta] Gets project's custom hostname config */
+ 'v1-get-hostname-config': {
parameters: {
path: {
/** @description Project ref */
@@ -13624,20 +13669,20 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['VanitySubdomainConfigResponse']
+ 'application/json': components['schemas']['UpdateCustomHostnameResponse']
}
}
403: {
content: never
}
- /** @description Failed to get project vanity subdomain configuration */
+ /** @description Failed to retrieve project's custom hostname config */
500: {
content: never
}
}
}
- /** [Beta] Deletes a project's vanity subdomain configuration */
- 'v1-deactivate-vanity-subdomain-config': {
+ /** [Beta] Deletes a project's custom hostname configuration */
+ 'v1-Delete hostname config': {
parameters: {
path: {
/** @description Project ref */
@@ -13651,42 +13696,37 @@ export interface operations {
403: {
content: never
}
- /** @description Failed to delete project vanity subdomain configuration */
+ /** @description Failed to delete project custom hostname configuration */
500: {
content: never
}
}
}
- /** [Beta] Checks vanity subdomain availability */
- 'v1-check-vanity-subdomain-availability': {
+ /** [Beta] Activates a custom hostname for a project. */
+ 'v1-activate-custom-hostname': {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['VanitySubdomainBody']
- }
- }
responses: {
201: {
content: {
- 'application/json': components['schemas']['SubdomainAvailabilityResponse']
+ 'application/json': components['schemas']['UpdateCustomHostnameResponse']
}
}
403: {
content: never
}
- /** @description Failed to check project vanity subdomain configuration */
+ /** @description Failed to activate project custom hostname configuration */
500: {
content: never
}
}
}
- /** [Beta] Activates a vanity subdomain for a project. */
- 'v1-activate-vanity-subdomain-config': {
+ /** [Beta] Updates project's custom hostname configuration */
+ 'v1-update-hostname-config': {
parameters: {
path: {
/** @description Project ref */
@@ -13695,54 +13735,49 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['VanitySubdomainBody']
+ 'application/json': components['schemas']['UpdateCustomHostnameBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['ActivateVanitySubdomainResponse']
+ 'application/json': components['schemas']['UpdateCustomHostnameResponse']
}
}
403: {
content: never
}
- /** @description Failed to activate project vanity subdomain configuration */
+ /** @description Failed to update project custom hostname configuration */
500: {
content: never
}
}
}
- /** [Beta] Upgrades the project's Postgres version */
- 'v1-upgrade-postgres-version': {
+ /** [Beta] Attempts to verify the DNS configuration for project's custom hostname configuration */
+ 'v1-verify-dns-config': {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpgradeDatabaseBody']
- }
- }
responses: {
201: {
content: {
- 'application/json': components['schemas']['ProjectUpgradeInitiateResponse']
+ 'application/json': components['schemas']['UpdateCustomHostnameResponse']
}
}
403: {
content: never
}
- /** @description Failed to initiate project upgrade */
+ /** @description Failed to verify project custom hostname configuration */
500: {
content: never
}
}
}
- /** [Beta] Returns the project's eligibility for upgrades */
- 'v1-get-postgrest-upgrade-eligibility': {
+ /** Lists all backups */
+ 'v1-list-all-backups': {
parameters: {
path: {
/** @description Project ref */
@@ -13752,63 +13787,64 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['ProjectUpgradeEligibilityResponse']
+ 'application/json': components['schemas']['V1BackupsResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to determine project upgrade eligibility */
+ /** @description Failed to get backups */
500: {
content: never
}
}
}
- /** [Beta] Gets the latest status of the project's upgrade */
- 'v1-get-postgrest-upgrade-status': {
+ /** Restores a PITR backup for a database */
+ 'v1-restore-pitr-backup': {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['DatabaseUpgradeStatusResponse']
- }
- }
- 403: {
- content: never
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['V1RestorePitrBody']
}
- /** @description Failed to retrieve project upgrade status */
- 500: {
+ }
+ responses: {
+ 201: {
content: never
}
}
}
- /** Returns project's readonly mode status */
- 'v1-get-readonly-mode-status': {
+ /** [Beta] Run sql query */
+ 'v1-run-a-query': {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['V1RunQueryBody']
+ }
+ }
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['ReadOnlyStatusResponse']
+ 'application/json': Record<string, never>
}
}
- /** @description Failed to get project readonly mode status */
+ 403: {
+ content: never
+ }
+ /** @description Failed to run sql query */
500: {
content: never
}
}
}
- /** Disables project's readonly mode for the next 15 minutes */
- 'v1-disable-readonly-mode-temporarily': {
+ /** [Beta] Enables Database Webhooks on the project */
+ 'v1-enable-database-webhook': {
parameters: {
path: {
/** @description Project ref */
@@ -13819,53 +13855,64 @@ export interface operations {
201: {
content: never
}
- /** @description Failed to disable project's readonly mode */
+ 403: {
+ content: never
+ }
+ /** @description Failed to enable Database Webhooks on the project */
500: {
content: never
}
}
}
- /** [Beta] Set up a read replica */
- 'v1-setup-a-read-replica': {
+ /**
+ * Retrieve a function
+ * @description Retrieves a function with the specified slug and project.
+ */
+ 'v1-get-a-function': {
parameters: {
path: {
/** @description Project ref */
ref: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['SetUpReadReplicaBody']
+ /** @description Function slug */
+ function_slug: string
}
}
responses: {
- 201: {
+ 200: {
+ content: {
+ 'application/json': components['schemas']['FunctionSlugResponse']
+ }
+ }
+ 403: {
content: never
}
- /** @description Failed to set up read replica */
+ /** @description Failed to retrieve function with given slug */
500: {
content: never
}
}
}
- /** [Beta] Remove a read replica */
- 'v1-remove-a-read-replica': {
+ /**
+ * Retrieve a function body
+ * @description Retrieves a function body for the specified slug and project.
+ */
+ 'v1-get-a-function-body': {
parameters: {
path: {
/** @description Project ref */
ref: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['RemoveReadReplicaBody']
+ /** @description Function slug */
+ function_slug: string
}
}
responses: {
- 201: {
+ 200: {
content: never
}
- /** @description Failed to remove read replica */
+ 403: {
+ content: never
+ }
+ /** @description Failed to retrieve function body with given slug */
500: {
content: never
}
@@ -13895,79 +13942,57 @@ export interface operations {
}
}
}
- /** Get project's pgbouncer config */
- 'v1-get-project-pgbouncer-config': {
+ /** [Beta] Remove network bans. */
+ 'v1-delete-network-bans': {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['V1PgbouncerConfigResponse']
- }
- }
- /** @description Failed to retrieve project's pgbouncer config */
- 500: {
- content: never
- }
- }
- }
- /** Gets project's auth config */
- 'v1-get-auth-service-config': {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['RemoveNetworkBanRequest']
}
}
responses: {
200: {
- content: {
- 'application/json': components['schemas']['AuthConfigResponse']
- }
+ content: never
}
403: {
content: never
}
- /** @description Failed to retrieve project's auth config */
+ /** @description Failed to remove network bans. */
500: {
content: never
}
}
}
- /** Updates a project's auth config */
- 'v1-update-auth-service-config': {
+ /** [Beta] Gets project's network bans */
+ 'v1-list-all-network-bans': {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
- requestBody: {
- content: {
- 'application/json': components['schemas']['UpdateAuthConfigBody']
- }
- }
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['AuthConfigResponse']
+ 'application/json': components['schemas']['NetworkBanResponse']
}
}
403: {
content: never
}
- /** @description Failed to update project's auth config */
+ /** @description Failed to retrieve project's network bans */
500: {
content: never
}
}
}
- /** Lists all SSO providers */
- 'v1-list-all-sso-provider': {
+ /** [Beta] Gets project's network restrictions */
+ 'v1-get-network-restrictions': {
parameters: {
path: {
/** @description Project ref */
@@ -13977,20 +14002,20 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['ListProvidersResponse']
+ 'application/json': components['schemas']['NetworkRestrictionsResponse']
}
}
403: {
content: never
}
- /** @description SAML 2.0 support is not enabled for this project */
- 404: {
+ /** @description Failed to retrieve project's network restrictions */
+ 500: {
content: never
}
}
}
- /** Creates a new SSO provider */
- 'v1-create-a-sso-provider': {
+ /** [Beta] Updates project's network restrictions */
+ 'v1-update-network-restrictions': {
parameters: {
path: {
/** @description Project ref */
@@ -13999,103 +14024,100 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['CreateProviderBody']
+ 'application/json': components['schemas']['NetworkRestrictionsRequest']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['CreateProviderResponse']
+ 'application/json': components['schemas']['NetworkRestrictionsResponse']
}
}
403: {
content: never
}
- /** @description SAML 2.0 support is not enabled for this project */
- 404: {
+ /** @description Failed to update project network restrictions */
+ 500: {
content: never
}
}
}
- /** Gets a SSO provider by its UUID */
- 'v1-get-a-sso-provider': {
+ /** [Beta] Gets project's pgsodium config */
+ 'v1-get-pgsodium-config': {
parameters: {
path: {
/** @description Project ref */
ref: string
- provider_id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['GetProviderResponse']
+ 'application/json': components['schemas']['PgsodiumConfigResponse']
}
}
403: {
content: never
}
- /** @description Either SAML 2.0 was not enabled for this project, or the provider does not exist */
- 404: {
+ /** @description Failed to retrieve project's pgsodium config */
+ 500: {
content: never
}
}
}
- /** Updates a SSO provider by its UUID */
- 'v1-update-a-sso-provider': {
+ /** [Beta] Updates project's pgsodium config. Updating the root_key can cause all data encrypted with the older key to become inaccessible. */
+ 'v1-update-pgsodium-config': {
parameters: {
path: {
/** @description Project ref */
ref: string
- provider_id: string
}
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateProviderBody']
+ 'application/json': components['schemas']['UpdatePgsodiumConfigBody']
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['UpdateProviderResponse']
+ 'application/json': components['schemas']['PgsodiumConfigResponse']
}
}
403: {
content: never
}
- /** @description Either SAML 2.0 was not enabled for this project, or the provider does not exist */
- 404: {
+ /** @description Failed to update project's pgsodium config */
+ 500: {
content: never
}
}
}
- /** Removes a SSO provider by its UUID */
- 'v1-delete-a-sso-provider': {
+ /** Gets project's postgrest config */
+ 'v1-get-postgrest-service-config': {
parameters: {
path: {
/** @description Project ref */
ref: string
- provider_id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['DeleteProviderResponse']
+ 'application/json': components['schemas']['PostgrestConfigWithJWTSecretResponse']
}
}
403: {
content: never
}
- /** @description Either SAML 2.0 was not enabled for this project, or the provider does not exist */
- 404: {
+ /** @description Failed to retrieve project's postgrest config */
+ 500: {
content: never
}
}
}
- /** [Beta] Run sql query */
- 'v1-run-a-query': {
+ /** Updates project's postgrest config */
+ 'v1-update-postgrest-service-config': {
parameters: {
path: {
/** @description Project ref */
@@ -14104,67 +14126,49 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['V1RunQueryBody']
+ 'application/json': components['schemas']['UpdatePostgrestConfigBody']
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': Record<string, never>
+ 'application/json': components['schemas']['V1PostgrestConfigResponse']
}
}
403: {
content: never
}
- /** @description Failed to run sql query */
+ /** @description Failed to update project's postgrest config */
500: {
content: never
}
}
}
- /** [Beta] Enables Database Webhooks on the project */
- 'v1-enable-database-webhook': {
+ /** [Beta] Remove a read replica */
+ 'v1-remove-a-read-replica': {
parameters: {
path: {
/** @description Project ref */
ref: string
}
}
- responses: {
- 201: {
- content: never
- }
- 403: {
- content: never
- }
- /** @description Failed to enable Database Webhooks on the project */
- 500: {
- content: never
- }
- }
- }
- /** Lists all backups */
- 'v1-list-all-backups': {
- parameters: {
- path: {
- /** @description Project ref */
- ref: string
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['RemoveReadReplicaBody']
}
}
responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['V1BackupsResponse']
- }
+ 201: {
+ content: never
}
- /** @description Failed to get backups */
+ /** @description Failed to remove read replica */
500: {
content: never
}
}
}
- /** Restores a PITR backup for a database */
- 'v1-restore-pitr-backup': {
+ /** [Beta] Set up a read replica */
+ 'v1-setup-a-read-replica': {
parameters: {
path: {
/** @description Project ref */
@@ -14173,71 +14177,59 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['V1RestorePitrBody']
+ 'application/json': components['schemas']['SetUpReadReplicaBody']
}
}
responses: {
201: {
content: never
}
+ /** @description Failed to set up read replica */
+ 500: {
+ content: never
+ }
}
}
- /**
- * Retrieve a function
- * @description Retrieves a function with the specified slug and project.
- */
- 'v1-get-a-function': {
+ /** Returns project's readonly mode status */
+ 'v1-get-readonly-mode-status': {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Function slug */
- function_slug: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['FunctionSlugResponse']
+ 'application/json': components['schemas']['ReadOnlyStatusResponse']
}
}
- 403: {
- content: never
- }
- /** @description Failed to retrieve function with given slug */
+ /** @description Failed to get project readonly mode status */
500: {
content: never
}
}
}
- /**
- * Retrieve a function body
- * @description Retrieves a function body for the specified slug and project.
- */
- 'v1-get-a-function-body': {
+ /** Disables project's readonly mode for the next 15 minutes */
+ 'v1-disable-readonly-mode-temporarily': {
parameters: {
path: {
/** @description Project ref */
ref: string
- /** @description Function slug */
- function_slug: string
}
}
responses: {
- 200: {
- content: never
- }
- 403: {
+ 201: {
content: never
}
- /** @description Failed to retrieve function body with given slug */
+ /** @description Failed to disable project's readonly mode */
500: {
content: never
}
}
}
- /** Lists all buckets */
- 'v1-list-all-buckets': {
+ /** [Beta] Get project's SSL enforcement configuration. */
+ 'v1-get-ssl-enforcement-config': {
parameters: {
path: {
/** @description Project ref */
@@ -14247,295 +14239,308 @@ export interface operations {
responses: {
200: {
content: {
- 'application/json': components['schemas']['V1StorageBucketResponse'][]
+ 'application/json': components['schemas']['SslEnforcementResponse']
}
}
403: {
content: never
}
- /** @description Failed to get list of buckets */
+ /** @description Failed to retrieve project's SSL enforcement config */
500: {
content: never
}
}
}
- /**
- * List all organizations
- * @description Returns a list of organizations that you currently belong to.
- */
- 'v1-list-all-organizations': {
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['OrganizationResponseV1'][]
- }
- }
- /** @description Unexpected error listing organizations */
- 500: {
- content: never
+ /** [Beta] Update project's SSL enforcement configuration. */
+ 'v1-update-ssl-enforcement-config': {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
}
}
- }
- /** Create an organization */
- 'v1-create-an-organization': {
requestBody: {
content: {
- 'application/json': components['schemas']['CreateOrganizationBodyV1']
+ 'application/json': components['schemas']['SslEnforcementRequest']
}
}
responses: {
- 201: {
+ 200: {
content: {
- 'application/json': components['schemas']['OrganizationResponseV1']
+ 'application/json': components['schemas']['SslEnforcementResponse']
}
}
- /** @description Unexpected error creating an organization */
+ 403: {
+ content: never
+ }
+ /** @description Failed to update project's SSL enforcement configuration. */
500: {
content: never
}
}
}
- /** List members of an organization */
- 'v1-list-organization-members': {
+ /** Lists all buckets */
+ 'v1-list-all-buckets': {
parameters: {
path: {
- slug: string
+ /** @description Project ref */
+ ref: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['V1OrganizationMemberResponse'][]
+ 'application/json': components['schemas']['V1StorageBucketResponse'][]
}
}
+ 403: {
+ content: never
+ }
+ /** @description Failed to get list of buckets */
+ 500: {
+ content: never
+ }
}
}
- /** Gets information about the organization */
- 'v1-get-an-organization': {
+ /**
+ * Generate TypeScript types
+ * @description Returns the TypeScript types of your schema for use with supabase-js.
+ */
+ 'v1-generate-typescript-types': {
parameters: {
+ query?: {
+ included_schemas?: string
+ }
path: {
- slug: string
+ /** @description Project ref */
+ ref: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['V1OrganizationSlugResponse']
+ 'application/json': components['schemas']['TypescriptResponse']
}
}
- }
- }
- /** [Beta] Authorize user through oauth */
- 'v1-authorize-user': {
- parameters: {
- query: {
- client_id: string
- response_type: 'code' | 'token' | 'id_token token'
- redirect_uri: string
- scope?: string
- state?: string
- response_mode?: string
- code_challenge?: string
- code_challenge_method?: 'plain' | 'sha256' | 'S256'
+ 403: {
+ content: never
}
- }
- responses: {
- 303: {
+ /** @description Failed to generate TypeScript types */
+ 500: {
content: never
}
}
}
- /** [Beta] Exchange auth code for user's access and refresh token */
- 'v1-exchange-oauth-token': {
+ /** [Beta] Upgrades the project's Postgres version */
+ 'v1-upgrade-postgres-version': {
+ parameters: {
+ path: {
+ /** @description Project ref */
+ ref: string
+ }
+ }
requestBody: {
content: {
- 'application/x-www-form-urlencoded': components['schemas']['OAuthTokenBody']
+ 'application/json': components['schemas']['UpgradeDatabaseBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['OAuthTokenResponse']
+ 'application/json': components['schemas']['ProjectUpgradeInitiateResponse']
}
}
+ 403: {
+ content: never
+ }
+ /** @description Failed to initiate project upgrade */
+ 500: {
+ content: never
+ }
}
}
- /** Lists SQL snippets for the logged in user */
- 'v1-list-all-snippets': {
+ /** [Beta] Returns the project's eligibility for upgrades */
+ 'v1-get-postgrest-upgrade-eligibility': {
parameters: {
- query?: {
- project_ref?: string
+ path: {
+ /** @description Project ref */
+ ref: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['SnippetList']
+ 'application/json': components['schemas']['ProjectUpgradeEligibilityResponse']
}
}
- /** @description Failed to list user's SQL snippets */
+ 403: {
+ content: never
+ }
+ /** @description Failed to determine project upgrade eligibility */
500: {
content: never
}
}
}
- /** Gets a specific SQL snippet */
- 'v1-get-a-snippet': {
+ /** [Beta] Gets the latest status of the project's upgrade */
+ 'v1-get-postgrest-upgrade-status': {
parameters: {
path: {
- id: string
+ /** @description Project ref */
+ ref: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['SnippetResponse']
+ 'application/json': components['schemas']['DatabaseUpgradeStatusResponse']
}
}
- /** @description Failed to retrieve SQL snippet */
- 500: {
+ 403: {
content: never
}
- }
- }
- /** Redirects to Supabase dashboard after completing Fly sso */
- CallbackController_redirectToDashboardFlyioExtensionScreen: {
- responses: {
- 200: {
+ /** @description Failed to retrieve project upgrade status */
+ 500: {
content: never
}
}
}
- /** Gets database status */
- ExtensionController_getResourceStatus: {
+ /** [Beta] Gets current vanity subdomain config */
+ 'v1-get-vanity-subdomain-config': {
parameters: {
path: {
- extension_id: string
+ /** @description Project ref */
+ ref: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['ResourceWithServicesStatusResponse']
+ 'application/json': components['schemas']['VanitySubdomainConfigResponse']
}
}
+ 403: {
+ content: never
+ }
+ /** @description Failed to get project vanity subdomain configuration */
+ 500: {
+ content: never
+ }
}
}
- /** Deletes a database */
- ExtensionController_deleteResource: {
+ /** [Beta] Deletes a project's vanity subdomain configuration */
+ 'v1-deactivate-vanity-subdomain-config': {
parameters: {
path: {
- extension_id: string
+ /** @description Project ref */
+ ref: string
}
}
responses: {
200: {
content: never
}
+ 403: {
+ content: never
+ }
+ /** @description Failed to delete project vanity subdomain configuration */
+ 500: {
+ content: never
+ }
}
}
- /** Starts Fly single sign on */
- ExtensionController_startFlyioSSO: {
+ /** [Beta] Activates a vanity subdomain for a project. */
+ 'v1-activate-vanity-subdomain-config': {
parameters: {
path: {
- extension_id: string
- }
- }
- responses: {
- 200: {
- content: never
+ /** @description Project ref */
+ ref: string
}
}
- }
- /** Creates a database */
- FlyExtensionsController_provisionResource: {
requestBody: {
content: {
- 'application/json': components['schemas']['FlyResourceProvisioningBody']
+ 'application/json': components['schemas']['VanitySubdomainBody']
}
}
responses: {
201: {
content: {
- 'application/json': components['schemas']['ResourceProvisioningResponse']
+ 'application/json': components['schemas']['ActivateVanitySubdomainResponse']
}
}
- }
- }
- /** Gets details of the organization linked to the provided Fly organization id */
- FlyOrganizationsController_getOrganization: {
- parameters: {
- path: {
- organization_id: string
+ 403: {
+ content: never
}
- }
- responses: {
- 200: {
- content: {
- 'application/json': components['schemas']['FlyOrganization']
- }
+ /** @description Failed to activate project vanity subdomain configuration */
+ 500: {
+ content: never
}
}
}
- /** Gets all databases that belong to the given Fly organization id */
- FlyOrganizationsController_getOrgExtensions: {
+ /** [Beta] Checks vanity subdomain availability */
+ 'v1-check-vanity-subdomain-availability': {
parameters: {
path: {
- organization_id: string
+ /** @description Project ref */
+ ref: string
+ }
+ }
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['VanitySubdomainBody']
}
}
responses: {
- 200: {
+ 201: {
content: {
- 'application/json': components['schemas']['OrganizationExtensionStatus'][]
+ 'application/json': components['schemas']['SubdomainAvailabilityResponse']
}
}
- }
- }
- /** Starts Fly single sign on */
- FlyOrganizationsController_startFlyioSSO: {
- parameters: {
- path: {
- organization_id: string
+ 403: {
+ content: never
}
- }
- responses: {
- 200: {
+ /** @description Failed to check project vanity subdomain configuration */
+ 500: {
content: never
}
}
}
- /** Updates organization subscription linked to the provided Fly organization id */
- FlyOrganizationsController_updateOrganization: {
+ /** Lists SQL snippets for the logged in user */
+ 'v1-list-all-snippets': {
parameters: {
- path: {
- organization_id: string
- }
- }
- requestBody: {
- content: {
- 'application/json': components['schemas']['FlyUpdateOrganizationSubscriptionBody']
+ query?: {
+ project_ref?: string
}
}
responses: {
200: {
+ content: {
+ 'application/json': components['schemas']['SnippetList']
+ }
+ }
+ /** @description Failed to list user's SQL snippets */
+ 500: {
content: never
}
}
}
- /** Gets the organizations current unbilled charges */
- FlyBillingController_getResourceBilling: {
+ /** Gets a specific SQL snippet */
+ 'v1-get-a-snippet': {
parameters: {
path: {
- organization_id: string
+ id: string
}
}
responses: {
200: {
content: {
- 'application/json': components['schemas']['ResourceBillingResponse']
+ 'application/json': components['schemas']['SnippetResponse']
}
}
+ /** @description Failed to retrieve SQL snippet */
+ 500: {
+ content: never
+ }
}
}
}