@@ -1958,6 +1958,27 @@ export interface paths {
19581958 patch ?: never ;
19591959 trace ?: never ;
19601960 } ;
1961+ "/v1/projects/{ref}/database/backups/schedule" : {
1962+ parameters : {
1963+ query ?: never ;
1964+ header ?: never ;
1965+ path ?: never ;
1966+ cookie ?: never ;
1967+ } ;
1968+ /** Gets the backup schedule for a project */
1969+ get : operations [ "v1-get-backup-schedule" ] ;
1970+ put ?: never ;
1971+ post ?: never ;
1972+ delete ?: never ;
1973+ options ?: never ;
1974+ head ?: never ;
1975+ /**
1976+ * Updates the backup schedule time for a project
1977+ * @description Sets the time at which the daily backup runs. The change takes effect on the next backup window that includes the new time. If the new time has already passed for today, the first backup at the new time will occur the following day. It can only be updated 3 times per 24 hours.
1978+ */
1979+ patch : operations [ "v1-update-backup-schedule" ] ;
1980+ trace ?: never ;
1981+ } ;
19611982 "/v1/projects/{ref}/database/backups/undo" : {
19621983 parameters : {
19631984 query ?: never ;
@@ -2127,7 +2148,11 @@ export interface components {
21272148 */
21282149 latest_check_run_id ?: number ;
21292150 persistent : boolean ;
2130- /** @enum {string} */
2151+ /**
2152+ * @deprecated
2153+ * @description This field is deprecated. List action runs to get branch status instead.
2154+ * @enum {string}
2155+ */
21312156 status : "CREATING_PROJECT" | "RUNNING_MIGRATIONS" | "MIGRATIONS_PASSED" | "MIGRATIONS_FAILED" | "FUNCTIONS_DEPLOYED" | "FUNCTIONS_FAILED" ;
21322157 /** Format: date-time */
21332158 created_at : string ;
@@ -2973,7 +2998,14 @@ export interface components {
29732998 } | {
29742999 /** @enum {string} */
29753000 type : "x86_architecture" ;
3001+ } | {
3002+ /** @enum {string} */
3003+ type : "project_hibernating" ;
29763004 } ) [ ] ;
3005+ warnings : {
3006+ /** @enum {string} */
3007+ type : "pg_graphql_introspection_change" ;
3008+ } [ ] ;
29773009 } ;
29783010 DatabaseUpgradeStatusResponse : {
29793011 databaseUpgradeStatus : {
@@ -4318,6 +4350,19 @@ export interface components {
43184350 PostgresConfigResponse : {
43194351 effective_cache_size ?: string ;
43204352 logical_decoding_work_mem ?: string ;
4353+ "cron.log_statement" ?: boolean ;
4354+ /** @description Default unit: ms */
4355+ log_autovacuum_min_duration ?: string ;
4356+ log_checkpoints ?: boolean ;
4357+ log_connections ?: boolean ;
4358+ log_disconnections ?: boolean ;
4359+ log_duration ?: boolean ;
4360+ log_lock_waits ?: boolean ;
4361+ log_recovery_conflict_waits ?: boolean ;
4362+ log_replication_commands ?: boolean ;
4363+ /** @description Default unit: ms */
4364+ log_startup_progress_interval ?: string ;
4365+ log_temp_files ?: string ;
43214366 maintenance_work_mem ?: string ;
43224367 track_activity_query_size ?: string ;
43234368 max_connections ?: number ;
@@ -4355,6 +4400,19 @@ export interface components {
43554400 UpdatePostgresConfigBody : {
43564401 effective_cache_size ?: string ;
43574402 logical_decoding_work_mem ?: string ;
4403+ "cron.log_statement" ?: boolean ;
4404+ /** @description Default unit: ms */
4405+ log_autovacuum_min_duration ?: string ;
4406+ log_checkpoints ?: boolean ;
4407+ log_connections ?: boolean ;
4408+ log_disconnections ?: boolean ;
4409+ log_duration ?: boolean ;
4410+ log_lock_waits ?: boolean ;
4411+ log_recovery_conflict_waits ?: boolean ;
4412+ log_replication_commands ?: boolean ;
4413+ /** @description Default unit: ms */
4414+ log_startup_progress_interval ?: string ;
4415+ log_temp_files ?: string ;
43584416 maintenance_work_mem ?: string ;
43594417 track_activity_query_size ?: string ;
43604418 max_connections ?: number ;
@@ -4692,6 +4750,29 @@ export interface components {
46924750 V1RestoreBackupBody : {
46934751 id : number ;
46944752 } ;
4753+ V1BackupScheduleResponse : {
4754+ /**
4755+ * @description Time of day to schedule daily backups, in UTC. Format: HH:MM:SS.
4756+ * @example 04:00:00
4757+ */
4758+ schedule_for : string ;
4759+ /**
4760+ * Format: date-time
4761+ * @description Timestamp of when the backup schedule was last updated.
4762+ * @example 2026-05-04T14:40:44+00:00
4763+ */
4764+ updated_at : string ;
4765+ } ;
4766+ /** @example {
4767+ * "schedule_for": "04:00:00"
4768+ * } */
4769+ V1UpdateBackupScheduleBody : {
4770+ /**
4771+ * @description Time of day to schedule daily backups, in UTC. Format: HH:MM:SS.
4772+ * @example 04:00:00
4773+ */
4774+ schedule_for : string ;
4775+ } ;
46954776 /** @example {
46964777 * "name": "before-upgrade"
46974778 * } */
@@ -4702,7 +4783,7 @@ export interface components {
47024783 entitlements : {
47034784 feature : {
47044785 /** @enum {string} */
4705- key : "instances.compute_update_available_sizes" | "instances.read_replicas" | "instances.disk_modifications" | "instances.high_availability" | "instances.orioledb" | "replication.etl" | "storage.max_file_size" | "storage.max_file_size.configurable" | "storage.image_transformations" | "storage.vector_buckets" | "storage.iceberg_catalog" | "security.audit_logs_days" | "security.questionnaire" | "security.soc2_report" | "security.iso27001_certificate" | "security.private_link" | "security.enforce_mfa" | "log.retention_days" | "custom_domain" | "vanity_subdomain" | "ipv4" | "pitr.available_variants" | "log_drains" | "branching_limit" | "branching_persistent" | "auth.mfa_phone" | "auth.mfa_web_authn" | "auth.mfa_enhanced_security" | "auth.hooks" | "auth.platform.sso" | "auth.custom_jwt_template" | "auth.saml_2" | "auth.user_sessions" | "auth.leaked_password_protection" | "auth.advanced_auth_settings" | "auth.performance_settings" | "auth.password_hibp" | "auth.custom_oauth.max_providers" | "backup.retention_days" | "backup.restore_to_new_project" | "function.max_count" | "function.size_limit_mb" | "realtime.max_concurrent_users" | "realtime.max_events_per_second" | "realtime.max_joins_per_second" | "realtime.max_channels_per_client" | "realtime.max_bytes_per_second" | "realtime.max_presence_events_per_second" | "realtime.max_payload_size_in_kb" | "project_scoped_roles" | "security.member_roles" | "project_pausing" | "project_cloning" | "project_restore_after_expiry" | "assistant.advance_model" | "integrations.github_connections" | "dedicated_pooler" | "observability.dashboard_advanced_metrics" ;
4786+ key : "instances.compute_update_available_sizes" | "instances.read_replicas" | "instances.disk_modifications" | "instances.high_availability" | "instances.orioledb" | "replication.etl" | "storage.max_file_size" | "storage.max_file_size.configurable" | "storage.image_transformations" | "storage.vector_buckets" | "storage.iceberg_catalog" | "security.audit_logs_days" | "security.questionnaire" | "security.soc2_report" | "security.iso27001_certificate" | "security.private_link" | "security.enforce_mfa" | "log.retention_days" | "custom_domain" | "vanity_subdomain" | "ipv4" | "pitr.available_variants" | "log_drains" | "audit_log_drains" | "branching_limit" | "branching_persistent" | "auth.mfa_phone" | "auth.mfa_web_authn" | "auth.mfa_enhanced_security" | "auth.hooks" | "auth.platform.sso" | "auth.custom_jwt_template" | "auth.saml_2" | "auth.user_sessions" | "auth.leaked_password_protection" | "auth.advanced_auth_settings" | "auth.performance_settings" | "auth.password_hibp" | "auth.custom_oauth.max_providers" | "backup.retention_days" | "backup.restore_to_new_project" | "backup.schedule" | "function.max_count" | "function.size_limit_mb" | "realtime.max_concurrent_users" | "realtime.max_events_per_second" | "realtime.max_joins_per_second" | "realtime.max_channels_per_client" | "realtime.max_bytes_per_second" | "realtime.max_presence_events_per_second" | "realtime.max_payload_size_in_kb" | "project_scoped_roles" | "security.member_roles" | "project_pausing" | "project_cloning" | "project_restore_after_expiry" | "assistant.advance_model" | "integrations.github_connections" | "dedicated_pooler" | "observability.dashboard_advanced_metrics" ;
47064787 /** @enum {string} */
47074788 type : "boolean" | "numeric" | "set" ;
47084789 } ;
@@ -5321,7 +5402,7 @@ export interface operations {
53215402 } ;
53225403 } ;
53235404 responses : {
5324- 201 : {
5405+ 200 : {
53255406 headers : {
53265407 [ name : string ] : unknown ;
53275408 } ;
@@ -7612,6 +7693,13 @@ export interface operations {
76127693 "application/json" : components [ "schemas" ] [ "VanitySubdomainConfigResponse" ] ;
76137694 } ;
76147695 } ;
7696+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
7697+ 400 : {
7698+ headers : {
7699+ [ name : string ] : unknown ;
7700+ } ;
7701+ content ?: never ;
7702+ } ;
76157703 /** @description Unauthorized */
76167704 401 : {
76177705 headers : {
@@ -7714,6 +7802,13 @@ export interface operations {
77147802 "application/json" : components [ "schemas" ] [ "SubdomainAvailabilityResponse" ] ;
77157803 } ;
77167804 } ;
7805+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
7806+ 400 : {
7807+ headers : {
7808+ [ name : string ] : unknown ;
7809+ } ;
7810+ content ?: never ;
7811+ } ;
77177812 /** @description Unauthorized */
77187813 401 : {
77197814 headers : {
@@ -7768,6 +7863,13 @@ export interface operations {
77687863 "application/json" : components [ "schemas" ] [ "ActivateVanitySubdomainResponse" ] ;
77697864 } ;
77707865 } ;
7866+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
7867+ 400 : {
7868+ headers : {
7869+ [ name : string ] : unknown ;
7870+ } ;
7871+ content ?: never ;
7872+ } ;
77717873 /** @description Unauthorized */
77727874 401 : {
77737875 headers : {
@@ -8081,6 +8183,13 @@ export interface operations {
80818183 } ;
80828184 content ?: never ;
80838185 } ;
8186+ /** @description This feature requires the Pro, Team, or Enterprise organization plan. */
8187+ 402 : {
8188+ headers : {
8189+ [ name : string ] : unknown ;
8190+ } ;
8191+ content ?: never ;
8192+ } ;
80848193 /** @description Forbidden action */
80858194 403 : {
80868195 headers : {
@@ -12235,6 +12344,145 @@ export interface operations {
1223512344 } ;
1223612345 } ;
1223712346 } ;
12347+ "v1-get-backup-schedule" : {
12348+ parameters : {
12349+ query ?: never ;
12350+ header ?: never ;
12351+ path : {
12352+ /** @description Project ref */
12353+ ref : string ;
12354+ } ;
12355+ cookie ?: never ;
12356+ } ;
12357+ requestBody ?: never ;
12358+ responses : {
12359+ 200 : {
12360+ headers : {
12361+ [ name : string ] : unknown ;
12362+ } ;
12363+ content : {
12364+ "application/json" : components [ "schemas" ] [ "V1BackupScheduleResponse" ] ;
12365+ } ;
12366+ } ;
12367+ /** @description Unauthorized */
12368+ 401 : {
12369+ headers : {
12370+ [ name : string ] : unknown ;
12371+ } ;
12372+ content ?: never ;
12373+ } ;
12374+ /** @description This feature requires the Enterprise organization plan. */
12375+ 402 : {
12376+ headers : {
12377+ [ name : string ] : unknown ;
12378+ } ;
12379+ content ?: never ;
12380+ } ;
12381+ /** @description Forbidden action */
12382+ 403 : {
12383+ headers : {
12384+ [ name : string ] : unknown ;
12385+ } ;
12386+ content ?: never ;
12387+ } ;
12388+ /** @description Project or backup schedule not found */
12389+ 404 : {
12390+ headers : {
12391+ [ name : string ] : unknown ;
12392+ } ;
12393+ content ?: never ;
12394+ } ;
12395+ /** @description Rate limit exceeded */
12396+ 429 : {
12397+ headers : {
12398+ [ name : string ] : unknown ;
12399+ } ;
12400+ content ?: never ;
12401+ } ;
12402+ /** @description Failed to retrieve backup schedule */
12403+ 500 : {
12404+ headers : {
12405+ [ name : string ] : unknown ;
12406+ } ;
12407+ content ?: never ;
12408+ } ;
12409+ } ;
12410+ } ;
12411+ "v1-update-backup-schedule" : {
12412+ parameters : {
12413+ query ?: never ;
12414+ header ?: never ;
12415+ path : {
12416+ /** @description Project ref */
12417+ ref : string ;
12418+ } ;
12419+ cookie ?: never ;
12420+ } ;
12421+ requestBody : {
12422+ content : {
12423+ "application/json" : components [ "schemas" ] [ "V1UpdateBackupScheduleBody" ] ;
12424+ } ;
12425+ } ;
12426+ responses : {
12427+ 200 : {
12428+ headers : {
12429+ [ name : string ] : unknown ;
12430+ } ;
12431+ content : {
12432+ "application/json" : components [ "schemas" ] [ "V1BackupScheduleResponse" ] ;
12433+ } ;
12434+ } ;
12435+ /** @description Invalid schedule_for format */
12436+ 400 : {
12437+ headers : {
12438+ [ name : string ] : unknown ;
12439+ } ;
12440+ content ?: never ;
12441+ } ;
12442+ /** @description Unauthorized */
12443+ 401 : {
12444+ headers : {
12445+ [ name : string ] : unknown ;
12446+ } ;
12447+ content ?: never ;
12448+ } ;
12449+ /** @description This feature requires the Enterprise organization plan. */
12450+ 402 : {
12451+ headers : {
12452+ [ name : string ] : unknown ;
12453+ } ;
12454+ content ?: never ;
12455+ } ;
12456+ /** @description Forbidden action */
12457+ 403 : {
12458+ headers : {
12459+ [ name : string ] : unknown ;
12460+ } ;
12461+ content ?: never ;
12462+ } ;
12463+ /** @description Project or backup schedule not found */
12464+ 404 : {
12465+ headers : {
12466+ [ name : string ] : unknown ;
12467+ } ;
12468+ content ?: never ;
12469+ } ;
12470+ /** @description Rate limit exceeded */
12471+ 429 : {
12472+ headers : {
12473+ [ name : string ] : unknown ;
12474+ } ;
12475+ content ?: never ;
12476+ } ;
12477+ /** @description Failed to update backup schedule */
12478+ 500 : {
12479+ headers : {
12480+ [ name : string ] : unknown ;
12481+ } ;
12482+ content ?: never ;
12483+ } ;
12484+ } ;
12485+ } ;
1223812486 "v1-undo" : {
1223912487 parameters : {
1224012488 query ?: never ;
0 commit comments