@distilled.cloud/render 1.0.0-rc.20 → 1.0.0-rc.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,42 +6,54 @@ export type { RenderOpError, RenderOpContext };
6
6
  declare const BadRequest_base: S.TaggedErrorClass<"BadRequest", {
7
7
  readonly code: any;
8
8
  readonly message: any;
9
+ readonly body: any;
10
+ readonly headers: any;
9
11
  }> & (new (...args: any[]) => {
10
12
  "@distilled.cloud/error/categories": {
11
13
  BadRequestError: true;
12
14
  };
13
15
  });
14
16
  export declare class BadRequest extends /*@__PURE__*/ BadRequest_base {
17
+ readonly body?: Error | string;
15
18
  }
16
19
  declare const Conflict_base: S.TaggedErrorClass<"Conflict", {
17
20
  readonly code: any;
18
21
  readonly message: any;
22
+ readonly body: any;
23
+ readonly headers: any;
19
24
  }> & (new (...args: any[]) => {
20
25
  "@distilled.cloud/error/categories": {
21
26
  ConflictError: true;
22
27
  };
23
28
  });
24
29
  export declare class Conflict extends /*@__PURE__*/ Conflict_base {
30
+ readonly body?: Error | string;
25
31
  }
26
32
  declare const Forbidden_base: S.TaggedErrorClass<"Forbidden", {
27
33
  readonly code: any;
28
34
  readonly message: any;
35
+ readonly body: any;
36
+ readonly headers: any;
29
37
  }> & (new (...args: any[]) => {
30
38
  "@distilled.cloud/error/categories": {
31
39
  AuthError: true;
32
40
  };
33
41
  });
34
42
  export declare class Forbidden extends /*@__PURE__*/ Forbidden_base {
43
+ readonly body?: Error | string;
35
44
  }
36
45
  declare const NotFound_base: S.TaggedErrorClass<"NotFound", {
37
46
  readonly code: any;
38
47
  readonly message: any;
48
+ readonly body: any;
49
+ readonly headers: any;
39
50
  }> & (new (...args: any[]) => {
40
51
  "@distilled.cloud/error/categories": {
41
52
  BadRequestError: true;
42
53
  };
43
54
  });
44
55
  export declare class NotFound extends /*@__PURE__*/ NotFound_base {
56
+ readonly body?: Error | string;
45
57
  }
46
58
  export interface AddDiskRequest {
47
59
  name: string;
@@ -81,18 +93,18 @@ export interface AddOrUpdateBuildSourceSecretFileRequest {
81
93
  buildSourceId: string;
82
94
  /** The file name of the secret file */
83
95
  envVarKey: string;
84
- content?: string | undefined;
96
+ content?: string | Redacted.Redacted<string> | undefined;
85
97
  }
86
98
  export interface SecretFile {
87
99
  name: string;
88
- content: string;
100
+ content: string | Redacted.Redacted<string>;
89
101
  }
90
102
  export interface AddOrUpdateSecretFileRequest {
91
103
  /** The ID of the service */
92
104
  serviceId: string;
93
105
  /** The file name of the secret file */
94
106
  envVarKey: string;
95
- content?: string | undefined;
107
+ content?: string | Redacted.Redacted<string> | undefined;
96
108
  }
97
109
  export type AddResourcesToEnvironmentRequestResourceIdsList = Array<string>;
98
110
  export interface AddResourcesToEnvironmentRequest {
@@ -195,7 +207,7 @@ export interface DeployImage {
195
207
  /** SHA that the image reference was resolved to when creating the deploy */
196
208
  sha?: string | undefined;
197
209
  /** Name of credential used to pull the image, if provided */
198
- registryCredential?: string | undefined;
210
+ registryCredential?: string | Redacted.Redacted<string> | undefined;
199
211
  }
200
212
  export type DeployStatus = "created" | "queued" | "build_in_progress" | "update_in_progress" | "live" | "deactivated" | "build_failed" | "update_failed" | "canceled" | "pre_deploy_in_progress" | "pre_deploy_failed";
201
213
  export type DeployTrigger = "api" | "blueprint_sync" | "deploy_hook" | "deployed_by_render" | "manual" | "other" | "new_commit" | "rollback" | "service_resumed" | "service_updated";
@@ -244,49 +256,47 @@ export interface CancelTaskRunResponse {
244
256
  }
245
257
  export type ConnectSandboxFilesRequestOperation = "upload" | "download";
246
258
  export interface ConnectSandboxFilesRequest {
247
- /** The ID of the sandbox */
259
+ /** The ID of the sandbox. */
248
260
  sandboxId: string;
249
- /** The file operation to authorize -- `upload` (PUT a file or tar archive) or `download` (GET a file, or a directory as a tar archive). */
261
+ /** The file transfer operation to authorize. Use `upload` to send a file or tar archive with HTTP PUT, or `download` to retrieve a file or directory archive with HTTP GET. */
250
262
  operation: ConnectSandboxFilesRequestOperation | (string & {});
251
- /** The ID of the workspace the sandbox belongs to. Optional: the workspace is determined from the sandbox ID, and this parameter is ignored when supplied. */
263
+ /** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
252
264
  ownerId?: string | undefined;
253
- /** Path in the sandbox this token authorizes. A relative path resolves within the sandbox's working directory, which is the image's WORKDIR or, when the image sets none, the home directory ("." is the working directory itself); an absolute path addresses the sandbox filesystem root. For an archive upload, the extraction root; for a download, the file or directory to fetch. */
265
+ /** The file or directory path the token authorizes. For archive uploads, this is the directory to extract into. For downloads, it is the file or directory to retrieve. Relative paths are resolved from the image's `WORKDIR`, or the home directory if no `WORKDIR` is set. Use `.` for that working directory. Absolute paths are resolved from the sandbox filesystem root. */
254
266
  path: string;
255
267
  }
256
- /** A minted connect token and the sandbox-proxy endpoint to invoke with it. Send the request (and body, where the operation takes one) to `uri` using `method`, with `token` as a bearer credential. */
268
+ /** A short-lived connect token and the URL to use it with. Send the request to `uri` using `method`, with `token` as the bearer token. Include a request body if the operation requires one. */
257
269
  export interface Schema26 {
258
- /** Identifier for this execution. */
270
+ /** The ID of the sandbox execution. */
259
271
  executionId: string;
260
- /** Short-lived bearer token authorizing exactly this operation against the sandbox. */
261
- token: string;
262
- /** The sandbox-proxy endpoint to invoke. */
272
+ /** A short-lived bearer token that authorizes only the requested operation on this sandbox. */
273
+ token: string | Redacted.Redacted<string>;
274
+ /** The URL to send the authorized command run or file transfer request to. */
263
275
  uri: string;
264
- /** HTTP method to use against `uri`. */
276
+ /** The HTTP method to use when sending the request to `uri`. */
265
277
  method: string;
266
- /** When `token` stops being valid. Start the run before this time. */
278
+ /** The timestamp when the token expires, in ISO 8601 format. Start the authorized operation before this time. */
267
279
  expiresAt: string;
268
280
  }
269
281
  export type ConnectSandboxRunRequestOperation = "sync" | "stream";
270
282
  export interface ConnectSandboxRunRequest {
271
- /** The ID of the sandbox */
283
+ /** The ID of the sandbox. */
272
284
  sandboxId: string;
273
- /** The run operation to authorize -- `sync` (buffered) or `stream` (server-sent events). */
285
+ /** The command run operation to authorize. Use `sync` for a buffered response or `stream` for server-sent events. */
274
286
  operation: ConnectSandboxRunRequestOperation | (string & {});
275
- /** The ID of the workspace the sandbox belongs to. Optional: the workspace is determined from the sandbox ID, and this parameter is ignored when supplied. */
287
+ /** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
276
288
  ownerId?: string | undefined;
277
- /** Command text for the sandbox event timeline. */
278
- command?: string | undefined;
279
289
  }
280
290
  export interface ConnectSandboxRunResponse {
281
- /** Identifier for this execution. */
291
+ /** The ID of the sandbox execution. */
282
292
  executionId: string;
283
- /** Short-lived bearer token authorizing exactly this operation against the sandbox. */
284
- token: string;
285
- /** The sandbox-proxy endpoint to invoke. */
293
+ /** A short-lived bearer token that authorizes only the requested operation on this sandbox. */
294
+ token: string | Redacted.Redacted<string>;
295
+ /** The URL to send the authorized command run or file transfer request to. */
286
296
  uri: string;
287
- /** HTTP method to use against `uri`. */
297
+ /** The HTTP method to use when sending the request to `uri`. */
288
298
  method: string;
289
- /** When `token` stops being valid. Start the run before this time. */
299
+ /** The timestamp when the token expires, in ISO 8601 format. Start the authorized operation before this time. */
290
300
  expiresAt: string;
291
301
  }
292
302
  export type BuildFilterPathsList2 = Array<string>;
@@ -323,7 +333,7 @@ export interface CreateBuildSourceRequestImage {
323
333
  export type CreateBuildSourceRequestServiceIdsList = Array<string>;
324
334
  export interface SchemaItemCase0 {
325
335
  key: string;
326
- value: string;
336
+ value: string | Redacted.Redacted<string>;
327
337
  }
328
338
  export interface SchemaItemCase1 {
329
339
  key: string;
@@ -334,7 +344,7 @@ export type SchemaItem = SchemaItemCase0 | SchemaItemCase1;
334
344
  export type Schema6 = Array<SchemaItem>;
335
345
  export interface Items {
336
346
  name: string;
337
- content: string;
347
+ content: string | Redacted.Redacted<string>;
338
348
  }
339
349
  /** Secret files for the build source's build. Only valid for `git` sources. */
340
350
  export type CreateBuildSourceRequestSecretFilesList = Array<Items>;
@@ -497,9 +507,11 @@ export interface EnvGroupLink {
497
507
  export type CreateEnvGroupResponseServiceLinksList = Array<EnvGroupLink>;
498
508
  export interface EnvVar {
499
509
  key: string;
500
- value: string;
510
+ value: string | Redacted.Redacted<string>;
501
511
  }
512
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
502
513
  export type CreateEnvGroupResponseEnvVarsList = Array<EnvVar>;
514
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
503
515
  export type CreateEnvGroupResponseSecretFilesList = Array<SecretFile>;
504
516
  export interface CreateEnvGroupResponse {
505
517
  id: string;
@@ -510,8 +522,10 @@ export interface CreateEnvGroupResponse {
510
522
  /** List of serviceIds linked to the envGroup */
511
523
  serviceLinks: CreateEnvGroupResponseServiceLinksList;
512
524
  environmentId?: string | undefined;
513
- envVars: CreateEnvGroupResponseEnvVarsList;
514
- secretFiles: CreateEnvGroupResponseSecretFilesList;
525
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
526
+ envVars?: CreateEnvGroupResponseEnvVarsList | undefined;
527
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
528
+ secretFiles?: CreateEnvGroupResponseSecretFilesList | undefined;
515
529
  }
516
530
  export type CreateEnvironmentRequestIpAllowListList = Array<CidrBlockAndDescription>;
517
531
  export interface CreateEnvironmentRequest {
@@ -603,7 +617,7 @@ export interface CreatePostgresRequest {
603
617
  databaseName?: string | undefined;
604
618
  databaseUser?: string | undefined;
605
619
  /** The Datadog API key for the Datadog agent to monitor the new database. */
606
- datadogAPIKey?: string | undefined;
620
+ datadogAPIKey?: string | Redacted.Redacted<string> | undefined;
607
621
  /** Datadog region to use for monitoring the new database. Defaults to 'US1'. */
608
622
  datadogSite?: string | undefined;
609
623
  /** The name of the database as it will appear in the Render Dashboard */
@@ -715,7 +729,7 @@ export interface CreateRegistryCredentialRequest {
715
729
  registry: RegistryCredentialRegistry | (string & {});
716
730
  name: string;
717
731
  username: string;
718
- authToken: string;
732
+ authToken: string | Redacted.Redacted<string>;
719
733
  ownerId: string;
720
734
  }
721
735
  export interface RegistryCredential {
@@ -729,83 +743,87 @@ export interface RegistryCredential {
729
743
  /** Last updated time for the credential */
730
744
  updatedAt: string;
731
745
  }
732
- /** How outbound traffic is handled. `allow-all`, `deny-all`, or `allow-list` (requires additional `rules`). */
746
+ /** How Render handles outbound traffic from the sandbox. The `allow-list` policy requires `rules`. */
733
747
  export type CreateSandboxRequestNetworkPolicyType = "allow-all" | "deny-all" | "allow-list";
734
- /** How outbound traffic is handled. `allow-all`, `deny-all`, or `allow-list` (requires additional `rules`). */
735
- export type _04 = "allow-all" | "deny-all" | "allow-list";
736
- /** Protocol this rule admits. Only `https` is accepted: under `allow-list` every other outbound protocol is dropped. */
748
+ /** How Render handles outbound traffic from the sandbox. The `allow-list` policy requires `rules`. */
749
+ export type _06 = "allow-all" | "deny-all" | "allow-list";
750
+ /** The protocol allowed for this destination. Defaults to `https`. The `allow-list` policy blocks outbound traffic that uses other protocols. */
737
751
  export type CreateSandboxRequestNetworkPolicyRulesItemProtocol = "https";
752
+ /** A destination that sandboxes can access when the network policy is `allow-list`. */
738
753
  export interface CreateSandboxRequestNetworkPolicyRulesItem {
739
- /** Hostname to apply the rule to. Matching is exact: `foo.local` does not cover `api.foo.local`, which needs its own rule or `*.foo.local`. A wildcard is only allowed as the leftmost label. */
754
+ /** The hostname this rule allows, up to 253 characters. Matching is exact: `foo.local` does not match `api.foo.local`. Use a separate rule or `*.foo.local` for subdomains. A wildcard is allowed only as the leftmost label. */
740
755
  domain: string;
741
- /** Protocol this rule admits. Only `https` is accepted: under `allow-list` every other outbound protocol is dropped. */
756
+ /** The protocol allowed for this destination. Defaults to `https`. The `allow-list` policy blocks outbound traffic that uses other protocols. */
742
757
  protocol?: CreateSandboxRequestNetworkPolicyRulesItemProtocol | (string & {}) | undefined;
743
758
  }
744
759
  /** Destinations the sandbox may reach, required when the policy is `allow-list` and rejected otherwise. Each domain may be listed once. */
745
760
  export type CreateSandboxRequestNetworkPolicyRulesList = Array<CreateSandboxRequestNetworkPolicyRulesItem>;
746
- /** Set either `type` or its deprecated alias `default`. Sending both is only accepted when they name the same policy. */
761
+ /** The outbound traffic policy to apply to the sandbox. Provide `type` or its deprecated alias `default`. If both are provided, they must match. */
747
762
  export interface CreateSandboxRequestNetworkPolicy {
748
- /** How outbound traffic is handled. `allow-all`, `deny-all`, or `allow-list` (requires additional `rules`). Either `type` or `default` is required when `networkPolicy` is provided. Defaults to `allow-all`, or to the source sandbox's network policy when starting from a snapshot. Include `networkPolicy` to override. */
763
+ /** How Render handles outbound traffic from the sandbox. The `allow-list` policy requires `rules`. Required unless `default` is provided. If `networkPolicy` is omitted, defaults to `allow-all`, or to the source sandbox's policy when creating a sandbox from a snapshot. */
749
764
  type?: CreateSandboxRequestNetworkPolicyType | (string & {}) | undefined;
750
- /** Deprecated alias for `type`, accepted so that clients built against the earlier schema keep working. To be removed before GA. */
751
- default?: _04 | (string & {}) | undefined;
765
+ /** A deprecated alias for `type`. Use `type` instead. */
766
+ default?: _06 | (string & {}) | undefined;
752
767
  /** Destinations the sandbox may reach, required when the policy is `allow-list` and rejected otherwise. Each domain may be listed once. */
753
768
  rules?: CreateSandboxRequestNetworkPolicyRulesList | undefined;
754
769
  }
755
- /** The compute plan to use. `starter`, `standard` and `pro` are deprecated. */
770
+ /** The compute plan for the sandbox. The `starter`, `standard`, and `pro` plans are deprecated. */
756
771
  export type CreateSandboxRequestPlanCase0 = "starter" | "standard" | "pro" | "1c-2g" | "2c-4g" | "4c-8g" | "8c-16g";
757
- /** Compute plan. See `sandboxPlan` for known values. */
772
+ /** The compute plan for the sandbox. See `sandboxPlan` for known values. */
758
773
  export type CreateSandboxRequestPlan = CreateSandboxRequestPlanCase0 | string;
759
- /** Inline environment variables injected into the sandbox at creation. */
774
+ /** The environment variables to set when creating the sandbox. */
760
775
  export type CreateSandboxRequestEnvMap = {
761
776
  [key: string]: string | undefined;
762
777
  };
763
778
  export interface CreateSandboxRequest {
764
779
  /** The ID of the workspace the sandbox belongs to. */
765
780
  ownerId: string;
766
- /** Group to create the sandbox in; defaults to the workspace's default group. */
781
+ /** The ID of the sandbox group to create the sandbox in. Defaults to the workspace's default group. */
767
782
  sandboxGroupId?: string | undefined;
768
- /** A label for the sandbox, like `my-agent`. It isn't unique, so the sandbox ID stays the handle. It can't start with `sbx-`. */
783
+ /** A label for the sandbox, such as `my-agent`, up to 64 characters. Names do not have to be unique; use the sandbox ID to identify a specific sandbox. Must not start with `sbx-`. */
769
784
  name?: string | undefined;
770
- /** Set either `type` or its deprecated alias `default`. Sending both is only accepted when they name the same policy. */
785
+ /** The outbound traffic policy to apply to the sandbox. Provide `type` or its deprecated alias `default`. If both are provided, they must match. */
771
786
  networkPolicy?: CreateSandboxRequestNetworkPolicy | undefined;
772
- /** Compute plan. See `sandboxPlan` for known values. */
787
+ /** The compute plan for the sandbox. See `sandboxPlan` for known values. */
773
788
  plan?: CreateSandboxRequestPlan | undefined;
774
- /** Maximum sandbox lifetime in seconds. Sandbox is terminated when reached. Use 0 for no timeout. Positive values must be at least 60. Defaults to 86400, or to the source sandbox's timeout when starting from a snapshot. */
789
+ /** The maximum time the sandbox can run continuously, in seconds. The sandbox terminates when this time elapses. If the sandbox is suspended and later resumed, this timeout restarts. Use 0 to disable the runtime timeout. Positive values must be between 60 and 2592000 (30 days). Defaults to 86400, or to the source sandbox's runtime timeout when creating a sandbox from a snapshot. */
775
790
  timeoutSeconds?: number | undefined;
776
- /** Seconds of inactivity before the sandbox is suspended. Use 0 to disable automatic idle suspension. Positive values must be at least 300. Defaults to 900, or to the source sandbox's idle timeout when starting from a snapshot. */
791
+ /** The number of seconds of inactivity before Render suspends the sandbox. Use 0 to disable automatic idle suspension. Positive values must be between 300 and 86400. Defaults to 900, or to the source sandbox's idle timeout when creating a sandbox from a snapshot. */
777
792
  idleTimeoutSeconds?: number | undefined;
778
- /** Inline environment variables injected into the sandbox at creation. */
793
+ /** The environment variables to set when creating the sandbox. */
779
794
  env?: CreateSandboxRequestEnvMap | undefined;
780
- /** Start from this snapshot instead of the base image. Must be `available` and in the same sandbox group. For a `runtime` snapshot, `plan` must match the snapshot's plan. The new sandbox uses the source sandbox's network policy, timeout and idle timeout. Include `networkPolicy`, `timeoutSeconds` or `idleTimeoutSeconds` to set a different one. */
795
+ /** The ID of the snapshot to create the sandbox from instead of the base image. The snapshot must be `available` and belong to the same sandbox group. For a `runtime` snapshot, `plan` must match the snapshot's plan. The new sandbox inherits the source sandbox's network policy, timeout, and idle timeout. Provide `networkPolicy`, `timeoutSeconds`, or `idleTimeoutSeconds` to override these settings. */
781
796
  snapshotId?: string | undefined;
782
- /** Start from the snapshot this name currently resolves to in the sandbox group. Mutually exclusive with `snapshotId`. Same restore rules as `snapshotId`. */
797
+ /** The name of the snapshot to create the sandbox from. Uses the most recently created snapshot with this name in the sandbox group that is `available` and unexpired. Cannot be combined with `snapshotId`. The same restore requirements as `snapshotId` apply. */
783
798
  snapshotName?: string | undefined;
784
- /** Start from this build's image instead of the base image. The build must have succeeded and be in the sandbox's group: 404 with `code: build_not_found` if it isn't in the group, and 409 with `code: build_not_succeeded` if it hasn't succeeded. Mutually exclusive with `buildName`, `snapshotId` and `snapshotName`. */
799
+ /** The ID of the build to create the sandbox from instead of the base image. The build must have succeeded and belong to the same sandbox group. Cannot be combined with `buildName`, `snapshotId`, or `snapshotName`. */
785
800
  buildId?: string | undefined;
786
- /** Start from the newest succeeded build with this name in the sandbox's group. 404 with `code: build_not_found` if the group has no build with the name, and 409 with `code: build_not_succeeded` if none of them has succeeded. Mutually exclusive with `buildId`, `snapshotId` and `snapshotName`. */
801
+ /** The name of the build to create the sandbox from instead of the base image. Uses the newest successful build with this name in the sandbox group. Cannot be combined with `buildId`, `snapshotId`, or `snapshotName`. */
787
802
  buildName?: string | undefined;
788
803
  }
804
+ /** The sandbox's current status. */
789
805
  export type Items6 = "creating" | "running" | "suspending" | "suspended" | "resuming" | "errored" | "terminated";
790
- /** The compute plan to use. `starter`, `standard` and `pro` are deprecated. */
791
- export type _03 = "starter" | "standard" | "pro" | "1c-2g" | "2c-4g" | "4c-8g" | "8c-16g";
792
- /** Compute plan. See `sandboxPlan` for known values. */
793
- export type CreateSandboxResponsePlan = _03 | string;
794
- /** Protocol this rule admits. Only `https` is accepted: under `allow-list` every other outbound protocol is dropped. */
806
+ /** The compute plan for the sandbox. The `starter`, `standard`, and `pro` plans are deprecated. */
807
+ export type _05 = "starter" | "standard" | "pro" | "1c-2g" | "2c-4g" | "4c-8g" | "8c-16g";
808
+ /** The sandbox's compute plan. See `sandboxPlan` for known values. */
809
+ export type CreateSandboxResponsePlan = _05 | string;
810
+ /** The protocol allowed for this destination. Defaults to `https`. The `allow-list` policy blocks outbound traffic that uses other protocols. */
795
811
  export type ItemsProtocol = "https";
812
+ /** A destination that sandboxes can access when the network policy is `allow-list`. */
796
813
  export interface Items7 {
797
- /** Hostname to apply the rule to. Matching is exact: `foo.local` does not cover `api.foo.local`, which needs its own rule or `*.foo.local`. A wildcard is only allowed as the leftmost label. */
814
+ /** The hostname this rule allows, up to 253 characters. Matching is exact: `foo.local` does not match `api.foo.local`. Use a separate rule or `*.foo.local` for subdomains. A wildcard is allowed only as the leftmost label. */
798
815
  domain: string;
799
- /** Protocol this rule admits. Only `https` is accepted: under `allow-list` every other outbound protocol is dropped. */
816
+ /** The protocol allowed for this destination. Defaults to `https`. The `allow-list` policy blocks outbound traffic that uses other protocols. */
800
817
  protocol?: ItemsProtocol | undefined;
801
818
  }
802
819
  /** Destinations the sandbox may reach, present when `type` is `allow-list` and absent otherwise. Each domain may be listed once. */
803
820
  export type CreateSandboxResponseNetworkPolicyRulesList = Array<Items7>;
821
+ /** The policy that controls outbound traffic from the sandbox. */
804
822
  export interface CreateSandboxResponseNetworkPolicy {
805
- /** How outbound traffic is handled. `allow-all`, `deny-all`, or `allow-list` (requires additional `rules`). */
806
- type: _04;
807
- /** Deprecated alias for `type`, always returned with the same value. To be removed before GA; read `type` instead. */
808
- default?: _04 | undefined;
823
+ /** How Render handles outbound traffic from the sandbox. The `allow-list` policy requires `rules`. */
824
+ type: _06;
825
+ /** A deprecated alias for `type`, returned with the same value. Read `type` instead. */
826
+ default?: _06 | undefined;
809
827
  /** Destinations the sandbox may reach, present when `type` is `allow-list` and absent otherwise. Each domain may be listed once. */
810
828
  rules?: CreateSandboxResponseNetworkPolicyRulesList | undefined;
811
829
  }
@@ -813,121 +831,218 @@ export interface CreateSandboxResponse {
813
831
  id: string;
814
832
  /** The label set when the sandbox was created. */
815
833
  name?: string | null | undefined;
816
- /** The sandbox group this sandbox belongs to. */
834
+ /** The ID of the sandbox group this sandbox belongs to. */
817
835
  sandboxGroupId?: string | undefined;
818
836
  status: Items6;
819
- /** Compute plan. See `sandboxPlan` for known values. */
837
+ /** The sandbox's compute plan. See `sandboxPlan` for known values. */
820
838
  plan: CreateSandboxResponsePlan;
839
+ /** The policy that controls outbound traffic from the sandbox. */
821
840
  networkPolicy: CreateSandboxResponseNetworkPolicy;
822
- /** Region the sandbox is running in. */
841
+ /** The Render region where the sandbox runs. */
823
842
  region: string;
824
- /** Maximum sandbox lifetime in seconds. 0 means the sandbox has no timeout. */
843
+ /** The maximum time the sandbox can run continuously, in seconds. The sandbox terminates when this time elapses. If the sandbox is suspended and later resumed, this timeout restarts. A value of 0 disables the runtime timeout. */
825
844
  timeoutSeconds: number;
826
- /** Seconds of inactivity before the sandbox is suspended. 0 disables automatic idle suspension. */
845
+ /** The number of seconds of inactivity before Render suspends the sandbox. A value of 0 disables automatic idle suspension. */
827
846
  idleTimeoutSeconds: number;
847
+ /** The timestamp when the sandbox was created, in ISO 8601 format. */
828
848
  createdAt: string;
829
- /** When the sandbox was terminated, or null. */
849
+ /** The timestamp when the sandbox was terminated, in ISO 8601 format. Null if the sandbox has not been terminated. */
830
850
  terminatedAt?: string | null | undefined;
831
851
  }
832
- /** Pulls `sourceImage` from a private registry. Used for this build only and never stored. */
852
+ /** Credentials used to pull `sourceImage` from a private registry for this build. */
833
853
  export interface CreateSandboxBuildRequestRegistryCredential {
854
+ /** The username used to authenticate with the image registry. */
834
855
  username: string;
856
+ /** The password used to authenticate with the image registry. */
835
857
  password: string | Redacted.Redacted<string>;
836
858
  }
837
859
  export interface CreateSandboxBuildRequest {
838
- /** The ID of the sandbox group */
860
+ /** The ID of the sandbox group. */
839
861
  sandboxGroupId: string;
840
- /** Names the image. Every build of an image shares it. */
862
+ /** The name used to select this image when creating a sandbox, between 1 and 255 characters. Can't start with `sbb-`, the prefix reserved for build IDs. Multiple builds can share a name. */
841
863
  name: string;
842
- /** The image to convert, by tag or digest. */
864
+ /** The container image to convert, specified by tag or digest. */
843
865
  sourceImage: string;
844
- /** Pulls `sourceImage` from a private registry. Used for this build only and never stored. */
866
+ /** Credentials used to pull `sourceImage` from a private registry for this build. */
845
867
  registryCredential?: CreateSandboxBuildRequestRegistryCredential | undefined;
846
868
  }
869
+ /** The source container image used for this build. */
847
870
  export interface CreateSandboxBuildResponseSource {
871
+ /** The registry and repository path containing the source image. */
848
872
  repository: string;
873
+ /** The name of the source image. */
849
874
  image: string;
875
+ /** The tag or digest identifying the source image version. */
850
876
  reference: string;
851
877
  }
852
- export type Items9 = "pending" | "running" | "succeeded" | "failed";
878
+ /** The sandbox build's current status. */
879
+ export type Items10 = "pending" | "running" | "succeeded" | "failed";
853
880
  export interface CreateSandboxBuildResponse {
854
881
  id: string;
855
882
  sandboxGroupId: string;
856
- /** Names the image. Every build of an image shares it. */
883
+ /** The name used to select this image when creating a sandbox. Multiple builds can share a name. */
857
884
  name: string;
885
+ /** The source container image used for this build. */
858
886
  source: CreateSandboxBuildResponseSource;
859
- /** The image digest the build converts. */
887
+ /** The digest of the source image converted by this build. */
860
888
  sourceDigest: string;
861
- status: Items9;
862
- /** Why the build failed. Null unless `failed`. */
889
+ status: Items10;
890
+ /** A description of why the build failed. Null unless the status is `failed`. May include error text from the image registry. When displaying errors, use `failureCode` to select the main message and show this value as additional detail. */
863
891
  failureReason?: string | null | undefined;
892
+ /** A machine-readable reason the build failed. Null unless the status is `failed`. See `sandboxBuildFailureCode` for known codes. Treat unrecognized codes as `internal_error`. */
893
+ failureCode?: string | null | undefined;
894
+ /** The timestamp when the sandbox build was created, in ISO 8601 format. */
864
895
  createdAt: string;
865
- /** When the build succeeded or failed. */
896
+ /** The timestamp when the build succeeded or failed, in ISO 8601 format. Null while the build is pending or running. */
866
897
  finishedAt?: string | null | undefined;
867
898
  }
868
899
  export interface CreateSandboxGroupRequest {
869
- /** Workspace ID. */
900
+ /** The ID of the workspace to create the sandbox group in. */
870
901
  ownerId: string;
871
- /** Name, unique within the workspace. */
902
+ /** The sandbox group's name. Must be unique within the workspace. */
872
903
  name: string;
873
- /** Region for the group's sandboxes. Defaults to Render's default sandbox region. */
904
+ /** The Render region where the group's sandboxes run. Defaults to `oregon`. */
874
905
  region?: string | undefined;
906
+ /** The ID of an environment in the workspace to create the group in. If you omit it, the group isn't in a project. Creating a group in a protected environment requires an admin. */
907
+ environmentId?: string | undefined;
875
908
  }
876
909
  export interface CreateSandboxGroupResponse {
877
910
  id: string;
878
911
  /** The ID of the workspace this group belongs to. */
879
912
  ownerId: string;
880
- /** Human-friendly name for the group. */
913
+ /** The sandbox group's name. */
881
914
  name: string;
882
- /** Render region the group operates in. */
915
+ /** The Render region where the group's sandboxes run. */
883
916
  region: string;
884
- /** Whether this is the workspace's default group. Sandboxes are created here unless a group is given. */
917
+ /** Whether this is the workspace's default sandbox group. Create requests that omit `sandboxGroupId` use this group. */
885
918
  isDefault: boolean;
886
- /** Environment this group is bound to. */
919
+ /** The ID of the environment that contains this group. Null if the group isn't in a project. To move a group, add it to or remove it from an environment with `/environments/{environmentId}/resources`. */
887
920
  environmentId?: string | null | undefined;
888
- /** The effective limit on active sandboxes in this group, capped by Render's limit for this workspace. */
921
+ /** The maximum number of active sandboxes allowed in this group, capped by Render's limit for the workspace. */
889
922
  concurrencyLimit: number;
923
+ /** The timestamp when the sandbox group was created, in ISO 8601 format. */
890
924
  createdAt: string;
925
+ /** The timestamp when the sandbox group was last updated, in ISO 8601 format. */
891
926
  updatedAt: string;
892
927
  }
893
- /** `filesystem` captures the writable filesystem and restores onto any plan. `runtime` also captures memory and CPU state and restores only onto the plan of the source sandbox. */
928
+ /** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. Omit or provide an empty list to match any method. */
929
+ export type CreateSandboxGroupCredentialRequestMethodsList = Array<string>;
930
+ /** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. Omit or provide an empty list to match any path. */
931
+ export type CreateSandboxGroupCredentialRequestPathsList = Array<string>;
932
+ /** How Render adds the credential to a matching request. For `basic`, the value after applying `template` must have the form `username:password`. Do not provide `name`. */
933
+ export type CreateSandboxGroupCredentialRequestInjectionType = "header" | "basic" | "cookie" | "query";
934
+ /** Settings for injecting the secret value into matching outbound HTTPS requests. */
935
+ export interface CreateSandboxGroupCredentialRequestInjection {
936
+ /** How Render adds the credential to a matching request. For `basic`, the value after applying `template` must have the form `username:password`. Do not provide `name`. */
937
+ type: CreateSandboxGroupCredentialRequestInjectionType | (string & {});
938
+ /** The header, cookie, or query parameter to set. Required for `header`, `cookie`, and `query`. Headers that control routing or connection behavior cannot be used. */
939
+ name?: string | undefined;
940
+ /** A template containing 1-5 occurrences of `${SECRET}`, such as `Bearer ${SECRET}`. Render replaces each occurrence with the secret value. Omit to use the secret value without a template. */
941
+ template?: string | undefined;
942
+ }
943
+ export interface CreateSandboxGroupCredentialRequest {
944
+ /** The ID of the sandbox group. */
945
+ sandboxGroupId: string;
946
+ id: string;
947
+ /** The destination hostname to match for credential injection. Must be a public DNS hostname. Render normalizes it to lowercase and matches it exactly. IP addresses, ports, wildcards, and local or internal hostnames are not supported. */
948
+ domain: string;
949
+ /** The secret value to store, up to 5 KiB (5120 UTF-8 bytes). */
950
+ value: string | Redacted.Redacted<string>;
951
+ /** Whether this credential is enabled for injection. Defaults to `true`. */
952
+ enabled?: boolean | undefined;
953
+ /** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. Omit or provide an empty list to match any method. */
954
+ methods?: CreateSandboxGroupCredentialRequestMethodsList | undefined;
955
+ /** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. Omit or provide an empty list to match any path. */
956
+ paths?: CreateSandboxGroupCredentialRequestPathsList | undefined;
957
+ /** Settings for injecting the secret value into matching outbound HTTPS requests. */
958
+ injection: CreateSandboxGroupCredentialRequestInjection;
959
+ }
960
+ /** Metadata for a credential version. These endpoints do not return secret values. */
961
+ export interface Items9 {
962
+ /** The ID of the credential version. Each new version receives a higher ID, including versions created by a restore. */
963
+ id: number;
964
+ /** The timestamp when this credential version was created, in ISO 8601 format. */
965
+ updatedAt: string;
966
+ /** The ID of the authenticated identity that created this credential version. */
967
+ updatedBy: string;
968
+ /** A fingerprint of the routing settings, injection settings, and secret value. Matching fingerprints identify equivalent credential configurations within the same sandbox group. Fingerprints cannot be compared across groups. */
969
+ fingerprint: string;
970
+ /** The ID of the credential version restored to create this version. Omitted for versions created by a create or update request. */
971
+ restoredFromVersionId?: number | undefined;
972
+ }
973
+ /** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. An empty list matches any method. */
974
+ export type CreateSandboxGroupCredentialResponseMethodsList = Array<string>;
975
+ /** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. An empty list matches any path. */
976
+ export type CreateSandboxGroupCredentialResponsePathsList = Array<string>;
977
+ /** How Render adds the credential to a matching request. For `basic`, the value after applying `template` must have the form `username:password`. Do not provide `name`. */
978
+ export type InjectionType = "header" | "basic" | "cookie" | "query";
979
+ /** Settings for injecting the secret value into matching outbound HTTPS requests. */
980
+ export interface Injection {
981
+ /** How Render adds the credential to a matching request. For `basic`, the value after applying `template` must have the form `username:password`. Do not provide `name`. */
982
+ type: InjectionType | (string & {});
983
+ /** The header, cookie, or query parameter to set. Required for `header`, `cookie`, and `query`. Headers that control routing or connection behavior cannot be used. */
984
+ name?: string | undefined;
985
+ /** A template containing 1-5 occurrences of `${SECRET}`, such as `Bearer ${SECRET}`. Render replaces each occurrence with the secret value. Omit to use the secret value without a template. */
986
+ template?: string | undefined;
987
+ }
988
+ export interface CreateSandboxGroupCredentialResponse {
989
+ id: string;
990
+ /** The destination hostname to match for credential injection. Must be a public DNS hostname. Render normalizes it to lowercase and matches it exactly. IP addresses, ports, wildcards, and local or internal hostnames are not supported. */
991
+ domain: string;
992
+ version?: Items9 | undefined;
993
+ /** Whether this credential is enabled for injection. */
994
+ enabled: boolean;
995
+ /** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. An empty list matches any method. */
996
+ methods: CreateSandboxGroupCredentialResponseMethodsList;
997
+ /** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. An empty list matches any path. */
998
+ paths: CreateSandboxGroupCredentialResponsePathsList;
999
+ injection: Injection;
1000
+ }
1001
+ /** The state to capture. A `filesystem` snapshot captures the writable filesystem and can be restored to any plan. A `runtime` snapshot also captures memory and CPU state and must be restored to the source sandbox plan. */
894
1002
  export type Kind = "filesystem" | "runtime";
895
1003
  export interface CreateSandboxSnapshotRequest {
896
- /** The ID of the sandbox */
1004
+ /** The ID of the sandbox. */
897
1005
  sandboxId: string;
898
- /** The ID of the workspace the sandbox belongs to. Optional: the workspace is determined from the sandbox ID, and this parameter is ignored when supplied. */
1006
+ /** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
899
1007
  ownerId?: string | undefined;
1008
+ /** The state to capture in the snapshot. Defaults to `runtime`. */
900
1009
  kind?: Kind | (string & {}) | undefined;
901
- /** Case sensitive. Scoped to the sandbox group. Must not start with `snp-` so clients can tell a name from a snapshot ID. Several snapshots may share a name; the most recently available one is the one the name resolves to. */
1010
+ /** A case-sensitive name for snapshots in a sandbox group, up to 64 characters. Must not start with `snp-`. Multiple snapshots can share a name. When creating a sandbox by snapshot name, Render uses the most recently created snapshot with that name that is `available` and unexpired. */
902
1011
  name?: string | undefined;
903
- /** The time after which the snapshot can no longer be retrieved or restored. Must be in the future. Omit to use Render's default snapshot lifetime. */
1012
+ /** The snapshot's lifetime after its last use, in seconds. Creating a sandbox from this snapshot resets its remaining lifetime to this duration. Use 0 to keep the snapshot until you delete it. Defaults to Render's snapshot lifetime. Cannot be combined with `expiresAt`. */
1013
+ ttlSeconds?: number | undefined;
1014
+ /** The expiration timestamp, in ISO 8601 format. Deprecated; use `ttlSeconds` instead. Must be in the future. Render sets the snapshot lifetime to the duration between the request and this timestamp. */
904
1015
  expiresAt?: string | undefined;
905
1016
  }
906
- /** `filesystem` captures the writable filesystem and restores onto any plan. `runtime` also captures memory and CPU state and restores only onto the plan of the source sandbox. */
1017
+ /** The state to capture. A `filesystem` snapshot captures the writable filesystem and can be restored to any plan. A `runtime` snapshot also captures memory and CPU state and must be restored to the source sandbox plan. */
907
1018
  export type CreateSandboxSnapshotResponseKind = "filesystem" | "runtime";
1019
+ /** The snapshot's current status. */
908
1020
  export type Items8 = "creating" | "available" | "failed";
909
- /** Plan of the source sandbox at capture time. See `sandboxPlan` for known values. */
910
- export type CreateSandboxSnapshotResponsePlan = _03 | string;
1021
+ /** The source sandbox's compute plan when the snapshot was captured. See `sandboxPlan` for known values. */
1022
+ export type CreateSandboxSnapshotResponsePlan = _05 | string;
911
1023
  export interface CreateSandboxSnapshotResponse {
912
1024
  id: string;
913
1025
  sandboxGroupId: string;
914
- /** The sandbox this snapshot was captured from. Lineage only. */
1026
+ /** The ID of the sandbox this snapshot was captured from, recorded for reference. */
915
1027
  sourceSandboxId: string;
916
- /** Set at create. Never changes. Null when created without a name. */
1028
+ /** The name assigned when the snapshot was created. Cannot be changed. Null if no name was provided. */
917
1029
  name?: string | null | undefined;
918
- /** `filesystem` captures the writable filesystem and restores onto any plan. `runtime` also captures memory and CPU state and restores only onto the plan of the source sandbox. */
1030
+ /** The state to capture. A `filesystem` snapshot captures the writable filesystem and can be restored to any plan. A `runtime` snapshot also captures memory and CPU state and must be restored to the source sandbox plan. */
919
1031
  kind: CreateSandboxSnapshotResponseKind;
920
1032
  status: Items8;
921
- /** Plan of the source sandbox at capture time. See `sandboxPlan` for known values. */
1033
+ /** The source sandbox's compute plan when the snapshot was captured. See `sandboxPlan` for known values. */
922
1034
  plan: CreateSandboxSnapshotResponsePlan;
1035
+ /** The timestamp when the snapshot was requested, in ISO 8601 format. */
923
1036
  requestedAt: string;
924
- /** When the sandbox was frozen for capture. Null until `available`. */
1037
+ /** The timestamp when capture completed, in ISO 8601 format. Null until the snapshot is `available`. */
925
1038
  capturedAt?: string | null | undefined;
926
- /** The time after which the snapshot can no longer be retrieved or restored. Set by Render when the create request did not specify one. */
1039
+ /** The timestamp after which the snapshot can no longer be retrieved or restored, in ISO 8601 format. Each time you create a sandbox from this snapshot, Render resets its expiration to `ttlSeconds` seconds after that use. For snapshots with no expiration (`ttlSeconds: 0`), this is `9999-12-31T23:59:59Z`. */
927
1040
  expiresAt: string;
928
- /** Null until `available`. */
1041
+ /** The snapshot's lifetime after its last use, in seconds. A value of 0 means the snapshot does not expire. If omitted, Render's default snapshot lifetime applies. */
1042
+ ttlSeconds?: number | undefined;
1043
+ /** The size of the snapshot, in bytes. Null until the snapshot is `available`. */
929
1044
  sizeBytes?: number | null | undefined;
930
- /** Null unless `failed`. */
1045
+ /** The reason the snapshot failed. Null unless its status is `failed`. */
931
1046
  error?: string | null | undefined;
932
1047
  }
933
1048
  export type ServiceType = "static_site" | "web_service" | "private_service" | "background_worker" | "cron_job";
@@ -1267,7 +1382,7 @@ export interface CreateTaskRequest {
1267
1382
  /** A client-generated key that makes starting a task run safe to retry. Repeating a request with the same key within 24 hours returns the task run that the first request started instead of starting another one; the repeated request's input is ignored. Keys are scoped to a workflow. Omit the key to always start a new run. */
1268
1383
  idempotencyKey?: string | undefined;
1269
1384
  }
1270
- export type Status2 = "pending" | "running" | "completed" | "succeeded" | "failed" | "canceled" | "paused";
1385
+ export type Status2 = "pending" | "running" | "completed" | "succeeded" | "failed" | "canceled" | "paused" | "suspended" | "sleeping";
1271
1386
  export interface CreateTaskResponseAttemptsItem {
1272
1387
  /** The ID of the task run this attempt belongs to. */
1273
1388
  taskRunId?: string | undefined;
@@ -1519,12 +1634,28 @@ export interface DeleteRouteRequest {
1519
1634
  }
1520
1635
  export interface DeleteRouteResponse {
1521
1636
  }
1637
+ export interface DeleteSandboxBuildRequest {
1638
+ /** The ID of the sandbox group. */
1639
+ sandboxGroupId: string;
1640
+ /** The ID of the sandbox build. */
1641
+ buildId: string;
1642
+ }
1643
+ export interface DeleteSandboxBuildResponse {
1644
+ }
1645
+ export interface DeleteSandboxGroupCredentialRequest {
1646
+ /** The ID of the sandbox group. */
1647
+ sandboxGroupId: string;
1648
+ /** The ID of the credential. Must be unique within this sandbox group. */
1649
+ credentialId: string;
1650
+ }
1651
+ export interface DeleteSandboxGroupCredentialResponse {
1652
+ }
1522
1653
  export interface DeleteSandboxSnapshotRequest {
1523
- /** The ID of the sandbox group */
1654
+ /** The ID of the sandbox group. */
1524
1655
  sandboxGroupId: string;
1525
- /** The ID of the snapshot */
1656
+ /** The ID of the sandbox snapshot. */
1526
1657
  snapshotId: string;
1527
- /** The ID of the workspace the sandbox group belongs to. Optional: the workspace is determined from the sandbox group ID, and this parameter is ignored when supplied. */
1658
+ /** The ID of the workspace the sandbox group belongs to. */
1528
1659
  ownerId?: string | undefined;
1529
1660
  }
1530
1661
  export interface DeleteSandboxSnapshotResponse {
@@ -1581,6 +1712,12 @@ export interface GetActiveConnectionsRequest {
1581
1712
  resolutionSeconds?: number | undefined;
1582
1713
  /** Resource ID to query. When multiple resource query params are provided, they are ORed together. Resources Postgres ids or Redis ids */
1583
1714
  resource?: string | undefined;
1715
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
1716
+ project?: string | undefined;
1717
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
1718
+ environment?: string | undefined;
1719
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
1720
+ region?: string | undefined;
1584
1721
  }
1585
1722
  /** A time series datapoint label */
1586
1723
  export interface GetActiveConnectionsResponseBodyItemLabelsItem {
@@ -1616,6 +1753,12 @@ export interface GetBandwidthRequest {
1616
1753
  resource?: string | undefined;
1617
1754
  /** This parameter is deprecated. Please use `resource` instead */
1618
1755
  service?: string | undefined;
1756
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
1757
+ project?: string | undefined;
1758
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
1759
+ environment?: string | undefined;
1760
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
1761
+ region?: string | undefined;
1619
1762
  }
1620
1763
  /** A time series datapoint label */
1621
1764
  export type GetBandwidthResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -1645,6 +1788,12 @@ export interface GetBandwidthSourcesRequest {
1645
1788
  resource?: string | undefined;
1646
1789
  /** This parameter is deprecated. Please use `resource` instead */
1647
1790
  service?: string | undefined;
1791
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
1792
+ project?: string | undefined;
1793
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
1794
+ environment?: string | undefined;
1795
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
1796
+ region?: string | undefined;
1648
1797
  }
1649
1798
  export type GetBandwidthSourcesResponseDataItemLabelsTrafficSource = "total" | "http" | "websocket" | "nat" | "privatelink";
1650
1799
  export interface GetBandwidthSourcesResponseDataItemLabels {
@@ -1719,33 +1868,33 @@ export interface GetBuildSourceBuildRequest {
1719
1868
  buildSourceId: string;
1720
1869
  buildId: string;
1721
1870
  }
1722
- export type SchemaBuildRunStatus = "created" | "inProgress" | "succeeded" | "failed" | "canceled" | "unknown";
1723
- export type SchemaBuildRunRuntime = "docker" | "elixir" | "go" | "node" | "python" | "ruby" | "rust";
1871
+ export type GetBuildSourceBuildResponseBuildRunStatus = "created" | "inProgress" | "succeeded" | "failed" | "canceled" | "unknown";
1872
+ export type GetBuildSourceBuildResponseBuildRunRuntime = "docker" | "elixir" | "go" | "node" | "python" | "ruby" | "rust";
1724
1873
  /** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
1725
- export interface SchemaBuildRun {
1874
+ export interface GetBuildSourceBuildResponseBuildRun {
1726
1875
  id: string;
1727
- status?: SchemaBuildRunStatus | undefined;
1876
+ status?: GetBuildSourceBuildResponseBuildRunStatus | undefined;
1728
1877
  buildStartedAt?: string | undefined;
1729
1878
  buildFinishedAt?: string | undefined;
1730
- runtime?: SchemaBuildRunRuntime | undefined;
1879
+ runtime?: GetBuildSourceBuildResponseBuildRunRuntime | undefined;
1731
1880
  commitId?: string | undefined;
1732
1881
  commitUrl?: string | undefined;
1733
1882
  }
1734
1883
  /** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
1735
- export interface SchemaImage {
1884
+ export interface GetBuildSourceBuildResponseImage {
1736
1885
  imageVersionId?: string | undefined;
1737
1886
  SHA?: string | undefined;
1738
1887
  ref?: string | undefined;
1739
1888
  imageUrl?: string | undefined;
1740
1889
  registryCredentialId?: string | undefined;
1741
1890
  }
1742
- export interface Schema13 {
1891
+ export interface GetBuildSourceBuildResponse {
1743
1892
  id: string;
1744
1893
  buildSourceId: string;
1745
1894
  /** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
1746
- buildRun?: SchemaBuildRun | undefined;
1895
+ buildRun?: GetBuildSourceBuildResponseBuildRun | undefined;
1747
1896
  /** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
1748
- image?: SchemaImage | undefined;
1897
+ image?: GetBuildSourceBuildResponseImage | undefined;
1749
1898
  createdAt: string;
1750
1899
  updatedAt: string;
1751
1900
  assetsDeletedAt?: string | undefined;
@@ -1772,10 +1921,16 @@ export interface GetCpuRequest {
1772
1921
  resource?: string | undefined;
1773
1922
  /** This parameter is deprecated. Please use `resource` instead */
1774
1923
  service?: string | undefined;
1924
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
1925
+ project?: string | undefined;
1926
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
1927
+ environment?: string | undefined;
1775
1928
  /** Instance ID to query. When multiple instance ID query params are provided, they are ORed together */
1776
1929
  instance?: string | undefined;
1777
1930
  /** The aggregation method to apply to multiple time series */
1778
1931
  aggregationMethod?: GetCpuRequestAggregationMethod | (string & {}) | undefined;
1932
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
1933
+ region?: string | undefined;
1779
1934
  }
1780
1935
  /** A time series datapoint label */
1781
1936
  export type GetCpuResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -1807,8 +1962,14 @@ export interface GetCpuLimitRequest {
1807
1962
  resource?: string | undefined;
1808
1963
  /** This parameter is deprecated. Please use `resource` instead */
1809
1964
  service?: string | undefined;
1965
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
1966
+ project?: string | undefined;
1967
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
1968
+ environment?: string | undefined;
1810
1969
  /** Instance ID to query. When multiple instance ID query params are provided, they are ORed together */
1811
1970
  instance?: string | undefined;
1971
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
1972
+ region?: string | undefined;
1812
1973
  }
1813
1974
  /** A time series datapoint label */
1814
1975
  export type GetCpuLimitResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -1840,8 +2001,14 @@ export interface GetCpuTargetRequest {
1840
2001
  resource?: string | undefined;
1841
2002
  /** This parameter is deprecated. Please use `resource` instead */
1842
2003
  service?: string | undefined;
2004
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
2005
+ project?: string | undefined;
2006
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
2007
+ environment?: string | undefined;
1843
2008
  /** Instance ID to query. When multiple instance ID query params are provided, they are ORed together */
1844
2009
  instance?: string | undefined;
2010
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
2011
+ region?: string | undefined;
1845
2012
  }
1846
2013
  /** A time series datapoint label */
1847
2014
  export type GetCpuTargetResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -1902,6 +2069,12 @@ export interface GetDiskCapacityRequest {
1902
2069
  resource?: string | undefined;
1903
2070
  /** This parameter is deprecated. Please use `resource` instead */
1904
2071
  service?: string | undefined;
2072
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
2073
+ project?: string | undefined;
2074
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
2075
+ environment?: string | undefined;
2076
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
2077
+ region?: string | undefined;
1905
2078
  }
1906
2079
  /** A time series datapoint label */
1907
2080
  export type GetDiskCapacityResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -1933,6 +2106,12 @@ export interface GetDiskUsageRequest {
1933
2106
  resource?: string | undefined;
1934
2107
  /** This parameter is deprecated. Please use `resource` instead */
1935
2108
  service?: string | undefined;
2109
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
2110
+ project?: string | undefined;
2111
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
2112
+ environment?: string | undefined;
2113
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
2114
+ region?: string | undefined;
1936
2115
  }
1937
2116
  /** A time series datapoint label */
1938
2117
  export type GetDiskUsageResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -1959,7 +2138,9 @@ export interface GetEnvGroupRequest {
1959
2138
  }
1960
2139
  /** List of serviceIds linked to the envGroup */
1961
2140
  export type GetEnvGroupResponseServiceLinksList = Array<EnvGroupLink>;
2141
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
1962
2142
  export type GetEnvGroupResponseEnvVarsList = Array<EnvVar>;
2143
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
1963
2144
  export type GetEnvGroupResponseSecretFilesList = Array<SecretFile>;
1964
2145
  export interface GetEnvGroupResponse {
1965
2146
  id: string;
@@ -1970,8 +2151,10 @@ export interface GetEnvGroupResponse {
1970
2151
  /** List of serviceIds linked to the envGroup */
1971
2152
  serviceLinks: GetEnvGroupResponseServiceLinksList;
1972
2153
  environmentId?: string | undefined;
1973
- envVars: GetEnvGroupResponseEnvVarsList;
1974
- secretFiles: GetEnvGroupResponseSecretFilesList;
2154
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
2155
+ envVars?: GetEnvGroupResponseEnvVarsList | undefined;
2156
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
2157
+ secretFiles?: GetEnvGroupResponseSecretFilesList | undefined;
1975
2158
  }
1976
2159
  export interface GetEnvGroupEnvVarRequest {
1977
2160
  /** Filter for resources that belong to an environment group */
@@ -2341,7 +2524,7 @@ export interface GetFlowRunRequest {
2341
2524
  flowRunId: string;
2342
2525
  }
2343
2526
  /** The status of a flow run. */
2344
- export type Items5 = "pending" | "running" | "succeeded" | "failed" | "canceled" | "paused";
2527
+ export type Items5 = "pending" | "running" | "succeeded" | "failed" | "canceled" | "paused" | "suspended" | "sleeping";
2345
2528
  /** Positional arguments passed to the flow function */
2346
2529
  export type InputCase0List2 = Array<unknown>;
2347
2530
  /** Named parameters passed to the flow function as keyword arguments */
@@ -2397,12 +2580,22 @@ export interface GetFlowRunStepRequest {
2397
2580
  stepSeq: number;
2398
2581
  /** The SDK's key for the step, as `stepKey` reports it in the step listing. Steps that share a sequence number are told apart by it. Omit it for a step the SDK recorded without one. */
2399
2582
  stepKey?: string | undefined;
2583
+ includeAttempts?: boolean | undefined;
2584
+ }
2585
+ export interface _03 {
2586
+ attempt: number;
2587
+ flowAttempt: number;
2588
+ startedAt: string;
2589
+ completedAt: string;
2590
+ retryAt?: string | undefined;
2400
2591
  }
2592
+ export type GetFlowRunStepResponseFailedAttemptsList = Array<_03>;
2401
2593
  /** The kind of step. `inline` runs a function inside the flow's process and retries in place. `detached` runs a registered task as its own task run. `sleep` is a durable sleep. */
2402
2594
  export type GetFlowRunStepResponseType = "inline" | "detached" | "sleep";
2403
2595
  /** `running` until the step records an outcome, then `succeeded` or `failed`. */
2404
2596
  export type GetFlowRunStepResponseStatus = "running" | "succeeded" | "failed";
2405
2597
  export interface GetFlowRunStepResponse {
2598
+ failedAttempts?: GetFlowRunStepResponseFailedAttemptsList | undefined;
2406
2599
  /** The step's position in the flow run. Steps are numbered densely in the order the flow started them. */
2407
2600
  seq: number;
2408
2601
  /** The SDK's key for the step. */
@@ -2426,6 +2619,23 @@ export interface GetFlowRunStepResponse {
2426
2619
  /** Error message if the step failed. */
2427
2620
  error?: string | undefined;
2428
2621
  }
2622
+ export interface GetFlowRunStepAttemptRequest {
2623
+ /** The ID of the flow run */
2624
+ flowRunId: string;
2625
+ /** The sequence number of the step within its flow run */
2626
+ stepSeq: number;
2627
+ attempt: number;
2628
+ /** The SDK's key for the step, as `stepKey` reports it in the step listing. Steps that share a sequence number are told apart by it. Omit it for a step the SDK recorded without one. */
2629
+ stepKey?: string | undefined;
2630
+ }
2631
+ export interface GetFlowRunStepAttemptResponse {
2632
+ attempt: number;
2633
+ flowAttempt: number;
2634
+ startedAt: string;
2635
+ completedAt: string;
2636
+ retryAt?: string | undefined;
2637
+ error: string;
2638
+ }
2429
2639
  export interface GetHttpLatencyRequest {
2430
2640
  /** Epoch/Unix timestamp of start of time range to return. Defaults to `now() - 1 hour`. */
2431
2641
  startTime?: string | undefined;
@@ -2437,12 +2647,18 @@ export interface GetHttpLatencyRequest {
2437
2647
  resource?: string | undefined;
2438
2648
  /** This parameter is deprecated. Please use `resource` instead */
2439
2649
  service?: string | undefined;
2650
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
2651
+ project?: string | undefined;
2652
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
2653
+ environment?: string | undefined;
2440
2654
  /** The hosts of HTTP requests to filter to. When multiple host query params are provided, they are ORed together */
2441
2655
  host?: string | undefined;
2442
2656
  /** The paths of HTTP requests to filter to. When multiple path query params are provided, they are ORed together */
2443
2657
  path?: string | undefined;
2444
2658
  /** The quantile of latencies to fetch. When multiple quantile query params are provided, they are ORed together */
2445
2659
  quantile?: number | undefined;
2660
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
2661
+ region?: string | undefined;
2446
2662
  }
2447
2663
  /** A time series datapoint label */
2448
2664
  export type GetHttpLatencyResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -2475,12 +2691,18 @@ export interface GetHttpRequestsRequest {
2475
2691
  resource?: string | undefined;
2476
2692
  /** This parameter is deprecated. Please use `resource` instead */
2477
2693
  service?: string | undefined;
2694
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
2695
+ project?: string | undefined;
2696
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
2697
+ environment?: string | undefined;
2478
2698
  /** The hosts of HTTP requests to filter to. When multiple host query params are provided, they are ORed together */
2479
2699
  host?: string | undefined;
2480
2700
  /** The paths of HTTP requests to filter to. When multiple path query params are provided, they are ORed together */
2481
2701
  path?: string | undefined;
2482
2702
  /** The field to aggregate by */
2483
2703
  aggregateBy?: GetHttpRequestsRequestAggregateBy | (string & {}) | undefined;
2704
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
2705
+ region?: string | undefined;
2484
2706
  }
2485
2707
  /** A time series datapoint label */
2486
2708
  export type GetHttpRequestsResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -2512,6 +2734,12 @@ export interface GetInstanceCountRequest {
2512
2734
  resource?: string | undefined;
2513
2735
  /** This parameter is deprecated. Please use `resource` instead */
2514
2736
  service?: string | undefined;
2737
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
2738
+ project?: string | undefined;
2739
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
2740
+ environment?: string | undefined;
2741
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
2742
+ region?: string | undefined;
2515
2743
  }
2516
2744
  /** A time series datapoint label */
2517
2745
  export type GetInstanceCountResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -2547,11 +2775,11 @@ export interface GetKeyValueConnectionInfoRequest {
2547
2775
  /** A Key Value instance */
2548
2776
  export interface KeyValueConnectionInfo {
2549
2777
  /** The connection string to use from within Render */
2550
- internalConnectionString: string;
2778
+ internalConnectionString: string | Redacted.Redacted<string>;
2551
2779
  /** The connection string to use from outside Render */
2552
- externalConnectionString: string;
2780
+ externalConnectionString: string | Redacted.Redacted<string>;
2553
2781
  /** The CLI (redis-cli or valkey-cli) command to connect to the Key Value instance */
2554
- cliCommand: string;
2782
+ cliCommand: string | Redacted.Redacted<string>;
2555
2783
  }
2556
2784
  export interface GetMaintenanceRequest {
2557
2785
  maintenanceRunID: string;
@@ -2576,8 +2804,14 @@ export interface GetMemoryRequest {
2576
2804
  resource?: string | undefined;
2577
2805
  /** This parameter is deprecated. Please use `resource` instead */
2578
2806
  service?: string | undefined;
2807
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
2808
+ project?: string | undefined;
2809
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
2810
+ environment?: string | undefined;
2579
2811
  /** Instance ID to query. When multiple instance ID query params are provided, they are ORed together */
2580
2812
  instance?: string | undefined;
2813
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
2814
+ region?: string | undefined;
2581
2815
  }
2582
2816
  /** A time series datapoint label */
2583
2817
  export type GetMemoryResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -2609,8 +2843,14 @@ export interface GetMemoryLimitRequest {
2609
2843
  resource?: string | undefined;
2610
2844
  /** This parameter is deprecated. Please use `resource` instead */
2611
2845
  service?: string | undefined;
2846
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
2847
+ project?: string | undefined;
2848
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
2849
+ environment?: string | undefined;
2612
2850
  /** Instance ID to query. When multiple instance ID query params are provided, they are ORed together */
2613
2851
  instance?: string | undefined;
2852
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
2853
+ region?: string | undefined;
2614
2854
  }
2615
2855
  /** A time series datapoint label */
2616
2856
  export type GetMemoryLimitResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -2642,8 +2882,14 @@ export interface GetMemoryTargetRequest {
2642
2882
  resource?: string | undefined;
2643
2883
  /** This parameter is deprecated. Please use `resource` instead */
2644
2884
  service?: string | undefined;
2885
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
2886
+ project?: string | undefined;
2887
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
2888
+ environment?: string | undefined;
2645
2889
  /** Instance ID to query. When multiple instance ID query params are provided, they are ORed together */
2646
2890
  instance?: string | undefined;
2891
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
2892
+ region?: string | undefined;
2647
2893
  }
2648
2894
  /** A time series datapoint label */
2649
2895
  export type GetMemoryTargetResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -2731,11 +2977,11 @@ export interface GetPostgresConnectionInfoRequest {
2731
2977
  }
2732
2978
  export interface PostgresConnectionInfo {
2733
2979
  password: string | Redacted.Redacted<string>;
2734
- internalConnectionString: string;
2735
- externalConnectionString: string;
2736
- internalConnectionPoolString?: string | undefined;
2737
- externalConnectionPoolString?: string | undefined;
2738
- psqlCommand: string;
2980
+ internalConnectionString: string | Redacted.Redacted<string>;
2981
+ externalConnectionString: string | Redacted.Redacted<string>;
2982
+ internalConnectionPoolString?: string | Redacted.Redacted<string> | undefined;
2983
+ externalConnectionPoolString?: string | Redacted.Redacted<string> | undefined;
2984
+ psqlCommand: string | Redacted.Redacted<string>;
2739
2985
  }
2740
2986
  export interface GetPostgresRecoveryInfoRequest {
2741
2987
  postgresId: string;
@@ -2763,6 +3009,12 @@ export interface GetReplicationLagRequest {
2763
3009
  resolutionSeconds?: number | undefined;
2764
3010
  /** Postgres ID to query. When multiple resource query params are provided, they are ORed together */
2765
3011
  resource?: string | undefined;
3012
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
3013
+ project?: string | undefined;
3014
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
3015
+ environment?: string | undefined;
3016
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
3017
+ region?: string | undefined;
2766
3018
  }
2767
3019
  /** A time series datapoint label */
2768
3020
  export type GetReplicationLagResponseBodyItemLabelsItem = GetActiveConnectionsResponseBodyItemLabelsItem;
@@ -2797,141 +3049,188 @@ export interface GetResourceLogStreamResponse {
2797
3049
  setting?: Items3 | undefined;
2798
3050
  }
2799
3051
  export interface GetSandboxRequest {
2800
- /** The ID of the sandbox */
3052
+ /** The ID of the sandbox. */
2801
3053
  sandboxId: string;
2802
- /** The ID of the workspace the sandbox belongs to. Optional: the workspace is determined from the sandbox ID, and this parameter is ignored when supplied. */
3054
+ /** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
2803
3055
  ownerId?: string | undefined;
2804
3056
  }
2805
- /** Compute plan. See `sandboxPlan` for known values. */
2806
- export type SchemaPlan = _03 | string;
3057
+ /** The sandbox's compute plan. See `sandboxPlan` for known values. */
3058
+ export type GetSandboxResponsePlan = _05 | string;
2807
3059
  /** Destinations the sandbox may reach, present when `type` is `allow-list` and absent otherwise. Each domain may be listed once. */
2808
- export type SchemaNetworkPolicyRulesList = Array<Items7>;
2809
- export interface SchemaNetworkPolicy {
2810
- /** How outbound traffic is handled. `allow-all`, `deny-all`, or `allow-list` (requires additional `rules`). */
2811
- type: _04;
2812
- /** Deprecated alias for `type`, always returned with the same value. To be removed before GA; read `type` instead. */
2813
- default?: _04 | undefined;
3060
+ export type GetSandboxResponseNetworkPolicyRulesList = Array<Items7>;
3061
+ /** The policy that controls outbound traffic from the sandbox. */
3062
+ export interface GetSandboxResponseNetworkPolicy {
3063
+ /** How Render handles outbound traffic from the sandbox. The `allow-list` policy requires `rules`. */
3064
+ type: _06;
3065
+ /** A deprecated alias for `type`, returned with the same value. Read `type` instead. */
3066
+ default?: _06 | undefined;
2814
3067
  /** Destinations the sandbox may reach, present when `type` is `allow-list` and absent otherwise. Each domain may be listed once. */
2815
- rules?: SchemaNetworkPolicyRulesList | undefined;
3068
+ rules?: GetSandboxResponseNetworkPolicyRulesList | undefined;
2816
3069
  }
2817
- export interface Schema21 {
3070
+ export interface GetSandboxResponse {
2818
3071
  id: string;
2819
3072
  /** The label set when the sandbox was created. */
2820
3073
  name?: string | null | undefined;
2821
- /** The sandbox group this sandbox belongs to. */
3074
+ /** The ID of the sandbox group this sandbox belongs to. */
2822
3075
  sandboxGroupId?: string | undefined;
2823
3076
  status: Items6;
2824
- /** Compute plan. See `sandboxPlan` for known values. */
2825
- plan: SchemaPlan;
2826
- networkPolicy: SchemaNetworkPolicy;
2827
- /** Region the sandbox is running in. */
3077
+ /** The sandbox's compute plan. See `sandboxPlan` for known values. */
3078
+ plan: GetSandboxResponsePlan;
3079
+ /** The policy that controls outbound traffic from the sandbox. */
3080
+ networkPolicy: GetSandboxResponseNetworkPolicy;
3081
+ /** The Render region where the sandbox runs. */
2828
3082
  region: string;
2829
- /** Maximum sandbox lifetime in seconds. 0 means the sandbox has no timeout. */
3083
+ /** The maximum time the sandbox can run continuously, in seconds. The sandbox terminates when this time elapses. If the sandbox is suspended and later resumed, this timeout restarts. A value of 0 disables the runtime timeout. */
2830
3084
  timeoutSeconds: number;
2831
- /** Seconds of inactivity before the sandbox is suspended. 0 disables automatic idle suspension. */
3085
+ /** The number of seconds of inactivity before Render suspends the sandbox. A value of 0 disables automatic idle suspension. */
2832
3086
  idleTimeoutSeconds: number;
3087
+ /** The timestamp when the sandbox was created, in ISO 8601 format. */
2833
3088
  createdAt: string;
2834
- /** When the sandbox was terminated, or null. */
3089
+ /** The timestamp when the sandbox was terminated, in ISO 8601 format. Null if the sandbox has not been terminated. */
2835
3090
  terminatedAt?: string | null | undefined;
2836
3091
  }
2837
3092
  export interface GetSandboxBuildRequest {
2838
- /** The ID of the sandbox group */
3093
+ /** The ID of the sandbox group. */
2839
3094
  sandboxGroupId: string;
2840
- /** The ID of the build */
3095
+ /** The ID of the sandbox build. */
2841
3096
  buildId: string;
2842
3097
  }
3098
+ /** The source container image used for this build. */
2843
3099
  export type SchemaSource = CreateSandboxBuildResponseSource;
3100
+ /** A build that converts a container image into an image that sandboxes can use. */
2844
3101
  export interface Schema24 {
2845
3102
  id: string;
2846
3103
  sandboxGroupId: string;
2847
- /** Names the image. Every build of an image shares it. */
3104
+ /** The name used to select this image when creating a sandbox. Multiple builds can share a name. */
2848
3105
  name: string;
3106
+ /** The source container image used for this build. */
2849
3107
  source: CreateSandboxBuildResponseSource;
2850
- /** The image digest the build converts. */
3108
+ /** The digest of the source image converted by this build. */
2851
3109
  sourceDigest: string;
2852
- status: Items9;
2853
- /** Why the build failed. Null unless `failed`. */
3110
+ status: Items10;
3111
+ /** A description of why the build failed. Null unless the status is `failed`. May include error text from the image registry. When displaying errors, use `failureCode` to select the main message and show this value as additional detail. */
2854
3112
  failureReason?: string | null | undefined;
3113
+ /** A machine-readable reason the build failed. Null unless the status is `failed`. See `sandboxBuildFailureCode` for known codes. Treat unrecognized codes as `internal_error`. */
3114
+ failureCode?: string | null | undefined;
3115
+ /** The timestamp when the sandbox build was created, in ISO 8601 format. */
2855
3116
  createdAt: string;
2856
- /** When the build succeeded or failed. */
3117
+ /** The timestamp when the build succeeded or failed, in ISO 8601 format. Null while the build is pending or running. */
2857
3118
  finishedAt?: string | null | undefined;
2858
3119
  }
2859
3120
  export interface GetSandboxExecutionRequest {
2860
- /** The ID of the sandbox */
3121
+ /** The ID of the sandbox. */
2861
3122
  sandboxId: string;
2862
- /** The ID of the execution */
3123
+ /** The ID of the sandbox execution. */
2863
3124
  execId: string;
2864
- /** The ID of the workspace the sandbox belongs to. Optional: the workspace is determined from the sandbox ID, and this parameter is ignored when supplied. */
3125
+ /** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
2865
3126
  ownerId?: string | undefined;
2866
3127
  }
3128
+ /** Whether the execution is a command run or a file transfer. */
2867
3129
  export type GetSandboxExecutionResponseType = "runs" | "files";
3130
+ /** The command run or file transfer operation authorized by the connect token. */
2868
3131
  export type GetSandboxExecutionResponseOperation = "sync" | "stream" | "upload" | "download";
2869
3132
  export interface GetSandboxExecutionResponse {
2870
3133
  id: string;
2871
3134
  sandboxId: string;
3135
+ /** Whether the execution is a command run or a file transfer. */
2872
3136
  type: GetSandboxExecutionResponseType;
3137
+ /** The command run or file transfer operation authorized by the connect token. */
2873
3138
  operation: GetSandboxExecutionResponseOperation;
2874
- /** The execution target. For runs, the truncated command; for file transfers, the target file path. */
3139
+ /** The command run in the sandbox, or the target path for a file transfer. Command text may be redacted or truncated. Omitted if you do not have permission to view execution commands. */
2875
3140
  command?: string | undefined;
2876
- /** The ID of the user the execution token was minted for. */
3141
+ /** The ID of the user the execution token was created for. */
2877
3142
  userId: string;
3143
+ /** The timestamp when the execution token was created, in ISO 8601 format. */
2878
3144
  startedAt: string;
3145
+ /** The timestamp when the execution stopped, in ISO 8601 format. Omitted until a result is available. */
2879
3146
  stoppedAt?: string | undefined;
3147
+ /** The execution exit code. Omitted until a result is available. */
2880
3148
  exitCode?: number | undefined;
2881
3149
  }
2882
3150
  export interface GetSandboxGroupRequest {
2883
- /** The ID of the sandbox group */
3151
+ /** The ID of the sandbox group. */
2884
3152
  sandboxGroupId: string;
2885
3153
  }
2886
- export interface Schema22 {
3154
+ /** A group of sandboxes in a workspace that share a region, concurrency limit, and credentials. */
3155
+ export interface Schema21 {
2887
3156
  id: string;
2888
3157
  /** The ID of the workspace this group belongs to. */
2889
3158
  ownerId: string;
2890
- /** Human-friendly name for the group. */
3159
+ /** The sandbox group's name. */
2891
3160
  name: string;
2892
- /** Render region the group operates in. */
3161
+ /** The Render region where the group's sandboxes run. */
2893
3162
  region: string;
2894
- /** Whether this is the workspace's default group. Sandboxes are created here unless a group is given. */
3163
+ /** Whether this is the workspace's default sandbox group. Create requests that omit `sandboxGroupId` use this group. */
2895
3164
  isDefault: boolean;
2896
- /** Environment this group is bound to. */
3165
+ /** The ID of the environment that contains this group. Null if the group isn't in a project. To move a group, add it to or remove it from an environment with `/environments/{environmentId}/resources`. */
2897
3166
  environmentId?: string | null | undefined;
2898
- /** The effective limit on active sandboxes in this group, capped by Render's limit for this workspace. */
3167
+ /** The maximum number of active sandboxes allowed in this group, capped by Render's limit for the workspace. */
2899
3168
  concurrencyLimit: number;
3169
+ /** The timestamp when the sandbox group was created, in ISO 8601 format. */
2900
3170
  createdAt: string;
3171
+ /** The timestamp when the sandbox group was last updated, in ISO 8601 format. */
2901
3172
  updatedAt: string;
2902
3173
  }
3174
+ export interface GetSandboxGroupCredentialRequest {
3175
+ /** The ID of the sandbox group. */
3176
+ sandboxGroupId: string;
3177
+ /** The ID of the credential. Must be unique within this sandbox group. */
3178
+ credentialId: string;
3179
+ }
3180
+ /** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. An empty list matches any method. */
3181
+ export type SchemaMethodsList = Array<string>;
3182
+ /** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. An empty list matches any path. */
3183
+ export type SchemaPathsList = Array<string>;
3184
+ /** A credential configured for injection into matching outbound HTTPS requests from sandboxes in one sandbox group. Each credential stores its own secret value. These endpoints do not return secret values, including to admins. Credential injection supports HTTPS requests on port 443. Avoid overlapping credential configurations for the same hostname. Multiple matching credentials are not combined. */
3185
+ export interface Schema23 {
3186
+ id: string;
3187
+ /** The destination hostname to match for credential injection. Must be a public DNS hostname. Render normalizes it to lowercase and matches it exactly. IP addresses, ports, wildcards, and local or internal hostnames are not supported. */
3188
+ domain: string;
3189
+ version?: Items9 | undefined;
3190
+ /** Whether this credential is enabled for injection. */
3191
+ enabled: boolean;
3192
+ /** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. An empty list matches any method. */
3193
+ methods: SchemaMethodsList;
3194
+ /** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. An empty list matches any path. */
3195
+ paths: SchemaPathsList;
3196
+ injection: Injection;
3197
+ }
2903
3198
  export interface GetSandboxSnapshotRequest {
2904
- /** The ID of the sandbox group */
3199
+ /** The ID of the sandbox group. */
2905
3200
  sandboxGroupId: string;
2906
- /** The ID of the snapshot */
3201
+ /** The ID of the sandbox snapshot. */
2907
3202
  snapshotId: string;
2908
- /** The ID of the workspace the sandbox group belongs to. Optional: the workspace is determined from the sandbox group ID, and this parameter is ignored when supplied. */
3203
+ /** The ID of the workspace the sandbox group belongs to. */
2909
3204
  ownerId?: string | undefined;
2910
3205
  }
2911
- /** `filesystem` captures the writable filesystem and restores onto any plan. `runtime` also captures memory and CPU state and restores only onto the plan of the source sandbox. */
3206
+ /** The state to capture. A `filesystem` snapshot captures the writable filesystem and can be restored to any plan. A `runtime` snapshot also captures memory and CPU state and must be restored to the source sandbox plan. */
2912
3207
  export type SchemaKind = "filesystem" | "runtime";
2913
- /** Plan of the source sandbox at capture time. See `sandboxPlan` for known values. */
2914
- export type SchemaPlan2 = _03 | string;
3208
+ /** The source sandbox's compute plan when the snapshot was captured. See `sandboxPlan` for known values. */
3209
+ export type SchemaPlan = _05 | string;
3210
+ /** A saved filesystem or runtime state that can be used to create another sandbox. */
2915
3211
  export interface Schema25 {
2916
3212
  id: string;
2917
3213
  sandboxGroupId: string;
2918
- /** The sandbox this snapshot was captured from. Lineage only. */
3214
+ /** The ID of the sandbox this snapshot was captured from, recorded for reference. */
2919
3215
  sourceSandboxId: string;
2920
- /** Set at create. Never changes. Null when created without a name. */
3216
+ /** The name assigned when the snapshot was created. Cannot be changed. Null if no name was provided. */
2921
3217
  name?: string | null | undefined;
2922
- /** `filesystem` captures the writable filesystem and restores onto any plan. `runtime` also captures memory and CPU state and restores only onto the plan of the source sandbox. */
3218
+ /** The state to capture. A `filesystem` snapshot captures the writable filesystem and can be restored to any plan. A `runtime` snapshot also captures memory and CPU state and must be restored to the source sandbox plan. */
2923
3219
  kind: SchemaKind;
2924
3220
  status: Items8;
2925
- /** Plan of the source sandbox at capture time. See `sandboxPlan` for known values. */
2926
- plan: SchemaPlan2;
3221
+ /** The source sandbox's compute plan when the snapshot was captured. See `sandboxPlan` for known values. */
3222
+ plan: SchemaPlan;
3223
+ /** The timestamp when the snapshot was requested, in ISO 8601 format. */
2927
3224
  requestedAt: string;
2928
- /** When the sandbox was frozen for capture. Null until `available`. */
3225
+ /** The timestamp when capture completed, in ISO 8601 format. Null until the snapshot is `available`. */
2929
3226
  capturedAt?: string | null | undefined;
2930
- /** The time after which the snapshot can no longer be retrieved or restored. Set by Render when the create request did not specify one. */
3227
+ /** The timestamp after which the snapshot can no longer be retrieved or restored, in ISO 8601 format. Each time you create a sandbox from this snapshot, Render resets its expiration to `ttlSeconds` seconds after that use. For snapshots with no expiration (`ttlSeconds: 0`), this is `9999-12-31T23:59:59Z`. */
2931
3228
  expiresAt: string;
2932
- /** Null until `available`. */
3229
+ /** The snapshot's lifetime after its last use, in seconds. A value of 0 means the snapshot does not expire. If omitted, Render's default snapshot lifetime applies. */
3230
+ ttlSeconds?: number | undefined;
3231
+ /** The size of the snapshot, in bytes. Null until the snapshot is `available`. */
2933
3232
  sizeBytes?: number | null | undefined;
2934
- /** Null unless `failed`. */
3233
+ /** The reason the snapshot failed. Null unless its status is `failed`. */
2935
3234
  error?: string | null | undefined;
2936
3235
  }
2937
3236
  export interface GetSecretFileRequest {
@@ -2986,7 +3285,7 @@ export interface GetTaskRunRequest {
2986
3285
  /** The ID of the task run */
2987
3286
  taskRunId: string;
2988
3287
  }
2989
- export type GetTaskRunResponseStatus = "pending" | "running" | "completed" | "succeeded" | "failed" | "canceled" | "paused";
3288
+ export type GetTaskRunResponseStatus = "pending" | "running" | "completed" | "succeeded" | "failed" | "canceled" | "paused" | "suspended" | "sleeping";
2990
3289
  export type GetTaskRunResponseResultsList = Array<unknown>;
2991
3290
  /** Positional arguments passed to the task function */
2992
3291
  export type InputCase0List = Array<unknown>;
@@ -3151,7 +3450,9 @@ export interface LinkEnvGroupToBuildSourceRequest {
3151
3450
  }
3152
3451
  /** List of serviceIds linked to the envGroup */
3153
3452
  export type LinkEnvGroupToBuildSourceResponseServiceLinksList = Array<EnvGroupLink>;
3453
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
3154
3454
  export type LinkEnvGroupToBuildSourceResponseEnvVarsList = Array<EnvVar>;
3455
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
3155
3456
  export type LinkEnvGroupToBuildSourceResponseSecretFilesList = Array<SecretFile>;
3156
3457
  export interface LinkEnvGroupToBuildSourceResponse {
3157
3458
  id: string;
@@ -3162,8 +3463,10 @@ export interface LinkEnvGroupToBuildSourceResponse {
3162
3463
  /** List of serviceIds linked to the envGroup */
3163
3464
  serviceLinks: LinkEnvGroupToBuildSourceResponseServiceLinksList;
3164
3465
  environmentId?: string | undefined;
3165
- envVars: LinkEnvGroupToBuildSourceResponseEnvVarsList;
3166
- secretFiles: LinkEnvGroupToBuildSourceResponseSecretFilesList;
3466
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
3467
+ envVars?: LinkEnvGroupToBuildSourceResponseEnvVarsList | undefined;
3468
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
3469
+ secretFiles?: LinkEnvGroupToBuildSourceResponseSecretFilesList | undefined;
3167
3470
  }
3168
3471
  export interface LinkServiceToEnvGroupRequest {
3169
3472
  /** Filter for resources that belong to an environment group */
@@ -3173,7 +3476,9 @@ export interface LinkServiceToEnvGroupRequest {
3173
3476
  }
3174
3477
  /** List of serviceIds linked to the envGroup */
3175
3478
  export type LinkServiceToEnvGroupResponseServiceLinksList = Array<EnvGroupLink>;
3479
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
3176
3480
  export type LinkServiceToEnvGroupResponseEnvVarsList = Array<EnvVar>;
3481
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
3177
3482
  export type LinkServiceToEnvGroupResponseSecretFilesList = Array<SecretFile>;
3178
3483
  export interface LinkServiceToEnvGroupResponse {
3179
3484
  id: string;
@@ -3184,8 +3489,10 @@ export interface LinkServiceToEnvGroupResponse {
3184
3489
  /** List of serviceIds linked to the envGroup */
3185
3490
  serviceLinks: LinkServiceToEnvGroupResponseServiceLinksList;
3186
3491
  environmentId?: string | undefined;
3187
- envVars: LinkServiceToEnvGroupResponseEnvVarsList;
3188
- secretFiles: LinkServiceToEnvGroupResponseSecretFilesList;
3492
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
3493
+ envVars?: LinkServiceToEnvGroupResponseEnvVarsList | undefined;
3494
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
3495
+ secretFiles?: LinkServiceToEnvGroupResponseSecretFilesList | undefined;
3189
3496
  }
3190
3497
  export interface ListApplicationFilterValuesRequest {
3191
3498
  /** Epoch/Unix timestamp of start of time range to return. Defaults to `now() - 1 hour`. */
@@ -3198,6 +3505,12 @@ export interface ListApplicationFilterValuesRequest {
3198
3505
  resource?: string | undefined;
3199
3506
  /** This parameter is deprecated. Please use `resource` instead */
3200
3507
  service?: string | undefined;
3508
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
3509
+ project?: string | undefined;
3510
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
3511
+ environment?: string | undefined;
3512
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
3513
+ region?: string | undefined;
3201
3514
  }
3202
3515
  export type ListApplicationFilterValuesResponseBodyItemFilter = "instance";
3203
3516
  export type ListApplicationFilterValuesResponseBodyItemValuesList = Array<string>;
@@ -3269,6 +3582,31 @@ export interface ListBuildsInBuildSourceRequest {
3269
3582
  /** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
3270
3583
  limit?: number | undefined;
3271
3584
  }
3585
+ export type SchemaBuildRunStatus = "created" | "inProgress" | "succeeded" | "failed" | "canceled" | "unknown";
3586
+ export type SchemaBuildRunRuntime = "docker" | "elixir" | "go" | "node" | "python" | "ruby" | "rust";
3587
+ /** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
3588
+ export interface SchemaBuildRun {
3589
+ id: string;
3590
+ status?: SchemaBuildRunStatus | undefined;
3591
+ buildStartedAt?: string | undefined;
3592
+ buildFinishedAt?: string | undefined;
3593
+ runtime?: SchemaBuildRunRuntime | undefined;
3594
+ commitId?: string | undefined;
3595
+ commitUrl?: string | undefined;
3596
+ }
3597
+ /** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
3598
+ export type SchemaImage = GetBuildSourceBuildResponseImage;
3599
+ export interface Schema13 {
3600
+ id: string;
3601
+ buildSourceId: string;
3602
+ /** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
3603
+ buildRun?: SchemaBuildRun | undefined;
3604
+ /** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
3605
+ image?: GetBuildSourceBuildResponseImage | undefined;
3606
+ createdAt: string;
3607
+ updatedAt: string;
3608
+ assetsDeletedAt?: string | undefined;
3609
+ }
3272
3610
  export interface ListBuildsInBuildSourceResponseBodyItem {
3273
3611
  build: Schema13;
3274
3612
  cursor: string;
@@ -3567,7 +3905,7 @@ export type ListEventsResponse = ListEventsResponseBodyList;
3567
3905
  export type ListFlowRunsRequestFlowSlugList = Array<string>;
3568
3906
  export type ListFlowRunsRequestFlowIdList = Array<string>;
3569
3907
  /** The status of a flow run. */
3570
- export type ListFlowRunsRequestStatusItem = "pending" | "running" | "succeeded" | "failed" | "canceled" | "paused";
3908
+ export type ListFlowRunsRequestStatusItem = "pending" | "running" | "succeeded" | "failed" | "canceled" | "paused" | "suspended" | "sleeping";
3571
3909
  export type ListFlowRunsRequestStatusList = Array<ListFlowRunsRequestStatusItem | (string & {})>;
3572
3910
  export type ListFlowRunsRequestOwnerIdList = Array<string>;
3573
3911
  export type ListFlowRunsRequestWorkflowVersionIdList = Array<string>;
@@ -3704,10 +4042,16 @@ export interface ListHttpFilterValuesRequest {
3704
4042
  resource?: string | undefined;
3705
4043
  /** This parameter is deprecated. Please use `resource` instead */
3706
4044
  service?: string | undefined;
4045
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
4046
+ project?: string | undefined;
4047
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
4048
+ environment?: string | undefined;
3707
4049
  /** The hosts of HTTP requests to filter to. When multiple host query params are provided, they are ORed together */
3708
4050
  host?: string | undefined;
3709
4051
  /** The status codes of HTTP requests to filter to. When multiple status code query params are provided, they are ORed together */
3710
4052
  statusCode?: string | undefined;
4053
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
4054
+ region?: string | undefined;
3711
4055
  }
3712
4056
  export type ListHttpFilterValuesResponseBodyItemFilter = "host" | "statusCode";
3713
4057
  export type ListHttpFilterValuesResponseBodyItemValuesList = Array<string>;
@@ -3825,6 +4169,7 @@ export type ListLogsRequestMethodList = Array<string>;
3825
4169
  export type ListLogsRequestTaskList = Array<string>;
3826
4170
  export type ListLogsRequestTaskRunList = Array<string>;
3827
4171
  export type ListLogsRequestSandboxList = Array<string>;
4172
+ export type ListLogsRequestBuildList = Array<string>;
3828
4173
  export type ListLogsRequestLevelList = Array<string>;
3829
4174
  export type ListLogsRequestTypeList = Array<string>;
3830
4175
  export type ListLogsRequestTextList = Array<string>;
@@ -3838,8 +4183,14 @@ export interface ListLogsRequest {
3838
4183
  endTime?: string | undefined;
3839
4184
  /** The direction to query logs for. Backward will return most recent logs first. Forward will start with the oldest logs in the time range. */
3840
4185
  direction?: ListLogsRequestDirection | (string & {}) | undefined;
3841
- /** Filter logs by their resource. A resource is the id of a server, cronjob, job, postgres, redis, workflow, or sandbox group. */
3842
- resource: ListLogsRequestResourceList;
4186
+ /** Filter logs by their resource. A resource is the id of a server, cronjob, job, postgres, redis, workflow, or sandbox group. Required unless `project` is provided. */
4187
+ resource?: ListLogsRequestResourceList | undefined;
4188
+ /** The ID of a project to return logs for. The query covers the project's services, cron jobs, Postgres databases, and Key Value instances. Combine with `resource` to narrow the query to specific resources in the project. */
4189
+ project?: string | undefined;
4190
+ /** The ID of an environment in the project to return logs for. Requires `project`. */
4191
+ environment?: string | undefined;
4192
+ /** The region to return logs for, such as `oregon`. Requires `project`. Required when the project's or environment's resources are in more than one region. */
4193
+ region?: string | undefined;
3843
4194
  /** Filter logs by the instance they were emitted from. An instance is the id of a specific running server. */
3844
4195
  instance?: ListLogsRequestInstanceList | undefined;
3845
4196
  /** Filter request logs by their host. [Wildcards and regex](https://render.com/docs/logging#wildcards-and-regular-expressions) are supported. */
@@ -3854,6 +4205,8 @@ export interface ListLogsRequest {
3854
4205
  taskRun?: ListLogsRequestTaskRunList | undefined;
3855
4206
  /** Filter logs by sandbox ID. */
3856
4207
  sandbox?: ListLogsRequestSandboxList | undefined;
4208
+ /** Filter logs by build ID, such as a service build or a sandbox image build. */
4209
+ build?: ListLogsRequestBuildList | undefined;
3857
4210
  /** Filter logs by their severity level. [Wildcards and regex](https://render.com/docs/logging#wildcards-and-regular-expressions) are supported. */
3858
4211
  level?: ListLogsRequestLevelList | undefined;
3859
4212
  /** Filter logs by their type. Types include `app` for application logs, `request` for request logs, and `build` for build logs. You can find the full set of types available for a query by using the `GET /logs/values` endpoint. */
@@ -3866,7 +4219,7 @@ export interface ListLogsRequest {
3866
4219
  limit?: number | undefined;
3867
4220
  }
3868
4221
  /** The name of the log label */
3869
- export type SchemaLabelsItemName = "resource" | "instance" | "host" | "statusCode" | "method" | "level" | "workflowService" | "workflowVeresion" | "task" | "taskRun" | "sandbox" | "type" | "text" | "path" | "blocked";
4222
+ export type SchemaLabelsItemName = "resource" | "instance" | "host" | "statusCode" | "method" | "level" | "workflowService" | "workflowVeresion" | "task" | "taskRun" | "sandbox" | "build" | "type" | "text" | "path" | "blocked";
3870
4223
  /** A log label */
3871
4224
  export interface SchemaLabelsItem {
3872
4225
  /** The name of the log label */
@@ -3905,6 +4258,7 @@ export type ListLogsValuesRequestMethodList = Array<string>;
3905
4258
  export type ListLogsValuesRequestTaskList = Array<string>;
3906
4259
  export type ListLogsValuesRequestTaskRunList = Array<string>;
3907
4260
  export type ListLogsValuesRequestSandboxList = Array<string>;
4261
+ export type ListLogsValuesRequestBuildList = Array<string>;
3908
4262
  export type ListLogsValuesRequestLevelList = Array<string>;
3909
4263
  export type ListLogsValuesRequestTypeList = Array<string>;
3910
4264
  export type ListLogsValuesRequestTextList = Array<string>;
@@ -3920,8 +4274,14 @@ export interface ListLogsValuesRequest {
3920
4274
  endTime?: string | undefined;
3921
4275
  /** The direction to query logs for. Backward will return most recent logs first. Forward will start with the oldest logs in the time range. */
3922
4276
  direction?: ListLogsValuesRequestDirection | (string & {}) | undefined;
3923
- /** Filter logs by their resource. A resource is the id of a server, cronjob, job, postgres, redis, workflow, or sandbox group. */
3924
- resource: ListLogsValuesRequestResourceList;
4277
+ /** Filter logs by their resource. A resource is the id of a server, cronjob, job, postgres, redis, workflow, or sandbox group. Required unless `project` is provided. */
4278
+ resource?: ListLogsValuesRequestResourceList | undefined;
4279
+ /** The ID of a project to return logs for. The query covers the project's services, cron jobs, Postgres databases, and Key Value instances. Combine with `resource` to narrow the query to specific resources in the project. */
4280
+ project?: string | undefined;
4281
+ /** The ID of an environment in the project to return logs for. Requires `project`. */
4282
+ environment?: string | undefined;
4283
+ /** The region to return logs for, such as `oregon`. Requires `project`. Required when the project's or environment's resources are in more than one region. */
4284
+ region?: string | undefined;
3925
4285
  /** Filter logs by the instance they were emitted from. An instance is the id of a specific running server. */
3926
4286
  instance?: ListLogsValuesRequestInstanceList | undefined;
3927
4287
  /** Filter request logs by their host. [Wildcards and regex](https://render.com/docs/logging#wildcards-and-regular-expressions) are supported. */
@@ -3936,6 +4296,8 @@ export interface ListLogsValuesRequest {
3936
4296
  taskRun?: ListLogsValuesRequestTaskRunList | undefined;
3937
4297
  /** Filter logs by sandbox ID. */
3938
4298
  sandbox?: ListLogsValuesRequestSandboxList | undefined;
4299
+ /** Filter logs by build ID, such as a service build or a sandbox image build. */
4300
+ build?: ListLogsValuesRequestBuildList | undefined;
3939
4301
  /** Filter logs by their severity level. [Wildcards and regex](https://render.com/docs/logging#wildcards-and-regular-expressions) are supported. */
3940
4302
  level?: ListLogsValuesRequestLevelList | undefined;
3941
4303
  /** Filter logs by their type. Types include `app` for application logs, `request` for request logs, and `build` for build logs. You can find the full set of types available for a query by using the `GET /logs/values` endpoint. */
@@ -4091,12 +4453,18 @@ export interface ListPathFilterValuesRequest {
4091
4453
  resource?: string | undefined;
4092
4454
  /** This parameter is deprecated. Please use `resource` instead */
4093
4455
  service?: string | undefined;
4456
+ /** The ID of a project to query. The query covers the resources in the project that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the project. Only one project can be provided. A project that doesn't exist or that you can't access returns a 404. */
4457
+ project?: string | undefined;
4458
+ /** The ID of an environment to query. The query covers the resources in the environment that you can view, so `resource` is optional when this is provided. If `resource` is also provided, the query covers only those resources, and each must belong to the environment. Only one environment can be provided. If `project` is also provided, the environment must belong to that project. An environment that doesn't exist or that you can't access returns a 404. */
4459
+ environment?: string | undefined;
4094
4460
  /** The hosts of HTTP requests to filter to. When multiple host query params are provided, they are ORed together */
4095
4461
  host?: string | undefined;
4096
4462
  /** The status codes of HTTP requests to filter to. When multiple status code query params are provided, they are ORed together */
4097
4463
  statusCode?: string | undefined;
4098
4464
  /** The paths of HTTP requests to filter to. When multiple path query params are provided, they are ORed together */
4099
4465
  path?: string | undefined;
4466
+ /** The region to query when querying by `project` or `environment`. Required when the project's or environment's resources are in more than one region */
4467
+ region?: string | undefined;
4100
4468
  }
4101
4469
  /** A collection of suggested paths to filter by */
4102
4470
  export type ListPathFilterValuesResponseBodyList = Array<string>;
@@ -4384,113 +4752,177 @@ export interface RouteWithCursor {
4384
4752
  }
4385
4753
  export type ListRoutesResponseBodyList = Array<RouteWithCursor>;
4386
4754
  export type ListRoutesResponse = ListRoutesResponseBodyList;
4755
+ /** The sandbox build's current status. */
4387
4756
  export type ListSandboxBuildsRequestStatusItem = "pending" | "running" | "succeeded" | "failed";
4388
4757
  export type ListSandboxBuildsRequestStatusList = Array<ListSandboxBuildsRequestStatusItem | (string & {})>;
4389
4758
  export interface ListSandboxBuildsRequest {
4390
- /** The ID of the sandbox group */
4759
+ /** The ID of the sandbox group. */
4391
4760
  sandboxGroupId: string;
4392
4761
  /** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
4393
4762
  cursor?: string | undefined;
4394
4763
  /** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
4395
4764
  limit?: number | undefined;
4396
- /** Return only builds of the image with this name. */
4765
+ /** Filter for builds with exactly this image name. */
4397
4766
  name?: string | undefined;
4398
- /** Filter by build status. */
4767
+ /** Filter for builds with the specified statuses. */
4399
4768
  status?: ListSandboxBuildsRequestStatusList | undefined;
4400
4769
  }
4401
- /** A sandbox build with a cursor */
4770
+ /** A sandbox build with a cursor for fetching the next page of results. */
4402
4771
  export interface SandboxBuildWithCursor {
4403
4772
  build: Schema24;
4404
4773
  cursor: string;
4405
4774
  }
4406
4775
  export type ListSandboxBuildsResponseBodyList = Array<SandboxBuildWithCursor>;
4407
4776
  export type ListSandboxBuildsResponse = ListSandboxBuildsResponseBodyList;
4777
+ /** The sandbox's current status. */
4408
4778
  export type ListSandboxesRequestStatusItem = "creating" | "running" | "suspending" | "suspended" | "resuming" | "errored" | "terminated";
4409
4779
  export type ListSandboxesRequestStatusList = Array<ListSandboxesRequestStatusItem | (string & {})>;
4410
4780
  export interface ListSandboxesRequest {
4411
4781
  /** The ID of the workspace whose sandboxes to return. */
4412
4782
  ownerId: string;
4413
- /** Return only sandboxes in this group. The group must belong to ownerId. */
4783
+ /** Filter for sandboxes in this group. The group must belong to the workspace specified by `ownerId`. */
4414
4784
  sandboxGroupId?: string | undefined;
4415
- /** Return only sandboxes with exactly this name. Names aren't unique, so this can match more than one sandbox. */
4785
+ /** Filter for sandboxes with exactly this name. Names are not unique, so multiple sandboxes can match. */
4416
4786
  name?: string | undefined;
4417
4787
  /** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
4418
4788
  cursor?: string | undefined;
4419
4789
  /** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
4420
4790
  limit?: number | undefined;
4421
- /** Filter by sandbox status. If omitted, returns sandboxes in every status except `terminated`. To include terminated sandboxes, list `terminated` explicitly. */
4791
+ /** Filter for sandboxes with the specified statuses. By default, returns all statuses except `terminated`. Include `terminated` explicitly to return terminated sandboxes. */
4422
4792
  status?: ListSandboxesRequestStatusList | undefined;
4423
4793
  }
4424
- /** A sandbox with a cursor */
4794
+ /** The sandbox's compute plan. See `sandboxPlan` for known values. */
4795
+ export type _0Plan = _05 | string;
4796
+ /** Destinations the sandbox may reach, present when `type` is `allow-list` and absent otherwise. Each domain may be listed once. */
4797
+ export type _0NetworkPolicyRulesList = Array<Items7>;
4798
+ /** The policy that controls outbound traffic from the sandbox. */
4799
+ export interface _0NetworkPolicy {
4800
+ /** How Render handles outbound traffic from the sandbox. The `allow-list` policy requires `rules`. */
4801
+ type: _06;
4802
+ /** A deprecated alias for `type`, returned with the same value. Read `type` instead. */
4803
+ default?: _06 | undefined;
4804
+ /** Destinations the sandbox may reach, present when `type` is `allow-list` and absent otherwise. Each domain may be listed once. */
4805
+ rules?: _0NetworkPolicyRulesList | undefined;
4806
+ }
4807
+ /** An isolated compute environment for running code, executing commands, and transferring files. */
4808
+ export interface _04 {
4809
+ id: string;
4810
+ /** The label set when the sandbox was created. */
4811
+ name?: string | null | undefined;
4812
+ /** The ID of the sandbox group this sandbox belongs to. */
4813
+ sandboxGroupId?: string | undefined;
4814
+ status: Items6;
4815
+ /** The sandbox's compute plan. See `sandboxPlan` for known values. */
4816
+ plan: _0Plan;
4817
+ /** The policy that controls outbound traffic from the sandbox. */
4818
+ networkPolicy: _0NetworkPolicy;
4819
+ /** The Render region where the sandbox runs. */
4820
+ region: string;
4821
+ /** The maximum time the sandbox can run continuously, in seconds. The sandbox terminates when this time elapses. If the sandbox is suspended and later resumed, this timeout restarts. A value of 0 disables the runtime timeout. */
4822
+ timeoutSeconds: number;
4823
+ /** The number of seconds of inactivity before Render suspends the sandbox. A value of 0 disables automatic idle suspension. */
4824
+ idleTimeoutSeconds: number;
4825
+ /** The timestamp when the sandbox was created, in ISO 8601 format. */
4826
+ createdAt: string;
4827
+ /** The timestamp when the sandbox was terminated, in ISO 8601 format. Null if the sandbox has not been terminated. */
4828
+ terminatedAt?: string | null | undefined;
4829
+ }
4830
+ /** A sandbox with a cursor for fetching the next page of results. */
4425
4831
  export interface SandboxWithCursor {
4426
- sandbox: Schema21;
4832
+ sandbox: _04;
4427
4833
  cursor: string;
4428
4834
  }
4429
4835
  export type ListSandboxesResponseBodyList = Array<SandboxWithCursor>;
4430
4836
  export type ListSandboxesResponse = ListSandboxesResponseBodyList;
4431
4837
  export interface ListSandboxExecutionsRequest {
4432
- /** The ID of the sandbox */
4838
+ /** The ID of the sandbox. */
4433
4839
  sandboxId: string;
4434
- /** The ID of the workspace the sandbox belongs to. Optional: the workspace is determined from the sandbox ID, and this parameter is ignored when supplied. */
4840
+ /** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
4435
4841
  ownerId?: string | undefined;
4436
4842
  /** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
4437
4843
  cursor?: string | undefined;
4438
4844
  /** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
4439
4845
  limit?: number | undefined;
4440
4846
  }
4847
+ /** Whether the execution is a command run or a file transfer. */
4441
4848
  export type SchemaType = "runs" | "files";
4849
+ /** The command run or file transfer operation authorized by the connect token. */
4442
4850
  export type SchemaOperation = "sync" | "stream" | "upload" | "download";
4443
- /** One recorded sandbox execution (a command run or file transfer). `startedAt` is the token provisioning time. `command` may be present while the execution is in flight (recorded at token mint). `stoppedAt` and `exitCode` are absent until a status report or sandbox finalization. */
4444
- export interface Schema23 {
4851
+ /** A record of a command run or file transfer in a sandbox. `startedAt` records when the connect token was created. The command can appear while the execution is running. `stoppedAt` and `exitCode` are omitted until Render receives the result or finalizes the execution when the sandbox stops. */
4852
+ export interface Schema22 {
4445
4853
  id: string;
4446
4854
  sandboxId: string;
4855
+ /** Whether the execution is a command run or a file transfer. */
4447
4856
  type: SchemaType;
4857
+ /** The command run or file transfer operation authorized by the connect token. */
4448
4858
  operation: SchemaOperation;
4449
- /** The execution target. For runs, the truncated command; for file transfers, the target file path. */
4859
+ /** The command run in the sandbox, or the target path for a file transfer. Command text may be redacted or truncated. Omitted if you do not have permission to view execution commands. */
4450
4860
  command?: string | undefined;
4451
- /** The ID of the user the execution token was minted for. */
4861
+ /** The ID of the user the execution token was created for. */
4452
4862
  userId: string;
4863
+ /** The timestamp when the execution token was created, in ISO 8601 format. */
4453
4864
  startedAt: string;
4865
+ /** The timestamp when the execution stopped, in ISO 8601 format. Omitted until a result is available. */
4454
4866
  stoppedAt?: string | undefined;
4867
+ /** The execution exit code. Omitted until a result is available. */
4455
4868
  exitCode?: number | undefined;
4456
4869
  }
4457
- /** A sandbox execution with a cursor */
4870
+ /** A sandbox execution with a cursor for fetching the next page of results. */
4458
4871
  export interface ExecutionWithCursor {
4459
- execution: Schema23;
4872
+ execution: Schema22;
4460
4873
  cursor: string;
4461
4874
  }
4462
4875
  export type ListSandboxExecutionsResponseBodyList = Array<ExecutionWithCursor>;
4463
4876
  export type ListSandboxExecutionsResponse = ListSandboxExecutionsResponseBodyList;
4877
+ export interface ListSandboxGroupCredentialsRequest {
4878
+ /** The ID of the sandbox group. */
4879
+ sandboxGroupId: string;
4880
+ }
4881
+ export type ListSandboxGroupCredentialsResponseBodyList = Array<Schema23>;
4882
+ export type ListSandboxGroupCredentialsResponse = ListSandboxGroupCredentialsResponseBodyList;
4883
+ export interface ListSandboxGroupCredentialVersionsRequest {
4884
+ /** The ID of the sandbox group. */
4885
+ sandboxGroupId: string;
4886
+ /** The ID of the credential. Must be unique within this sandbox group. */
4887
+ credentialId: string;
4888
+ }
4889
+ /** Metadata for a credential version. These endpoints do not return secret values. */
4890
+ export type ListSandboxGroupCredentialVersionsResponseBodyItem = Items9;
4891
+ export type ListSandboxGroupCredentialVersionsResponseBodyList = Array<Items9>;
4892
+ export type ListSandboxGroupCredentialVersionsResponse = ListSandboxGroupCredentialVersionsResponseBodyList;
4464
4893
  export interface ListSandboxGroupsRequest {
4465
4894
  /** The ID of the workspace whose sandbox groups to return. */
4466
4895
  ownerId: string;
4467
4896
  /** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
4468
4897
  cursor?: string | undefined;
4469
- /** Maximum groups to return. */
4898
+ /** The maximum number of sandbox groups to return, between 1 and 100. Defaults to 20. */
4470
4899
  limit?: number | undefined;
4471
4900
  }
4472
- /** A sandbox group with a cursor */
4901
+ /** A sandbox group with a cursor for fetching the next page of results. */
4473
4902
  export interface SandboxGroupWithCursor {
4474
- sandboxGroup: Schema22;
4903
+ sandboxGroup: Schema21;
4475
4904
  cursor: string;
4476
4905
  }
4477
4906
  export type ListSandboxGroupsResponseBodyList = Array<SandboxGroupWithCursor>;
4478
4907
  export type ListSandboxGroupsResponse = ListSandboxGroupsResponseBodyList;
4908
+ /** The snapshot's current status. */
4479
4909
  export type ListSandboxSnapshotsRequestStatusItem = "creating" | "available" | "failed";
4480
4910
  export type ListSandboxSnapshotsRequestStatusList = Array<ListSandboxSnapshotsRequestStatusItem | (string & {})>;
4481
4911
  export interface ListSandboxSnapshotsRequest {
4482
- /** The ID of the sandbox group */
4912
+ /** The ID of the sandbox group. */
4483
4913
  sandboxGroupId: string;
4484
4914
  /** The ID of the workspace whose snapshots to return. */
4485
4915
  ownerId: string;
4916
+ /** Filter for snapshots with exactly this name. Multiple snapshots can share a name; results include each version, newest first. When creating a sandbox with `snapshotName`, Render uses the most recently created snapshot with that name that is `available` and unexpired. */
4917
+ name?: string | undefined;
4486
4918
  /** The position in the result list to start from when fetching paginated results. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
4487
4919
  cursor?: string | undefined;
4488
4920
  /** The maximum number of items to return. For details, see [Pagination](https://api-docs.render.com/reference/pagination). */
4489
4921
  limit?: number | undefined;
4490
- /** Filter by snapshot status. */
4922
+ /** Filter for snapshots with the specified statuses. */
4491
4923
  status?: ListSandboxSnapshotsRequestStatusList | undefined;
4492
4924
  }
4493
- /** A sandbox snapshot with a cursor */
4925
+ /** A sandbox snapshot with a cursor for fetching the next page of results. */
4494
4926
  export interface SandboxSnapshotWithCursor {
4495
4927
  snapshot: Schema25;
4496
4928
  cursor: string;
@@ -4830,7 +5262,7 @@ export interface RecoverPostgresRequest {
4830
5262
  /** The point in time to restore the database to. See `/recovery-info` for restore availability */
4831
5263
  restoreTime?: string | undefined;
4832
5264
  /** Datadog API key to use for monitoring the new database. Defaults to the API key of the original database. Use an empty string to prevent copying of the API key to the new database. */
4833
- datadogApiKey?: string | undefined;
5265
+ datadogApiKey?: string | Redacted.Redacted<string> | undefined;
4834
5266
  /** Datadog region code to use for monitoring the new database. Defaults to the region code of the original database. Use an empty string to prevent copying of the region code to the new database. */
4835
5267
  datadogSite?: string | undefined;
4836
5268
  /** The plan to use for the new database. Defaults to the same plan as the original database. Cannot be a lower tier plan than the original database. */
@@ -4872,6 +5304,14 @@ export interface RestartServiceRequest {
4872
5304
  }
4873
5305
  export interface RestartServiceResponse {
4874
5306
  }
5307
+ export interface RestoreSandboxGroupCredentialRequest {
5308
+ /** The ID of the sandbox group. */
5309
+ sandboxGroupId: string;
5310
+ /** The ID of the credential. Must be unique within this sandbox group. */
5311
+ credentialId: string;
5312
+ /** The ID of a retained credential version to restore as a new current version. */
5313
+ versionId: number;
5314
+ }
4875
5315
  export interface RestoreSnapshotRequest {
4876
5316
  /** The ID of the disk */
4877
5317
  diskId: string;
@@ -4918,6 +5358,20 @@ export interface ScaleServiceRequest {
4918
5358
  }
4919
5359
  export interface ScaleServiceResponse {
4920
5360
  }
5361
+ export interface SignalDeliverFlowRunRequest {
5362
+ /** The ID of the flow run */
5363
+ flowRunId: string;
5364
+ /** The channel to deliver the signal on. The flow receives it by waiting on this channel. Use 1 to 128 letters, digits, spaces, `.`, `_` or `-`. URL-encode spaces, as in `hello%20world`. */
5365
+ channelName: string;
5366
+ /** The JSON value the flow receives with the signal, up to 250 KB once whitespace is removed. Omit it, or send null, to deliver a signal with no value. */
5367
+ payload?: unknown | null | undefined;
5368
+ }
5369
+ export interface SignalDeliverFlowRunResponse {
5370
+ flowRunId: string;
5371
+ channelName: string;
5372
+ /** The ID of the delivered signal. */
5373
+ id: string;
5374
+ }
4921
5375
  /** Positional arguments passed to the flow function */
4922
5376
  export type StartFlowRunRequestInputCase0List = Array<unknown>;
4923
5377
  /** Named parameters passed to the flow function as keyword arguments */
@@ -4956,6 +5410,7 @@ export type SubscribeLogsRequestMethodList = Array<string>;
4956
5410
  export type SubscribeLogsRequestTaskList = Array<string>;
4957
5411
  export type SubscribeLogsRequestTaskRunList = Array<string>;
4958
5412
  export type SubscribeLogsRequestSandboxList = Array<string>;
5413
+ export type SubscribeLogsRequestBuildList = Array<string>;
4959
5414
  export type SubscribeLogsRequestLevelList = Array<string>;
4960
5415
  export type SubscribeLogsRequestTypeList = Array<string>;
4961
5416
  export type SubscribeLogsRequestTextList = Array<string>;
@@ -4969,8 +5424,14 @@ export interface SubscribeLogsRequest {
4969
5424
  endTime?: string | undefined;
4970
5425
  /** The direction to query logs for. Backward will return most recent logs first. Forward will start with the oldest logs in the time range. */
4971
5426
  direction?: SubscribeLogsRequestDirection | (string & {}) | undefined;
4972
- /** Filter logs by their resource. A resource is the id of a server, cronjob, job, postgres, redis, workflow, or sandbox group. */
4973
- resource: SubscribeLogsRequestResourceList;
5427
+ /** Filter logs by their resource. A resource is the id of a server, cronjob, job, postgres, redis, workflow, or sandbox group. Required unless `project` is provided. */
5428
+ resource?: SubscribeLogsRequestResourceList | undefined;
5429
+ /** The ID of a project to return logs for. The query covers the project's services, cron jobs, Postgres databases, and Key Value instances. Combine with `resource` to narrow the query to specific resources in the project. */
5430
+ project?: string | undefined;
5431
+ /** The ID of an environment in the project to return logs for. Requires `project`. */
5432
+ environment?: string | undefined;
5433
+ /** The region to return logs for, such as `oregon`. Requires `project`. Required when the project's or environment's resources are in more than one region. */
5434
+ region?: string | undefined;
4974
5435
  /** Filter logs by the instance they were emitted from. An instance is the id of a specific running server. */
4975
5436
  instance?: SubscribeLogsRequestInstanceList | undefined;
4976
5437
  /** Filter request logs by their host. [Wildcards and regex](https://render.com/docs/logging#wildcards-and-regular-expressions) are supported. */
@@ -4985,6 +5446,8 @@ export interface SubscribeLogsRequest {
4985
5446
  taskRun?: SubscribeLogsRequestTaskRunList | undefined;
4986
5447
  /** Filter logs by sandbox ID. */
4987
5448
  sandbox?: SubscribeLogsRequestSandboxList | undefined;
5449
+ /** Filter logs by build ID, such as a service build or a sandbox image build. */
5450
+ build?: SubscribeLogsRequestBuildList | undefined;
4988
5451
  /** Filter logs by their severity level. [Wildcards and regex](https://render.com/docs/logging#wildcards-and-regular-expressions) are supported. */
4989
5452
  level?: SubscribeLogsRequestLevelList | undefined;
4990
5453
  /** Filter logs by their type. Types include `app` for application logs, `request` for request logs, and `build` for build logs. You can find the full set of types available for a query by using the `GET /logs/values` endpoint. */
@@ -5008,6 +5471,14 @@ export interface SuspendPostgresRequest {
5008
5471
  }
5009
5472
  export interface SuspendPostgresResponse {
5010
5473
  }
5474
+ export interface SuspendSandboxRequest {
5475
+ /** The ID of the sandbox. */
5476
+ sandboxId: string;
5477
+ /** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
5478
+ ownerId?: string | undefined;
5479
+ }
5480
+ export interface SuspendSandboxResponse {
5481
+ }
5011
5482
  export interface SuspendServiceRequest {
5012
5483
  /** The ID of the service */
5013
5484
  serviceId: string;
@@ -5015,15 +5486,30 @@ export interface SuspendServiceRequest {
5015
5486
  export interface SuspendServiceResponse {
5016
5487
  }
5017
5488
  export interface TerminateSandboxRequest {
5018
- /** The ID of the sandbox */
5489
+ /** The ID of the sandbox. */
5019
5490
  sandboxId: string;
5020
- /** The ID of the workspace the sandbox belongs to. Optional: the workspace is determined from the sandbox ID, and this parameter is ignored when supplied. */
5491
+ /** The ID of the workspace the sandbox belongs to. If provided, it must match the sandbox's workspace. If omitted, Render determines the workspace from the sandbox ID. */
5021
5492
  ownerId?: string | undefined;
5022
5493
  }
5023
5494
  export interface TerminateSandboxResponse {
5024
5495
  }
5496
+ /** If `clear`, Render clears the build source's build cache before building. This can be useful if you're experiencing issues with your build. */
5497
+ export type TriggerBuildSourceBuildRequestClearCache = "clear" | "do_not_clear";
5498
+ /** Which linked services the build deploys to: - `autodeploy_only`: every linked service with autodeploy on, including services set to deploy after CI checks pass. Services with autodeploy off do not get a deploy. - `none`: no services. The build runs and deploys nothing. - `custom`: the linked services in `serviceIds`, regardless of their autodeploy setting. */
5499
+ export type TriggerBuildSourceBuildRequestDeployServiceScope = "autodeploy_only" | "none" | "custom";
5500
+ /** IDs of the linked services to deploy to. Required when `serviceScope` is `custom`, and not allowed with the other scopes. You must be authorized to trigger a deploy for each service that you include in this list. */
5501
+ export type TriggerBuildSourceBuildRequestDeployServiceIdsList = Array<string>;
5502
+ export interface TriggerBuildSourceBuildRequestDeploy {
5503
+ /** Which linked services the build deploys to: - `autodeploy_only`: every linked service with autodeploy on, including services set to deploy after CI checks pass. Services with autodeploy off do not get a deploy. - `none`: no services. The build runs and deploys nothing. - `custom`: the linked services in `serviceIds`, regardless of their autodeploy setting. */
5504
+ serviceScope: TriggerBuildSourceBuildRequestDeployServiceScope | (string & {});
5505
+ /** IDs of the linked services to deploy to. Required when `serviceScope` is `custom`, and not allowed with the other scopes. You must be authorized to trigger a deploy for each service that you include in this list. */
5506
+ serviceIds?: TriggerBuildSourceBuildRequestDeployServiceIdsList | undefined;
5507
+ }
5025
5508
  export interface TriggerBuildSourceBuildRequest {
5026
5509
  buildSourceId: string;
5510
+ /** If `clear`, Render clears the build source's build cache before building. This can be useful if you're experiencing issues with your build. */
5511
+ clearCache?: TriggerBuildSourceBuildRequestClearCache | (string & {}) | undefined;
5512
+ deploy?: TriggerBuildSourceBuildRequestDeploy | undefined;
5027
5513
  }
5028
5514
  export type TriggerBuildSourceBuildResponseBuildRunStatus = "created" | "inProgress" | "succeeded" | "failed" | "canceled" | "unknown";
5029
5515
  export type TriggerBuildSourceBuildResponseBuildRunRuntime = "docker" | "elixir" | "go" | "node" | "python" | "ruby" | "rust";
@@ -5038,17 +5524,36 @@ export interface TriggerBuildSourceBuildResponseBuildRun {
5038
5524
  commitUrl?: string | undefined;
5039
5525
  }
5040
5526
  /** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
5041
- export type TriggerBuildSourceBuildResponseImage = SchemaImage;
5527
+ export type TriggerBuildSourceBuildResponseImage = GetBuildSourceBuildResponseImage;
5528
+ export interface TriggerBuildSourceBuildResponseDeploysItem {
5529
+ serviceId: string;
5530
+ deployId: string;
5531
+ }
5532
+ /** The deploys that the build started, one for each service. */
5533
+ export type TriggerBuildSourceBuildResponseDeploysList = Array<TriggerBuildSourceBuildResponseDeploysItem>;
5534
+ /** Why the service did not get a deploy: - `suspended`: the service is suspended. - `deploys_shut_off`: Render has temporarily paused deploys for the service's plan tier. */
5535
+ export type TriggerBuildSourceBuildResponseSkippedServicesItemReason = "suspended" | "deploys_shut_off";
5536
+ export interface TriggerBuildSourceBuildResponseSkippedServicesItem {
5537
+ serviceId: string;
5538
+ /** Why the service did not get a deploy: - `suspended`: the service is suspended. - `deploys_shut_off`: Render has temporarily paused deploys for the service's plan tier. */
5539
+ reason: TriggerBuildSourceBuildResponseSkippedServicesItemReason;
5540
+ }
5541
+ /** Services in `deploy.serviceScope` that did not get a deploy, with the reason for each. The build still runs for the other services. For `autodeploy_only`, suspended services are not listed. */
5542
+ export type TriggerBuildSourceBuildResponseSkippedServicesList = Array<TriggerBuildSourceBuildResponseSkippedServicesItem>;
5042
5543
  export interface TriggerBuildSourceBuildResponse {
5043
5544
  id: string;
5044
5545
  buildSourceId: string;
5045
5546
  /** The Render build run that produced this build. Present when the build source is currently build-based. Mutually exclusive with `image`. */
5046
5547
  buildRun?: TriggerBuildSourceBuildResponseBuildRun | undefined;
5047
5548
  /** Present when the build source is currently image-based. Mutually exclusive with `buildRun`. */
5048
- image?: SchemaImage | undefined;
5549
+ image?: GetBuildSourceBuildResponseImage | undefined;
5049
5550
  createdAt: string;
5050
5551
  updatedAt: string;
5051
5552
  assetsDeletedAt?: string | undefined;
5553
+ /** The deploys that the build started, one for each service. */
5554
+ deploys: TriggerBuildSourceBuildResponseDeploysList;
5555
+ /** Services in `deploy.serviceScope` that did not get a deploy, with the reason for each. The build still runs for the other services. For `autodeploy_only`, suspended services are not listed. */
5556
+ skippedServices: TriggerBuildSourceBuildResponseSkippedServicesList;
5052
5557
  }
5053
5558
  export interface TriggerMaintenanceRequest {
5054
5559
  maintenanceRunID: string;
@@ -5133,7 +5638,7 @@ export interface UpdateBuildSourceRequest {
5133
5638
  image?: UpdateBuildSourceRequestImage | undefined;
5134
5639
  }
5135
5640
  export interface EnvVarValue {
5136
- value: string;
5641
+ value: string | Redacted.Redacted<string>;
5137
5642
  }
5138
5643
  export interface EnvVarGenerateValue {
5139
5644
  generateValue: boolean;
@@ -5166,7 +5671,9 @@ export interface UpdateEnvGroupRequest {
5166
5671
  }
5167
5672
  /** List of serviceIds linked to the envGroup */
5168
5673
  export type UpdateEnvGroupResponseServiceLinksList = Array<EnvGroupLink>;
5674
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
5169
5675
  export type UpdateEnvGroupResponseEnvVarsList = Array<EnvVar>;
5676
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
5170
5677
  export type UpdateEnvGroupResponseSecretFilesList = Array<SecretFile>;
5171
5678
  export interface UpdateEnvGroupResponse {
5172
5679
  id: string;
@@ -5177,8 +5684,10 @@ export interface UpdateEnvGroupResponse {
5177
5684
  /** List of serviceIds linked to the envGroup */
5178
5685
  serviceLinks: UpdateEnvGroupResponseServiceLinksList;
5179
5686
  environmentId?: string | undefined;
5180
- envVars: UpdateEnvGroupResponseEnvVarsList;
5181
- secretFiles: UpdateEnvGroupResponseSecretFilesList;
5687
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
5688
+ envVars?: UpdateEnvGroupResponseEnvVarsList | undefined;
5689
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
5690
+ secretFiles?: UpdateEnvGroupResponseSecretFilesList | undefined;
5182
5691
  }
5183
5692
  export interface UpdateEnvGroupEnvVarRequest {
5184
5693
  /** Filter for resources that belong to an environment group */
@@ -5189,7 +5698,9 @@ export interface UpdateEnvGroupEnvVarRequest {
5189
5698
  }
5190
5699
  /** List of serviceIds linked to the envGroup */
5191
5700
  export type UpdateEnvGroupEnvVarResponseServiceLinksList = Array<EnvGroupLink>;
5701
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
5192
5702
  export type UpdateEnvGroupEnvVarResponseEnvVarsList = Array<EnvVar>;
5703
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
5193
5704
  export type UpdateEnvGroupEnvVarResponseSecretFilesList = Array<SecretFile>;
5194
5705
  export interface UpdateEnvGroupEnvVarResponse {
5195
5706
  id: string;
@@ -5200,17 +5711,21 @@ export interface UpdateEnvGroupEnvVarResponse {
5200
5711
  /** List of serviceIds linked to the envGroup */
5201
5712
  serviceLinks: UpdateEnvGroupEnvVarResponseServiceLinksList;
5202
5713
  environmentId?: string | undefined;
5203
- envVars: UpdateEnvGroupEnvVarResponseEnvVarsList;
5204
- secretFiles: UpdateEnvGroupEnvVarResponseSecretFilesList;
5714
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
5715
+ envVars?: UpdateEnvGroupEnvVarResponseEnvVarsList | undefined;
5716
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
5717
+ secretFiles?: UpdateEnvGroupEnvVarResponseSecretFilesList | undefined;
5205
5718
  }
5206
5719
  export interface UpdateEnvGroupSecretFileRequest {
5207
5720
  envGroupId: string;
5208
5721
  envVarKey: string;
5209
- content?: string | undefined;
5722
+ content?: string | Redacted.Redacted<string> | undefined;
5210
5723
  }
5211
5724
  /** List of serviceIds linked to the envGroup */
5212
5725
  export type UpdateEnvGroupSecretFileResponseServiceLinksList = Array<EnvGroupLink>;
5726
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
5213
5727
  export type UpdateEnvGroupSecretFileResponseEnvVarsList = Array<EnvVar>;
5728
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
5214
5729
  export type UpdateEnvGroupSecretFileResponseSecretFilesList = Array<SecretFile>;
5215
5730
  export interface UpdateEnvGroupSecretFileResponse {
5216
5731
  id: string;
@@ -5221,8 +5736,10 @@ export interface UpdateEnvGroupSecretFileResponse {
5221
5736
  /** List of serviceIds linked to the envGroup */
5222
5737
  serviceLinks: UpdateEnvGroupSecretFileResponseServiceLinksList;
5223
5738
  environmentId?: string | undefined;
5224
- envVars: UpdateEnvGroupSecretFileResponseEnvVarsList;
5225
- secretFiles: UpdateEnvGroupSecretFileResponseSecretFilesList;
5739
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
5740
+ envVars?: UpdateEnvGroupSecretFileResponseEnvVarsList | undefined;
5741
+ /** Omitted if the caller doesn't have the permission to read the environment group's secret values. */
5742
+ secretFiles?: UpdateEnvGroupSecretFileResponseSecretFilesList | undefined;
5226
5743
  }
5227
5744
  export type UpdateEnvironmentRequestIpAllowListList = Array<CidrBlockAndDescription>;
5228
5745
  export interface UpdateEnvironmentRequest {
@@ -5289,7 +5806,7 @@ export interface UpdateOwnerLogStreamRequest {
5289
5806
  /** The endpoint to stream logs to. */
5290
5807
  endpoint?: string | undefined;
5291
5808
  /** The optional token to authenticate the log stream. */
5292
- token?: string | undefined;
5809
+ token?: string | Redacted.Redacted<string> | undefined;
5293
5810
  /** Whether to send logs or drop them. */
5294
5811
  preview: UpdateOwnerLogStreamRequestPreview | (string & {});
5295
5812
  }
@@ -5312,7 +5829,7 @@ export interface UpdatePostgresRequest {
5312
5829
  connectionPool?: string | undefined;
5313
5830
  enableHighAvailability?: boolean | undefined;
5314
5831
  /** The Datadog API key for the Datadog agent to monitor the database. Pass empty string to remove. Restarts Postgres on change. */
5315
- datadogAPIKey?: string | undefined;
5832
+ datadogAPIKey?: string | Redacted.Redacted<string> | undefined;
5316
5833
  /** Datadog region to use for monitoring the new database. Defaults to 'US1'. */
5317
5834
  datadogSite?: string | undefined;
5318
5835
  ipAllowList?: UpdatePostgresRequestIpAllowListList | undefined;
@@ -5328,13 +5845,13 @@ export interface UpdateRegistryCredentialRequest {
5328
5845
  registry: RegistryCredentialRegistry | (string & {});
5329
5846
  name: string;
5330
5847
  username: string;
5331
- authToken: string;
5848
+ authToken: string | Redacted.Redacted<string>;
5332
5849
  }
5333
5850
  export interface UpdateResourceLogStreamRequest {
5334
5851
  /** The ID of the resource (server, cron job, postgres, or redis) to update log stream override information for */
5335
5852
  resourceId: string;
5336
5853
  endpoint?: string | undefined;
5337
- token?: string | undefined;
5854
+ token?: string | Redacted.Redacted<string> | undefined;
5338
5855
  setting: Items3 | (string & {});
5339
5856
  }
5340
5857
  export interface UpdateResourceLogStreamResponse {
@@ -5345,11 +5862,32 @@ export interface UpdateResourceLogStreamResponse {
5345
5862
  setting?: Items3 | undefined;
5346
5863
  }
5347
5864
  export interface UpdateSandboxGroupRequest {
5348
- /** The ID of the sandbox group */
5865
+ /** The ID of the sandbox group. */
5349
5866
  sandboxGroupId: string;
5350
- /** Maximum active sandboxes in the group. The configured value is capped by Render's limit for this workspace. Responses return the effective limit. Lowering the limit does not stop existing sandboxes. */
5867
+ /** The maximum number of active sandboxes allowed in this group. Must be at least 1. Render caps this value at the workspace's limit and returns the effective limit. Lowering the limit does not stop existing sandboxes. */
5351
5868
  concurrencyLimit: number;
5352
5869
  }
5870
+ /** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. An empty list matches any method. Omit to preserve the current filter. */
5871
+ export type UpdateSandboxGroupCredentialRequestMethodsList = Array<string>;
5872
+ /** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. An empty list matches any path. Omit to preserve the current filter. */
5873
+ export type UpdateSandboxGroupCredentialRequestPathsList = Array<string>;
5874
+ export interface UpdateSandboxGroupCredentialRequest {
5875
+ /** The ID of the sandbox group. */
5876
+ sandboxGroupId: string;
5877
+ /** The ID of the credential. Must be unique within this sandbox group. */
5878
+ credentialId: string;
5879
+ /** The replacement secret value, up to 5 KiB (5120 UTF-8 bytes). Requires an admin. Omit to preserve the current value. */
5880
+ value?: string | Redacted.Redacted<string> | undefined;
5881
+ /** The destination hostname to match for credential injection. Must be a public DNS hostname. Render normalizes it to lowercase and matches it exactly. IP addresses, ports, wildcards, and local or internal hostnames are not supported. Omit to preserve the current hostname. */
5882
+ domain?: string | undefined;
5883
+ /** Whether this credential is enabled for injection. Omit to preserve the current setting. */
5884
+ enabled?: boolean | undefined;
5885
+ /** The HTTP methods to match for credential injection. Supported methods are GET, HEAD, POST, PUT, PATCH, DELETE, and OPTIONS, normalized to uppercase. An empty list matches any method. Omit to preserve the current filter. */
5886
+ methods?: UpdateSandboxGroupCredentialRequestMethodsList | undefined;
5887
+ /** The request path patterns to match for credential injection. Each pattern must match the entire absolute path. Use `*` for one nonempty path segment or `**` for one or more segments. Wildcards must occupy whole segments. For example, `/a/*` matches `/a/b`, and `/a/**` also matches `/a/b/c`. Neither matches `/a`. Patterns do not support query strings, fragments, or escaping. Request query strings do not affect matching. An empty list matches any path. Omit to preserve the current filter. */
5888
+ paths?: UpdateSandboxGroupCredentialRequestPathsList | undefined;
5889
+ injection?: Injection | undefined;
5890
+ }
5353
5891
  export type UpdateSecretFilesForBuildSourceRequestBodyList = Array<Items>;
5354
5892
  export interface UpdateSecretFilesForBuildSourceRequest {
5355
5893
  buildSourceId: string;
@@ -5484,7 +6022,7 @@ export interface UpsertOwnerMetricsStreamRequest {
5484
6022
  /** The endpoint URL to stream metrics to */
5485
6023
  url?: string | undefined;
5486
6024
  /** Authentication token for the metrics stream */
5487
- token?: string | undefined;
6025
+ token?: string | Redacted.Redacted<string> | undefined;
5488
6026
  }
5489
6027
  export interface UpsertOwnerMetricsStreamResponse {
5490
6028
  /** The ID of the owner */
@@ -5544,6 +6082,12 @@ export interface ValidateBlueprintResponse {
5544
6082
  /** A summary of the resources that would be created as part of the Blueprint. Only present if `valid` is `true`. */
5545
6083
  plan?: ValidateBlueprintResponsePlan | undefined;
5546
6084
  }
6085
+ export interface Error {
6086
+ id?: string | undefined;
6087
+ message?: string | undefined;
6088
+ /** A stable, machine-readable identifier present on specific errors that clients can handle specially. Each endpoint documents the codes it can return. The errorCode schema lists the full vocabulary of codes. */
6089
+ code?: string | undefined;
6090
+ }
5547
6091
  export type AddDiskError = BadRequest | Forbidden | NotFound | RenderOpError;
5548
6092
  /** Add disk Attach a persistent disk to a web service, private service, or background worker. The service must be redeployed for the disk to be attached. */
5549
6093
  export declare const addDisk: API.OperationMethod<AddDiskRequest, AddDiskResponse, AddDiskError, RenderOpContext>;
@@ -5581,10 +6125,10 @@ export type CancelTaskRunError = BadRequest | Forbidden | NotFound | RenderOpErr
5581
6125
  /** Cancel task run Cancel a running task run with the provided ID. */
5582
6126
  export declare const cancelTaskRun: API.OperationMethod<CancelTaskRunRequest, CancelTaskRunResponse, CancelTaskRunError, RenderOpContext>;
5583
6127
  export type ConnectSandboxFilesError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
5584
- /** Mint a connect token for a sandbox file transfer Mint a short-lived, capability-scoped connect token that authorizes a single file upload or download against the sandbox, and return the sandbox-proxy endpoint to invoke with it. The caller streams the file bytes directly to (or from) that endpoint with the token as a bearer credential. `application/octet-stream` carries a single file and `application/x-tar` a directory archive, with compression carried separately by `Content-Encoding: gzip` in either direction; directory downloads return `application/x-tar` with `Content-Encoding: gzip`. The token is bound to this sandbox, operation, and path, and expires shortly after issuance. 409 with `code: sandbox_not_running` if the sandbox is terminated or errored, or `code: sandbox_group_suspended` if the sandbox group is suspended. */
6128
+ /** Mint a connect token for a sandbox file transfer Create a short-lived connect token for a file upload or download. Transfer the file directly to or from the URL in the response, using the token as the bearer token. The token authorizes only the specified sandbox, operation, and path. Its expiration time is returned in `expiresAt`. Use `application/octet-stream` for a single file or `application/x-tar` for a directory archive. For gzip compression, also set `Content-Encoding: gzip`. Directory downloads return `application/x-tar` with `Content-Encoding: gzip`. */
5585
6129
  export declare const connectSandboxFiles: API.OperationMethod<ConnectSandboxFilesRequest, Schema26, ConnectSandboxFilesError, RenderOpContext>;
5586
6130
  export type ConnectSandboxRunError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
5587
- /** Create a connect token for a sandbox run Mint a short-lived, capability-scoped connect token that authorizes a single run operation against the specified sandbox. The response contains the sandbox URI where the caller sends the command with the token as a bearer credential. 409 with `code: sandbox_not_running` if the sandbox is terminated or errored, or `code: sandbox_group_suspended` if the sandbox group is suspended. */
6131
+ /** Create a connect token for a sandbox run Create a short-lived connect token for a command run in this sandbox. Send the command to the URL in the response, using the token as the bearer token. The token authorizes only the requested operation. */
5588
6132
  export declare const connectSandboxRun: API.OperationMethod<ConnectSandboxRunRequest, ConnectSandboxRunResponse, ConnectSandboxRunError, RenderOpContext>;
5589
6133
  export type CreateBuildSourceError = BadRequest | Forbidden | NotFound | RenderOpError;
5590
6134
  /** Create a build source Create a build source that can be linked to one or more services in the same workspace. Exactly one of `git` or `image` must be set: - `git`: the build source is git-backed. The code is built in the requested `region` (defaults to `oregon`). - `image`: the build source is image-backed. It points at an existing image in an external registry; no build is performed. `envVars`, `secretFiles`, and `envGroupIds` set the build-time environment and are only valid for `git` sources; the request fails if any are provided with `image`. */
@@ -5623,16 +6167,19 @@ export type CreateRegistryCredentialError = BadRequest | Conflict | RenderOpErro
5623
6167
  /** Create registry credential Create a new registry credential. */
5624
6168
  export declare const createRegistryCredential: API.OperationMethod<CreateRegistryCredentialRequest, RegistryCredential, CreateRegistryCredentialError, RenderOpContext>;
5625
6169
  export type CreateSandboxError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
5626
- /** Create sandbox Create a sandbox. Returns the initial sandbox snapshot synchronously. With `snapshotId`: 404 with `code: snapshot_not_found` if the snapshot does not exist; 409 with `code: snapshot_not_available` if it is not `available`, or `code: snapshot_plan_mismatch` if a `runtime` snapshot was requested with a different `plan`. With `snapshotName`: 400 with `code: invalid_snapshot_name` if the name is malformed, 400 without a code if `snapshotId` is also set, and 404 with `code: snapshot_not_found` if no `available` snapshot in the group has the name. The 409 cases above apply to the resolved snapshot. 400 with `code: invalid_sandbox_name` if `name` is longer than 64 characters or starts with `sbx-`. 409 with `code: sandbox_group_suspended` if the sandbox group is suspended. 400 with `code: sandbox_group_limit_reached` if the owner has no default sandbox group and is already at its sandbox group limit. 400 with `code: invalid_sandbox_plan` if `plan` is not one the API currently accepts. The message lists the accepted plans. 400 with `code: invalid_timeout_seconds` if `timeoutSeconds` is below 0 or above 2592000 (30 days). */
6170
+ /** Create sandbox Create a sandbox and return its initial state. The sandbox might still be starting when the response is returned. To use a saved snapshot or custom image, provide `snapshotId`, `snapshotName`, `buildId`, or `buildName`. */
5627
6171
  export declare const createSandbox: API.OperationMethod<CreateSandboxRequest, CreateSandboxResponse, CreateSandboxError, RenderOpContext>;
5628
6172
  export type CreateSandboxBuildError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
5629
- /** Create sandbox build Starts converting an OCI image into a sandbox image, and returns the build without waiting for it. Poll the build until it `succeeded` or `failed`, then pass its ID as `buildId` to create a sandbox. A request for a name and image digest the group already has, or is building, returns that build. 400 with `code: invalid_sandbox_group_id` if `sandboxGroupId` is not a well-formed `sbg-` ID, or a message if the image is invalid or its registry can't serve it. 409 with `code: sandbox_group_suspended` if the sandbox group is suspended. 429 if the group already has as many builds pending or running as its limit allows. The message includes the limit. */
6173
+ /** Create sandbox build Start converting an OCI container image into an image that sandboxes can use. New builds run asynchronously. Retrieve the build until its status is `succeeded` or `failed`. After it succeeds, provide its ID as `buildId` when creating a sandbox. If the group already has a pending, running, or succeeded build for the same name and image digest, Render returns that build. Retrying a failed build starts a new build. */
5630
6174
  export declare const createSandboxBuild: API.OperationMethod<CreateSandboxBuildRequest, CreateSandboxBuildResponse, CreateSandboxBuildError, RenderOpContext>;
5631
6175
  export type CreateSandboxGroupError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
5632
- /** Create sandbox group Create a sandbox group. The workspace's first group becomes its default. Returns 409 if the `name` is taken. */
6176
+ /** Create sandbox group Create a sandbox group. The first group in a workspace becomes its default. */
5633
6177
  export declare const createSandboxGroup: API.OperationMethod<CreateSandboxGroupRequest, CreateSandboxGroupResponse, CreateSandboxGroupError, RenderOpContext>;
6178
+ export type CreateSandboxGroupCredentialError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
6179
+ /** Create sandbox group credential Configure a credential for injection into matching outbound HTTPS requests from sandboxes in this group. Requires an admin. You assign the credential ID. Each group supports up to 25 credentials. Current credential settings and secret values have a combined serialized size limit of 200 KiB (204800 bytes). Render retains the current configuration and three distinct prior configurations per credential, with a total storage limit of 1 MiB including version metadata. The response confirms the configuration was saved. It does not confirm that credential injection is active for a particular sandbox. */
6180
+ export declare const createSandboxGroupCredential: API.OperationMethod<CreateSandboxGroupCredentialRequest, CreateSandboxGroupCredentialResponse, CreateSandboxGroupCredentialError, RenderOpContext>;
5634
6181
  export type CreateSandboxSnapshotError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
5635
- /** Create sandbox snapshot Capture a snapshot of a running sandbox. Returns 202 with the snapshot in `creating`. Poll until it is `available` or `failed`. The sandbox keeps running; a runtime capture pauses it briefly. 400 with `code: invalid_snapshot_name` if `name` is malformed. 409 with `code: sandbox_not_running` if the sandbox is not `running`, or `code: sandbox_group_suspended` if the sandbox group is suspended. */
6182
+ /** Create sandbox snapshot Capture a snapshot of a running sandbox. Returns HTTP 202 with the snapshot in `creating` status. Retrieve the snapshot until its status is `available` or `failed`. The sandbox continues running, with a brief pause when capturing a runtime snapshot. */
5636
6183
  export declare const createSandboxSnapshot: API.OperationMethod<CreateSandboxSnapshotRequest, CreateSandboxSnapshotResponse, CreateSandboxSnapshotError, RenderOpContext>;
5637
6184
  export type CreateServiceError = BadRequest | NotFound | Conflict | RenderOpError;
5638
6185
  /** Create service Creates a new Render service in the specified workspace with the specified configuration. 400 with `code: build_source_region_mismatch` if `buildSourceId` names a git-backed Build Source in a different region than the service. */
@@ -5715,8 +6262,14 @@ export declare const deleteResourceLogStream: API.OperationMethod<DeleteResource
5715
6262
  export type DeleteRouteError = Forbidden | NotFound | RenderOpError;
5716
6263
  /** Delete redirect/rewrite rule Delete a particular redirect/rewrite rule for a particular service. */
5717
6264
  export declare const deleteRoute: API.OperationMethod<DeleteRouteRequest, DeleteRouteResponse, DeleteRouteError, RenderOpContext>;
6265
+ export type DeleteSandboxBuildError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
6266
+ /** Delete sandbox build Delete a build of a sandbox image. The build no longer appears in lists and cannot be retrieved or used to create sandboxes, including by image name. Repeated requests to delete the build return HTTP 204. */
6267
+ export declare const deleteSandboxBuild: API.OperationMethod<DeleteSandboxBuildRequest, DeleteSandboxBuildResponse, DeleteSandboxBuildError, RenderOpContext>;
6268
+ export type DeleteSandboxGroupCredentialError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
6269
+ /** Delete sandbox group credential Delete a credential from the sandbox group. Requires an admin. Repeated delete requests are accepted, including if the credential is already absent. */
6270
+ export declare const deleteSandboxGroupCredential: API.OperationMethod<DeleteSandboxGroupCredentialRequest, DeleteSandboxGroupCredentialResponse, DeleteSandboxGroupCredentialError, RenderOpContext>;
5718
6271
  export type DeleteSandboxSnapshotError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
5719
- /** Delete sandbox snapshot Idempotent: returns 204 if the snapshot is already deleted or expired. Sandboxes created from the snapshot are not affected. A snapshot that belongs to another sandbox group returns 404. 400 with `code: invalid_sandbox_group_id` when `sandboxGroupId` is malformed. 400 with `code: invalid_snapshot_id` when `snapshotId` is malformed. 409 with `code: snapshot_creating` while the capture is in progress. */
6272
+ /** Delete sandbox snapshot Delete a snapshot. Sandboxes created from it are not affected. Returns HTTP 204 if the snapshot is already deleted or expired. */
5720
6273
  export declare const deleteSandboxSnapshot: API.OperationMethod<DeleteSandboxSnapshotRequest, DeleteSandboxSnapshotResponse, DeleteSandboxSnapshotError, RenderOpContext>;
5721
6274
  export type DeleteSecretFileError = Forbidden | NotFound | RenderOpError;
5722
6275
  /** Delete secret file Delete a particular secret file from a particular service. This only applies to secret files set directly on the service, not to secret files in a linked environment group. */
@@ -5739,13 +6292,13 @@ export declare const disconnectBlueprint: API.OperationMethod<DisconnectBlueprin
5739
6292
  export type FailoverPostgresError = BadRequest | Forbidden | NotFound | RenderOpError;
5740
6293
  /** Failover Postgres instance Failover a [highly available Postgres](https://render.com/docs/postgresql-high-availability) instance. */
5741
6294
  export declare const failoverPostgres: API.OperationMethod<FailoverPostgresRequest, FailoverPostgresResponse, FailoverPostgresError, RenderOpContext>;
5742
- export type GetActiveConnectionsError = BadRequest | RenderOpError;
6295
+ export type GetActiveConnectionsError = BadRequest | NotFound | RenderOpError;
5743
6296
  /** Get active connection count Get the number of active connections for one or more Postgres databases or Redis instances. */
5744
6297
  export declare const getActiveConnections: API.OperationMethod<GetActiveConnectionsRequest, GetActiveConnectionsResponse, GetActiveConnectionsError, RenderOpContext>;
5745
- export type GetBandwidthError = BadRequest | RenderOpError;
6298
+ export type GetBandwidthError = BadRequest | NotFound | RenderOpError;
5746
6299
  /** Get bandwidth usage Get bandwidth usage for one or more resources. */
5747
6300
  export declare const getBandwidth: API.OperationMethod<GetBandwidthRequest, GetBandwidthResponse, GetBandwidthError, RenderOpContext>;
5748
- export type GetBandwidthSourcesError = BadRequest | RenderOpError;
6301
+ export type GetBandwidthSourcesError = BadRequest | NotFound | RenderOpError;
5749
6302
  /** Get bandwidth usage breakdown by traffic source Get bandwidth usage for one or more resources broken down by traffic source (HTTP, WebSocket, NAT, PrivateLink). Returns hourly data points with traffic source breakdown. Traffic source data is available from March 9, 2025 onwards. Queries for earlier dates will return a 400 Bad Request error. */
5750
6303
  export declare const getBandwidthSources: API.OperationMethod<GetBandwidthSourcesRequest, GetBandwidthSourcesResponse, GetBandwidthSourcesError, RenderOpContext>;
5751
6304
  export type GetBlueprintError = Forbidden | NotFound | RenderOpError;
@@ -5756,20 +6309,20 @@ export type GetBuildSourceError = BadRequest | NotFound | RenderOpError;
5756
6309
  export declare const getBuildSource: API.OperationMethod<GetBuildSourceRequest, Schema12, GetBuildSourceError, RenderOpContext>;
5757
6310
  export type GetBuildSourceBuildError = Forbidden | NotFound | RenderOpError;
5758
6311
  /** Retrieve a build Retrieve a build of a build source, including its status. */
5759
- export declare const getBuildSourceBuild: API.OperationMethod<GetBuildSourceBuildRequest, Schema13, GetBuildSourceBuildError, RenderOpContext>;
6312
+ export declare const getBuildSourceBuild: API.OperationMethod<GetBuildSourceBuildRequest, GetBuildSourceBuildResponse, GetBuildSourceBuildError, RenderOpContext>;
5760
6313
  export type GetBuildSourceEnvVarError = Forbidden | NotFound | RenderOpError;
5761
6314
  /** Retrieve environment variable Retrieve a particular environment variable for a particular build source. This only applies to environment variables set directly on the build source, not to environment variables in a linked environment group. */
5762
6315
  export declare const getBuildSourceEnvVar: API.OperationMethod<GetBuildSourceEnvVarRequest, EnvVar, GetBuildSourceEnvVarError, RenderOpContext>;
5763
6316
  export type GetBuildSourceSecretFileError = Forbidden | NotFound | RenderOpError;
5764
6317
  /** Retrieve secret file Retrieve a particular secret file for a particular build source. This only applies to secret files set directly on the build source, not to secret files in a linked environment group. */
5765
6318
  export declare const getBuildSourceSecretFile: API.OperationMethod<GetBuildSourceSecretFileRequest, SecretFile, GetBuildSourceSecretFileError, RenderOpContext>;
5766
- export type GetCpuError = BadRequest | RenderOpError;
6319
+ export type GetCpuError = BadRequest | NotFound | RenderOpError;
5767
6320
  /** Get CPU usage Get CPU usage for one or more resources. */
5768
6321
  export declare const getCpu: API.OperationMethod<GetCpuRequest, GetCpuResponse, GetCpuError, RenderOpContext>;
5769
- export type GetCpuLimitError = BadRequest | RenderOpError;
6322
+ export type GetCpuLimitError = BadRequest | NotFound | RenderOpError;
5770
6323
  /** Get CPU limit Get the CPU limit for one or more resources. */
5771
6324
  export declare const getCpuLimit: API.OperationMethod<GetCpuLimitRequest, GetCpuLimitResponse, GetCpuLimitError, RenderOpContext>;
5772
- export type GetCpuTargetError = BadRequest | RenderOpError;
6325
+ export type GetCpuTargetError = BadRequest | NotFound | RenderOpError;
5773
6326
  /** Get CPU target Get CPU target for one or more resources. */
5774
6327
  export declare const getCpuTarget: API.OperationMethod<GetCpuTargetRequest, GetCpuTargetResponse, GetCpuTargetError, RenderOpContext>;
5775
6328
  export type GetCustomDomainError = BadRequest | Forbidden | NotFound | RenderOpError;
@@ -5784,10 +6337,10 @@ export declare const getDeploy: API.OperationMethod<GetDeployRequest, Deploy, Ge
5784
6337
  export type GetDiskError = Forbidden | NotFound | RenderOpError;
5785
6338
  /** Retrieve disk Retrieve the persistent disk with the provided ID. */
5786
6339
  export declare const getDisk: API.OperationMethod<GetDiskRequest, Schema2, GetDiskError, RenderOpContext>;
5787
- export type GetDiskCapacityError = BadRequest | RenderOpError;
6340
+ export type GetDiskCapacityError = BadRequest | NotFound | RenderOpError;
5788
6341
  /** Get disk capacity Get persistent disk capacity for one or more resources. */
5789
6342
  export declare const getDiskCapacity: API.OperationMethod<GetDiskCapacityRequest, GetDiskCapacityResponse, GetDiskCapacityError, RenderOpContext>;
5790
- export type GetDiskUsageError = BadRequest | RenderOpError;
6343
+ export type GetDiskUsageError = BadRequest | NotFound | RenderOpError;
5791
6344
  /** Get disk usage Get persistent disk usage for one or more resources. */
5792
6345
  export declare const getDiskUsage: API.OperationMethod<GetDiskUsageRequest, GetDiskUsageResponse, GetDiskUsageError, RenderOpContext>;
5793
6346
  export type GetEnvGroupError = BadRequest | NotFound | RenderOpError;
@@ -5823,13 +6376,16 @@ export declare const getFlowRun: API.OperationMethod<GetFlowRunRequest, GetFlowR
5823
6376
  export type GetFlowRunStepError = BadRequest | Forbidden | NotFound | RenderOpError;
5824
6377
  /** Retrieve flow run step Retrieve a single step of a flow run, including its input, result and error. A sequence number can cover more than one step, so pass the `stepKey` the step listing reported to address one of those. */
5825
6378
  export declare const getFlowRunStep: API.OperationMethod<GetFlowRunStepRequest, GetFlowRunStepResponse, GetFlowRunStepError, RenderOpContext>;
5826
- export type GetHttpLatencyError = BadRequest | RenderOpError;
6379
+ export type GetFlowRunStepAttemptError = BadRequest | Forbidden | NotFound | RenderOpError;
6380
+ /** Retrieve recorded failed step attempt */
6381
+ export declare const getFlowRunStepAttempt: API.OperationMethod<GetFlowRunStepAttemptRequest, GetFlowRunStepAttemptResponse, GetFlowRunStepAttemptError, RenderOpContext>;
6382
+ export type GetHttpLatencyError = BadRequest | NotFound | RenderOpError;
5827
6383
  /** Get HTTP latency Get HTTP latency metrics for one or more resources. */
5828
6384
  export declare const getHttpLatency: API.OperationMethod<GetHttpLatencyRequest, GetHttpLatencyResponse, GetHttpLatencyError, RenderOpContext>;
5829
- export type GetHttpRequestsError = BadRequest | RenderOpError;
6385
+ export type GetHttpRequestsError = BadRequest | NotFound | RenderOpError;
5830
6386
  /** Get HTTP request count Get the HTTP request count for one or more resources. */
5831
6387
  export declare const getHttpRequests: API.OperationMethod<GetHttpRequestsRequest, GetHttpRequestsResponse, GetHttpRequestsError, RenderOpContext>;
5832
- export type GetInstanceCountError = BadRequest | RenderOpError;
6388
+ export type GetInstanceCountError = BadRequest | NotFound | RenderOpError;
5833
6389
  /** Get instance count Get the instance count for one or more resources. */
5834
6390
  export declare const getInstanceCount: API.OperationMethod<GetInstanceCountRequest, GetInstanceCountResponse, GetInstanceCountError, RenderOpContext>;
5835
6391
  export type GetJobError = BadRequest | NotFound | RenderOpError;
@@ -5844,13 +6400,13 @@ export declare const getKeyValueConnectionInfo: API.OperationMethod<GetKeyValueC
5844
6400
  export type GetMaintenanceError = BadRequest | NotFound | RenderOpError;
5845
6401
  /** Retrieve maintenance run Retrieve the maintenance run with the provided ID. */
5846
6402
  export declare const getMaintenance: API.OperationMethod<GetMaintenanceRequest, GetMaintenanceResponse, GetMaintenanceError, RenderOpContext>;
5847
- export type GetMemoryError = BadRequest | RenderOpError;
6403
+ export type GetMemoryError = BadRequest | NotFound | RenderOpError;
5848
6404
  /** Get memory usage Get memory usage for one or more resources. */
5849
6405
  export declare const getMemory: API.OperationMethod<GetMemoryRequest, GetMemoryResponse, GetMemoryError, RenderOpContext>;
5850
- export type GetMemoryLimitError = BadRequest | RenderOpError;
6406
+ export type GetMemoryLimitError = BadRequest | NotFound | RenderOpError;
5851
6407
  /** Get memory limit Get the memory limit for one or more resources. */
5852
6408
  export declare const getMemoryLimit: API.OperationMethod<GetMemoryLimitRequest, GetMemoryLimitResponse, GetMemoryLimitError, RenderOpContext>;
5853
- export type GetMemoryTargetError = BadRequest | RenderOpError;
6409
+ export type GetMemoryTargetError = BadRequest | NotFound | RenderOpError;
5854
6410
  /** Get memory target Get memory target for one or more resources. */
5855
6411
  export declare const getMemoryTarget: API.OperationMethod<GetMemoryTargetRequest, GetMemoryTargetResponse, GetMemoryTargetError, RenderOpContext>;
5856
6412
  export type GetOwnerError = NotFound | RenderOpError;
@@ -5883,7 +6439,7 @@ export declare const getProject: API.OperationMethod<GetProjectRequest, Project,
5883
6439
  export type GetRegistryCredentialError = Forbidden | NotFound | RenderOpError;
5884
6440
  /** Retrieve registry credential Retrieve the registry credential with the provided ID. */
5885
6441
  export declare const getRegistryCredential: API.OperationMethod<GetRegistryCredentialRequest, RegistryCredential, GetRegistryCredentialError, RenderOpContext>;
5886
- export type GetReplicationLagError = BadRequest | RenderOpError;
6442
+ export type GetReplicationLagError = BadRequest | NotFound | RenderOpError;
5887
6443
  /** Get replica lag Get seconds of replica lag of a Postgres replica. */
5888
6444
  export declare const getReplicationLag: API.OperationMethod<GetReplicationLagRequest, GetReplicationLagResponse, GetReplicationLagError, RenderOpContext>;
5889
6445
  export type GetResourceLogStreamError = BadRequest | Forbidden | NotFound | RenderOpError;
@@ -5891,18 +6447,21 @@ export type GetResourceLogStreamError = BadRequest | Forbidden | NotFound | Rend
5891
6447
  export declare const getResourceLogStream: API.OperationMethod<GetResourceLogStreamRequest, GetResourceLogStreamResponse, GetResourceLogStreamError, RenderOpContext>;
5892
6448
  export type GetSandboxError = Forbidden | NotFound | RenderOpError;
5893
6449
  /** Retrieve sandbox Retrieve the sandbox with the provided ID. */
5894
- export declare const getSandbox: API.OperationMethod<GetSandboxRequest, Schema21, GetSandboxError, RenderOpContext>;
6450
+ export declare const getSandbox: API.OperationMethod<GetSandboxRequest, GetSandboxResponse, GetSandboxError, RenderOpContext>;
5895
6451
  export type GetSandboxBuildError = BadRequest | Forbidden | NotFound | RenderOpError;
5896
- /** Retrieve sandbox build One build by ID. 404 with `code: build_not_found` if the build doesn't exist or belongs to another sandbox group. 400 with `code: invalid_sandbox_group_id` if `sandboxGroupId` is not a well-formed `sbg-` ID, or `invalid build ID` if `buildId` is not a well-formed `sbb-` ID. */
6452
+ /** Retrieve sandbox build Retrieve a build by ID. */
5897
6453
  export declare const getSandboxBuild: API.OperationMethod<GetSandboxBuildRequest, Schema24, GetSandboxBuildError, RenderOpContext>;
5898
6454
  export type GetSandboxExecutionError = Forbidden | NotFound | RenderOpError;
5899
6455
  /** Retrieve execution Retrieve one execution record for the sandbox. */
5900
6456
  export declare const getSandboxExecution: API.OperationMethod<GetSandboxExecutionRequest, GetSandboxExecutionResponse, GetSandboxExecutionError, RenderOpContext>;
5901
6457
  export type GetSandboxGroupError = BadRequest | Forbidden | NotFound | RenderOpError;
5902
- /** Retrieve sandbox group Retrieve a sandbox group. 400 `invalid_sandbox_group_id` for a malformed ID. */
5903
- export declare const getSandboxGroup: API.OperationMethod<GetSandboxGroupRequest, Schema22, GetSandboxGroupError, RenderOpContext>;
6458
+ /** Retrieve sandbox group Retrieve a sandbox group by ID. */
6459
+ export declare const getSandboxGroup: API.OperationMethod<GetSandboxGroupRequest, Schema21, GetSandboxGroupError, RenderOpContext>;
6460
+ export type GetSandboxGroupCredentialError = BadRequest | Forbidden | NotFound | RenderOpError;
6461
+ /** Retrieve sandbox group credential Retrieve the settings and metadata for a credential in this sandbox group. These endpoints do not return secret values, including to admins. */
6462
+ export declare const getSandboxGroupCredential: API.OperationMethod<GetSandboxGroupCredentialRequest, Schema23, GetSandboxGroupCredentialError, RenderOpContext>;
5904
6463
  export type GetSandboxSnapshotError = BadRequest | Forbidden | NotFound | RenderOpError;
5905
- /** Retrieve sandbox snapshot One snapshot by ID. Deleted and expired snapshots return 404. A snapshot that belongs to another sandbox group returns 404. 400 with `code: invalid_sandbox_group_id` if `sandboxGroupId` is not a well-formed `sbg-` ID, or `code: invalid_snapshot_id` if `snapshotId` is not a well-formed `snp-` ID. */
6464
+ /** Retrieve sandbox snapshot Retrieve a snapshot by ID. */
5906
6465
  export declare const getSandboxSnapshot: API.OperationMethod<GetSandboxSnapshotRequest, Schema25, GetSandboxSnapshotError, RenderOpContext>;
5907
6466
  export type GetSecretFileError = Forbidden | NotFound | RenderOpError;
5908
6467
  /** Retrieve secret file Retrieve a particular secret file for a particular service. This only applies to secret files set directly on the service, not to secret files in a linked environment group. */
@@ -5946,7 +6505,7 @@ export declare const linkEnvGroupToBuildSource: API.OperationMethod<LinkEnvGroup
5946
6505
  export type LinkServiceToEnvGroupError = BadRequest | NotFound | RenderOpError;
5947
6506
  /** Link service Link a particular service to a particular environment group. The linked service will have access to the environment variables and secret files in the group. */
5948
6507
  export declare const linkServiceToEnvGroup: API.OperationMethod<LinkServiceToEnvGroupRequest, LinkServiceToEnvGroupResponse, LinkServiceToEnvGroupError, RenderOpContext>;
5949
- export type ListApplicationFilterValuesError = BadRequest | RenderOpError;
6508
+ export type ListApplicationFilterValuesError = BadRequest | NotFound | RenderOpError;
5950
6509
  /** List queryable instance values List instance values to filter by for one or more resources. */
5951
6510
  export declare const listApplicationFilterValues: API.OperationMethod<ListApplicationFilterValuesRequest, ListApplicationFilterValuesResponse, ListApplicationFilterValuesError, RenderOpContext>;
5952
6511
  export type ListBlueprintsError = Forbidden | NotFound | RenderOpError;
@@ -5994,7 +6553,7 @@ export declare const listFlows: API.OperationMethod<ListFlowsRequest, ListFlowsR
5994
6553
  export type ListHeadersError = Forbidden | NotFound | RenderOpError;
5995
6554
  /** List header rules List a particular service's response header rules that match the provided filters. If no filters are provided, all rules for the service are returned. */
5996
6555
  export declare const listHeaders: API.OperationMethod<ListHeadersRequest, ListHeadersResponse, ListHeadersError, RenderOpContext>;
5997
- export type ListHttpFilterValuesError = BadRequest | RenderOpError;
6556
+ export type ListHttpFilterValuesError = BadRequest | NotFound | RenderOpError;
5998
6557
  /** List queryable status codes and host values List status codes and host values to filter by for one or more resources. */
5999
6558
  export declare const listHttpFilterValues: API.OperationMethod<ListHttpFilterValuesRequest, ListHttpFilterValuesResponse, ListHttpFilterValuesError, RenderOpContext>;
6000
6559
  export type ListInstancesError = NotFound | RenderOpError;
@@ -6027,7 +6586,7 @@ export declare const listOwnerAuditLogs: API.OperationMethod<ListOwnerAuditLogsR
6027
6586
  export type ListOwnersError = RenderOpError;
6028
6587
  /** List workspaces List the workspaces that your API key has access to, optionally filtered by name or owner email address. */
6029
6588
  export declare const listOwners: API.OperationMethod<ListOwnersRequest, ListOwnersResponse, ListOwnersError, RenderOpContext>;
6030
- export type ListPathFilterValuesError = BadRequest | RenderOpError;
6589
+ export type ListPathFilterValuesError = BadRequest | NotFound | RenderOpError;
6031
6590
  /** List queryable paths The path suggestions are based on the most recent 5000 log lines as filtered by the provided filters */
6032
6591
  export declare const listPathFilterValues: API.OperationMethod<ListPathFilterValuesRequest, ListPathFilterValuesResponse, ListPathFilterValuesError, RenderOpContext>;
6033
6592
  export type ListPostgresError = BadRequest | NotFound | Conflict | RenderOpError;
@@ -6064,19 +6623,25 @@ export type ListRoutesError = Forbidden | NotFound | RenderOpError;
6064
6623
  /** List redirect/rewrite rules List a particular service's redirect/rewrite rules that match the provided filters. If no filters are provided, all rules for the service are returned. */
6065
6624
  export declare const listRoutes: API.OperationMethod<ListRoutesRequest, ListRoutesResponse, ListRoutesError, RenderOpContext>;
6066
6625
  export type ListSandboxBuildsError = BadRequest | Forbidden | NotFound | RenderOpError;
6067
- /** List sandbox builds Builds in a sandbox group, newest first. 400 with `code: invalid_sandbox_group_id` if `sandboxGroupId` is not a well-formed `sbg-` ID, `code: invalid_status` for a status outside the build status vocabulary, `code: invalid_cursor` for a malformed cursor, or `code: invalid_limit` for a limit outside 1 to 100. */
6626
+ /** List sandbox builds List builds in a sandbox group, newest first. */
6068
6627
  export declare const listSandboxBuilds: API.OperationMethod<ListSandboxBuildsRequest, ListSandboxBuildsResponse, ListSandboxBuildsError, RenderOpContext>;
6069
6628
  export type ListSandboxesError = BadRequest | Forbidden | NotFound | RenderOpError;
6070
- /** List sandboxes List sandboxes for a single workspace. Sandboxes are scoped to the region of their workspace's sandbox group, so one workspace must be named per request. */
6629
+ /** List sandboxes List sandboxes in a workspace. Each request must specify one workspace. Sandboxes run in the region of their sandbox group. */
6071
6630
  export declare const listSandboxes: API.OperationMethod<ListSandboxesRequest, ListSandboxesResponse, ListSandboxesError, RenderOpContext>;
6072
6631
  export type ListSandboxExecutionsError = BadRequest | Forbidden | NotFound | RenderOpError;
6073
6632
  /** List executions List execution records for the sandbox, ordered by start time, newest first. */
6074
6633
  export declare const listSandboxExecutions: API.OperationMethod<ListSandboxExecutionsRequest, ListSandboxExecutionsResponse, ListSandboxExecutionsError, RenderOpContext>;
6634
+ export type ListSandboxGroupCredentialsError = BadRequest | Forbidden | NotFound | RenderOpError;
6635
+ /** List sandbox group credentials List credentials in the sandbox group, sorted by credential ID. Returns credential settings and metadata. These endpoints do not return secret values, including to admins. */
6636
+ export declare const listSandboxGroupCredentials: API.OperationMethod<ListSandboxGroupCredentialsRequest, ListSandboxGroupCredentialsResponse, ListSandboxGroupCredentialsError, RenderOpContext>;
6637
+ export type ListSandboxGroupCredentialVersionsError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
6638
+ /** List sandbox credential versions List retained credential versions, newest version ID first. Versions with identical settings and secret values share a fingerprint. Render retains the current configuration and the three distinct prior configurations most recently active. When an older configuration is removed, all versions that refer to it are also removed. These endpoints do not return secret values. */
6639
+ export declare const listSandboxGroupCredentialVersions: API.OperationMethod<ListSandboxGroupCredentialVersionsRequest, ListSandboxGroupCredentialVersionsResponse, ListSandboxGroupCredentialVersionsError, RenderOpContext>;
6075
6640
  export type ListSandboxGroupsError = BadRequest | Forbidden | NotFound | RenderOpError;
6076
- /** List sandbox groups List sandbox groups for a single workspace, newest first. The default page size is 20 and the maximum is 100. Use the last item's cursor to fetch the next page, until it is empty. */
6641
+ /** List sandbox groups List sandbox groups in a workspace, newest first. Returns up to 20 groups by default, with a maximum of 100. To fetch the next page, pass the last result's cursor as `cursor`. Continue until the response is empty. */
6077
6642
  export declare const listSandboxGroups: API.OperationMethod<ListSandboxGroupsRequest, ListSandboxGroupsResponse, ListSandboxGroupsError, RenderOpContext>;
6078
6643
  export type ListSandboxSnapshotsError = BadRequest | Forbidden | NotFound | RenderOpError;
6079
- /** List sandbox snapshots Snapshots in a sandbox group, newest first. Expired and deleted snapshots are omitted. 400 with `code: invalid_sandbox_group_id` if `sandboxGroupId` is not a well-formed `sbg-` ID, `code: invalid_owner_id` if `ownerId` is missing or repeated, `code: invalid_status` for a status outside the snapshot status vocabulary, `code: invalid_cursor` for a malformed or unknown cursor, or `code: invalid_limit` for a limit outside 1 to 100. */
6644
+ /** List sandbox snapshots List snapshots in a sandbox group, newest first. Excludes expired and deleted snapshots. */
6080
6645
  export declare const listSandboxSnapshots: API.OperationMethod<ListSandboxSnapshotsRequest, ListSandboxSnapshotsResponse, ListSandboxSnapshotsError, RenderOpContext>;
6081
6646
  export type ListSecretFilesForBuildSourceError = Forbidden | NotFound | RenderOpError;
6082
6647
  /** List secret files List all secret files for the build source with the provided ID. */
@@ -6147,6 +6712,9 @@ export declare const restartPostgres: API.OperationMethod<RestartPostgresRequest
6147
6712
  export type RestartServiceError = BadRequest | Forbidden | NotFound | RenderOpError;
6148
6713
  /** Restart service Restart the service with the provided ID. Not supported for cron jobs. */
6149
6714
  export declare const restartService: API.OperationMethod<RestartServiceRequest, RestartServiceResponse, RestartServiceError, RenderOpContext>;
6715
+ export type RestoreSandboxGroupCredentialError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
6716
+ /** Restore sandbox credential configuration Restore a retained credential version, including its routing settings, injection settings, and secret value, as a new current version. Requires an admin. The new version has a higher ID, records who restored it and when, and identifies the source in `restoredFromVersionId`. Its fingerprint matches the source version. Render retains the current configuration and the three distinct prior configurations most recently active. Removing an older configuration also removes all versions that refer to it. The response confirms the configuration was saved. It does not confirm that credential injection is active for a particular sandbox. These endpoints do not return secret values. */
6717
+ export declare const restoreSandboxGroupCredential: API.OperationMethod<RestoreSandboxGroupCredentialRequest, Schema23, RestoreSandboxGroupCredentialError, RenderOpContext>;
6150
6718
  export type RestoreSnapshotError = BadRequest | Forbidden | NotFound | RenderOpError;
6151
6719
  /** Restore snapshot Restore a persistent disk to an available snapshot. **This operation is irreversible.** It will overwrite the current disk data. It might also trigger a service deploy. Snapshot keys returned from the [List snapshots](https://api-docs.render.com/reference/list-snapshots) endpoint expire after 24 hours. If a snapshot key has expired, query the endpoint again for a new key. */
6152
6720
  export declare const restoreSnapshot: API.OperationMethod<RestoreSnapshotRequest, Schema2, RestoreSnapshotError, RenderOpContext>;
@@ -6165,6 +6733,9 @@ export declare const runCronJob: API.OperationMethod<RunCronJobRequest, CronJobR
6165
6733
  export type ScaleServiceError = BadRequest | Forbidden | NotFound | RenderOpError;
6166
6734
  /** Scale instance count [Scale](https://render.com/docs/scaling#manual-scaling) the service with the provided ID to a fixed number of instances. Render ignores this value as long as autoscaling is enabled for the service. */
6167
6735
  export declare const scaleService: API.OperationMethod<ScaleServiceRequest, ScaleServiceResponse, ScaleServiceError, RenderOpContext>;
6736
+ export type SignalDeliverFlowRunError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
6737
+ /** Deliver flow run signal Deliver a signal to an active flow run on the provided channel. The flow receives the signal's payload when it waits on that channel. Returns 404 if the flow run doesn't exist, and 409 if it has already finished. */
6738
+ export declare const signalDeliverFlowRun: API.OperationMethod<SignalDeliverFlowRunRequest, SignalDeliverFlowRunResponse, SignalDeliverFlowRunError, RenderOpContext>;
6168
6739
  export type StartFlowRunError = BadRequest | Forbidden | NotFound | RenderOpError;
6169
6740
  /** Start flow run Starts a run of the workflow flow with the provided slug, passing the provided input data. */
6170
6741
  export declare const startFlowRun: API.OperationMethod<StartFlowRunRequest, StartFlowRunResponse, StartFlowRunError, RenderOpContext>;
@@ -6180,14 +6751,17 @@ export declare const suspendKeyValue: API.OperationMethod<SuspendKeyValueRequest
6180
6751
  export type SuspendPostgresError = BadRequest | Forbidden | NotFound | RenderOpError;
6181
6752
  /** Suspend Postgres instance Suspend a Postgres instance by ID. */
6182
6753
  export declare const suspendPostgres: API.OperationMethod<SuspendPostgresRequest, SuspendPostgresResponse, SuspendPostgresError, RenderOpContext>;
6754
+ export type SuspendSandboxError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
6755
+ /** Suspend sandbox Suspend the running sandbox with the provided ID. Returns HTTP 202 after the sandbox starts suspending, or if it is already `suspending` or `suspended`. Retrieve the sandbox until its status is `suspended`. Open commands and connections end. The next connection resumes the sandbox. */
6756
+ export declare const suspendSandbox: API.OperationMethod<SuspendSandboxRequest, SuspendSandboxResponse, SuspendSandboxError, RenderOpContext>;
6183
6757
  export type SuspendServiceError = BadRequest | Forbidden | NotFound | RenderOpError;
6184
6758
  /** Suspend service Suspend the service with the provided ID. */
6185
6759
  export declare const suspendService: API.OperationMethod<SuspendServiceRequest, SuspendServiceResponse, SuspendServiceError, RenderOpContext>;
6186
6760
  export type TerminateSandboxError = Forbidden | NotFound | RenderOpError;
6187
- /** Terminate sandbox Terminate the sandbox with the provided ID. Idempotent: returns 204 from any state, including `terminated`. Terminating a `creating` sandbox cancels boot/setup immediately. */
6761
+ /** Terminate sandbox Terminate the sandbox with the provided ID. Returns HTTP 204 even if the sandbox is already terminated. You can also terminate a sandbox while it is starting (`creating`). */
6188
6762
  export declare const terminateSandbox: API.OperationMethod<TerminateSandboxRequest, TerminateSandboxResponse, TerminateSandboxError, RenderOpContext>;
6189
6763
  export type TriggerBuildSourceBuildError = BadRequest | Forbidden | NotFound | RenderOpError;
6190
- /** Trigger a build Start a new build of the build source at the current HEAD of its branch, even if an up-to-date build already exists. Services linked to the build source with autodeploy enabled are deployed with the result. Updating a build source or its build-time environment (env vars, secret files, env groups) with the REST API does not build it. Call this endpoint after those changes to build them. Only `git` build sources can be built. */
6764
+ /** Trigger a build Start a new build of the build source at the current HEAD of its branch, even if an up-to-date build already exists. By default, all services linked to the build source with autodeploy enabled will be deployed. Use `deploy.serviceScope` to override this and choose specific linked services. Updating a build source or its build-time environment (env vars, secret files, env groups) with the REST API does not build it. Call this endpoint after those changes to build them. Only `git` build sources can be built. */
6191
6765
  export declare const triggerBuildSourceBuild: API.OperationMethod<TriggerBuildSourceBuildRequest, TriggerBuildSourceBuildResponse, TriggerBuildSourceBuildError, RenderOpContext>;
6192
6766
  export type TriggerMaintenanceError = BadRequest | NotFound | RenderOpError;
6193
6767
  /** Trigger maintenance run Trigger the scheduled maintenance run with the provided ID. Triggering maintenance is asynchronous. To check whether maintenance has started, use the [Retrieve maintenance run](https://api-docs.render.com/reference/retrieve-maintenance) endpoint. As maintenance progresses, the run's `state` will change from `scheduled` to other values, such as `in_progress` and `succeeded`. */
@@ -6259,8 +6833,11 @@ export type UpdateResourceLogStreamError = BadRequest | Forbidden | NotFound | R
6259
6833
  /** Update log stream override Updates log stream override information for the specified resource. A log stream override takes precedence over a workspace's default log stream. */
6260
6834
  export declare const updateResourceLogStream: API.OperationMethod<UpdateResourceLogStreamRequest, UpdateResourceLogStreamResponse, UpdateResourceLogStreamError, RenderOpContext>;
6261
6835
  export type UpdateSandboxGroupError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
6262
- /** Update sandbox group Update a sandbox group's concurrency limit. Returns 400 for a malformed ID (`invalid_sandbox_group_id`), missing `concurrencyLimit`, or a value below 1. The response returns the effective limit after applying Render's cap. */
6263
- export declare const updateSandboxGroup: API.OperationMethod<UpdateSandboxGroupRequest, Schema22, UpdateSandboxGroupError, RenderOpContext>;
6836
+ /** Update sandbox group Update a sandbox group's concurrency limit. The response contains the effective limit after applying Render's limit for the workspace. */
6837
+ export declare const updateSandboxGroup: API.OperationMethod<UpdateSandboxGroupRequest, Schema21, UpdateSandboxGroupError, RenderOpContext>;
6838
+ export type UpdateSandboxGroupCredentialError = BadRequest | Forbidden | NotFound | Conflict | RenderOpError;
6839
+ /** Update sandbox group credential Update a credential. Developers can change `injection`, `methods`, `paths`, and `enabled`. Changing `domain` or `value` requires an admin. Omitted top-level fields keep their current values. Providing `injection` replaces the entire object. Its `template` defaults to `${SECRET}` when omitted. An empty `methods` or `paths` list removes that filter. Providing `value` creates a new version. The combined serialized size of current credential settings and secret values in the group must remain within 200 KiB (204800 bytes). The response confirms the configuration was saved. It does not confirm that credential injection is active for a particular sandbox. */
6840
+ export declare const updateSandboxGroupCredential: API.OperationMethod<UpdateSandboxGroupCredentialRequest, Schema23, UpdateSandboxGroupCredentialError, RenderOpContext>;
6264
6841
  export type UpdateSecretFilesForBuildSourceError = BadRequest | Forbidden | NotFound | RenderOpError;
6265
6842
  /** Update secret files Replace all secret files for a build source with the provided list of secret files. **Any of the build source's existing secret files not included in this request will be deleted.** This only applies to secret files set directly on the build source, not to secret files in a linked environment group. */
6266
6843
  export declare const updateSecretFilesForBuildSource: API.OperationMethod<UpdateSecretFilesForBuildSourceRequest, UpdateSecretFilesForBuildSourceResponse, UpdateSecretFilesForBuildSourceError, RenderOpContext>;